summaryrefslogtreecommitdiff
path: root/src/emap/script_buildins.c
AgeCommit message (Collapse)AuthorFilesLines
2020-09-26changeplayermusic() script functionJesusaves1-0/+24
required for clientdata!174 Tested in Moubootaur Legends
2020-09-02Accept optional param - NPC NAME - on npcwalkto() script functionJesusaves1-1/+13
2020-08-29getskillname(), function required by magic functionalityJesusaves1-0/+15
Gumi suggested a [skill] in ManaPlus, but it was not done. Besides, these are known to not work on menus, so this is a better idea. Note that the field returned in skill_db is "desc", not "name".
2020-08-14sorry, I don't have clang set up on this machinegumi1-1/+1
2020-08-14fixup for getcraftrecipegumi1-2/+2
2020-08-14add a script command to get craft recipe ingredientsgumi1-12/+77
2020-07-24add a script command to kick players offlinegumi1-0/+34
2020-07-13update the call syntax of some internal functionsgumi1-3/+4
2020-07-13aggravate() will cause target RID to target player.Jesusaves1-0/+73
2020-04-27fix an incompatible assignment in buildin getnpcsubtype()gumi1-2/+2
2020-04-26add buildin getnpcsubtype() to get nd->subtypegumi1-0/+24
2020-01-13New function: readbattleparam( <param> )Jesusaves1-0/+91
Complements with some info only available with getunitdata(), which only works with non-players. Not everything covered by getunitdata() is covered by this function. TEMPORARY COMMIT, should be replaced with getunitdata() when the function is updated upstream to receive player data as well.
2019-10-04Change packet input limit in each input buildin invocationAndrei Karas1-0/+6
2019-06-26Update from herculess20190819Andrei Karas1-2/+9
2019-05-14Fix compilation errors after hercules updateAndrei Karas1-0/+1
2019-04-05Implement sendMapMask() which sends a custom map mask only to a specified user.Jesusaves1-0/+26
Remember to use getmapmask() before!
2019-01-23Update from herculess20190211Andrei Karas1-1/+1
2018-09-25Fix compilation after hercules update.Andrei Karas1-1/+2
2018-09-25Hercules update.Andrei Karas1-0/+7
2018-03-26add missing hashtable iterator buildinss20180406gumi1-0/+39
2018-02-27Add missing return into htexist script function.Andrei Karas1-0/+1
2018-02-27Add script function for check is hash table exists.Andrei Karas1-0/+6
New script function: htexists.
2018-02-15Add script command for check is id belong to existing instance.Andrei Karas1-0/+8
New script command: isinstance id
2018-01-16Fix compilation after hercules update.Andrei Karas1-2/+2
2017-11-07Update from new hercules.s20171129Andrei Karas1-5/+5
Removed npc vd recreation because it already fixed in hercules.
2017-07-25Fix compilation after hercules update.Andrei Karas1-1/+1
2017-07-12Add player self flags packet (0xb25)Andrei Karas1-0/+1
Now it include group id Also change plugin version to 18.
2017-06-27Fix item options in script functions successRemoveCardsIndex and ↵Andrei Karas1-47/+11
failRemoveCardsIndex.
2017-06-05Remove areatimer from buildins.s20170627Andrei Karas1-41/+0
2017-06-05remove isstrgumi1-15/+0
2017-06-05remove misceffectgumi1-30/+0
2017-04-20Remove unused functions.Andrei Karas1-10/+0
2017-04-20Drop support for client protocol version 15 (Oct 26 2015).Andrei Karas1-3/+1
2017-04-20Drop support for client protocol version 10 (Aug 16 2015).Andrei Karas1-6/+2
2017-04-20Drop support for client protocol version 6 (Feb 17 2015).Andrei Karas1-10/+2
2017-04-19Add script functions for manipulate item options.Andrei Karas1-0/+124
New functions: getitemoptionidbyindex getitemoptionvaluebyindex getitemoptionparambyindex setitemoptionbyindex
2016-12-13Fix plugin after server update.Andrei Karas1-3/+3
2016-09-26Add/extend functions for manipulate quest variables and time.Andrei Karas1-2/+70
See evol script docs.
2016-09-05add slide buildingumi1-0/+24
2016-09-04Add script command for close npc dialog only on client without affecting ↵Andrei Karas1-0/+7
server side. New script command: closeclientdialog
2016-09-01Add hack for avoid npc_str buffer size limitation.Andrei Karas1-12/+80
Now for npc_str used global variable. And it cant be used in any functions except input related buildins.
2016-08-17Add function for convert label to int and int to label.Andrei Karas1-0/+12
New functions: getlabel - get label and return int tolabel - get int and return label
2016-07-05Fix getitem* commands for old clients.Andrei Karas1-8/+8
Add force termination command if in getitem* commands wrong data was sent to server.
2016-06-24Fix another i386 warning.Andrei Karas1-1/+1
2016-06-24Fox compilation warning again.Andrei Karas1-1/+1
2016-06-24Fix compilation warning on i386 arch.Andrei Karas1-1/+1
2016-06-22Dont translate item links for old clients.Andrei Karas1-4/+4
Now client can get item id and show translated name without server.
2016-06-21Add script command for remove card in item by inventory and card index.Andrei Karas1-0/+37
New script command: removecardbyindex itemIndex, cardIndex
2016-06-21Add script command for get card from item by inventory index.Andrei Karas1-0/+37
New script command: getcardbyindex itemIndex, cardIndex
2016-06-20add buildin setfakecells (fake client-side collision)mekolat1-0/+30