summaryrefslogtreecommitdiff
path: root/src/emap/script.h
AgeCommit message (Collapse)AuthorFilesLines
2017-08-09Add support for different use actions for items.s20170810Andrei Karas1-0/+3
2016-06-21Add constant MAX_SLOTS into script constants.Andrei Karas1-0/+1
2016-05-02Update function hook prototypes for support new hercules.Andrei Karas1-9/+27
2016-03-30Split script.c into buildins and other script functions.Andrei Karas1-66/+0
2016-03-14Add ClientVersion constant parameter into code.release2016-03-15Andrei Karas1-0/+1
2016-03-14Disable completly buildin hercules translation support.Andrei Karas1-0/+1
2016-03-14Fix npc assertions on maps with always visible npcs after reload scripts.Andrei Karas1-0/+1
Clean npc info stored in plugin data if scripts was reloaded.
2016-02-22Copy setlook script command into plugin. Add support for send changed slot.Andrei Karas1-0/+1
2016-01-30Remove script command countitemcolor. Now it same with countitem.Andrei Karas1-1/+0
2016-01-24Add script function for get return code from craft entry.Andrei Karas1-0/+1
New script function: getcraftcode ENTRY
2016-01-24Add script command for use craft.Andrei Karas1-0/+1
New script command: usecraft CRAFT Where CRAFT - craft id created by initcraft.
2016-01-23Add script function for find craft entry from db based on craft variable.Andrei Karas1-0/+1
New script command: findcraftentry CRAFTVAR, FLAG Where: CRAFTVAR - variable get from initcraft function. FLAG - flag related to npc. It allow search craft entries only with this flag.
2016-01-17Add script command for show emotes.Andrei Karas1-0/+1
Copy from hercules with removing emote id check. Script command: emotion e[, flag, name]
2016-01-16Add script command for show link to item with cards by inventory index.Andrei Karas1-0/+1
New script command: getinvindexlink n
2016-01-12Add script command for validate craft object after some time it was created.Andrei Karas1-0/+1
New script command: validatecraft id
2016-01-12Add script command for get item amount from one craft slot.Andrei Karas1-0/+1
New script command: getcraftslotamount id, slot
2016-01-12Add script command for get item id from one craft slot.Andrei Karas1-0/+1
New script command: getcraftslotid id, slot
2016-01-12Add script command for delete craftobject.Andrei Karas1-0/+1
New script command: deletecraft id
2016-01-11Add script command for dump craft object to server console.Andrei Karas1-0/+1
New script command: dumpcraft id
2016-01-11Add script command for convert craft string into craft object.Andrei Karas1-0/+1
New script command: initcraft var$ Return value: craft object id.
2016-01-08Add script command for request craft inventory.Andrei Karas1-0/+1
New script command: requestcraft VAR$[, size] Example: @requestcraft .@var$, 9;
2015-10-26Add script command setskin. For set npc dialog skin on client.Andrei Karas1-0/+1
2015-10-17Add support for insert cards script.Andrei Karas1-0/+1
2015-10-16Add script function delcells for delete cells/wall.Andrei Karas1-0/+1
2015-10-16Add script function and packet to set group of cells to given mask (gat value)Andrei Karas1-0/+1
New script function: setcells "map name", x1, y1, x2, y2, mask, "wall name"
2015-10-13Add support for take (pickup) script for items taked from ground by player.Andrei Karas1-0/+1
2015-10-01Rename some functions in same way like it named in server.Andrei Karas1-4/+4
2015-09-29Add script command checknpccell. It works same like checkcell, but for ↵Andrei Karas1-0/+1
current npc.
2015-09-28Add chatjoin script command for join chat room.Andrei Karas1-0/+1
Format: chatjoin chat [,user [,password]]
2015-09-28Update copyright year.Andrei Karas1-1/+1
2015-09-28Add support for team id for battleground players.Andrei Karas1-0/+1
New script function: setbgteam bgid, num It set for 'bgid' team id to 'num'.
2015-09-27Hook set/get npc string variables.Andrei Karas1-0/+2
2015-09-27Add .lang variable to npc for storing language.Andrei Karas1-0/+3
Also add hooks to set/get vars.
2015-09-25Add script commands npcsit and npcstand.Andrei Karas1-0/+3
New script commands: npcsit [npcid]; npcstand [npcid];
2015-09-18Add script function for check is parameter string or not.Andrei Karas1-0/+1
New script function: isstr Example: isstr(10) - will return 0 isstr("test") - will return 1
2015-08-22Add script command successrefindex for success item refine by index.Andrei Karas1-0/+1
New script command: successrefindex index, num; index - inventory index num - how many levels to up. Example: successrefindex .@index, 3;
2015-08-22Add script function downrefindex for downgrade refine level.Andrei Karas1-0/+1
New script function: downrefindex index, number index - inventory index number - number of levels to downgrade. Example: downrefindex .@index, 1;
2015-08-21Add script function failedrefindex and some macro.Andrei Karas1-0/+1
New function: failedrefindex index index - inventory item index Example: failedrefindex .@itemid;
2015-08-21Add script functions requestItemIndex and requestItemsIndex.Andrei Karas1-0/+2
This functions request from player inventory indexes for items. Example: requestItemIndex @item; requestItemsIndex @item$, num;
2015-07-04Rename login/char/map dirs to elogin/echar/emap for avoid conflicts with ↵Andrei Karas1-0/+46
hercules.