summaryrefslogtreecommitdiff
path: root/src/emap/script.c
AgeCommit message (Collapse)AuthorFilesLines
2016-07-01Add files for skill constants and ground skills handlers.Andrei Karas1-0/+2
For now add one ground skill EVOL_MASSPROVOKE.
2016-06-21Add constant MAX_SLOTS into script constants.Andrei Karas1-0/+7
2016-06-19Add .srcId npc variable for get src_id field of npc.Andrei Karas1-0/+12
2016-06-18Use ext name in npc change dir handler.Andrei Karas1-1/+1
2016-05-02Update function hook prototypes for support new hercules.Andrei Karas1-17/+42
2016-05-02Add into all files where need #include "plugins/HPMHooking.h"Andrei Karas1-0/+2
2016-04-28Fix different warnings.Andrei Karas1-6/+14
2016-03-30Split script.c into buildins and other script functions.Andrei Karas1-1644/+0
2016-03-14Add ClientVersion constant parameter into code.release2016-03-15Andrei Karas1-0/+7
2016-03-14Disable completly buildin hercules translation support.Andrei Karas1-0/+34
2016-03-14Fix npc assertions on maps with always visible npcs after reload scripts.Andrei Karas1-0/+6
Clean npc info stored in plugin data if scripts was reloaded.
2016-02-26Remove useless casts after server update.Andrei Karas1-2/+2
2016-02-22Copy setlook script command into plugin. Add support for send changed slot.Andrei Karas1-0/+14
2016-02-22Fix wrong check in copy/pasted script function from hercules.Andrei Karas1-1/+1
2016-02-21Fix compilation warnings.Andrei Karas1-1/+1
2016-01-30Remove script command countitemcolor. Now it same with countitem.Andrei Karas1-38/+0
2016-01-30Simplify npctalk3 script command.Andrei Karas1-12/+2
2016-01-29Change script function requestitemsindex to return value.Andrei Karas1-26/+5
2016-01-29Change script function requestitemindex to return value.Andrei Karas1-24/+5
2016-01-29Change script function requestitems to return value.Andrei Karas1-26/+5
2016-01-28Change script function requestitem to return value.Andrei Karas1-23/+4
2016-01-28Change script function requestlang to return value.Andrei Karas1-23/+2
2016-01-24Add support for cards in script funciton getitemlink.Andrei Karas1-12/+44
Example: getitemlink(1301, 5002)
2016-01-24Add script function for get return code from craft entry.Andrei Karas1-1/+8
New script function: getcraftcode ENTRY
2016-01-24Add script command for use craft.Andrei Karas1-0/+6
New script command: usecraft CRAFT Where CRAFT - craft id created by initcraft.
2016-01-24Dont search name in scripts for items with id 0.Andrei Karas1-2/+5
2016-01-23Add script function for find craft entry from db based on craft variable.Andrei Karas1-1/+11
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-23Remove var name parameter from requestCraft. Now it return string.Andrei Karas1-24/+4
2016-01-17Add script command for show emotes.Andrei Karas1-0/+37
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-4/+75
New script command: getinvindexlink n
2016-01-12Add script command for validate craft object after some time it was created.Andrei Karas1-0/+8
New script command: validatecraft id
2016-01-12Add script command for get item amount from one craft slot.Andrei Karas1-0/+34
New script command: getcraftslotamount id, slot
2016-01-12Add script command for get item id from one craft slot.Andrei Karas1-0/+23
New script command: getcraftslotid id, slot
2016-01-12Add script command for delete craftobject.Andrei Karas1-0/+8
New script command: deletecraft id
2016-01-11Add script command for dump craft object to server console.Andrei Karas1-0/+8
New script command: dumpcraft id
2016-01-11Add script command for convert craft string into craft object.Andrei Karas1-0/+10
New script command: initcraft var$ Return value: craft object id.
2016-01-08Add script command for request craft inventory.Andrei Karas1-0/+64
New script command: requestcraft VAR$[, size] Example: @requestcraft .@var$, 9;
2016-01-06Replace some map->id2bl to map->id2nd.Andrei Karas1-6/+6
2015-11-05Add pseudo npc varibale .alwaysVisible for show npc from any range on map.Andrei Karas1-0/+16
2015-10-26Add script command setskin. For set npc dialog skin on client.Andrei Karas1-0/+12
2015-10-25Add layer field into wall. For now it used 0 from scripts.Andrei Karas1-1/+1
2015-10-19Add fixed bonuses for new mounts.Andrei Karas1-0/+1
2015-10-19Add extended mount support.Andrei Karas1-83/+11
2015-10-18Rename malloc.h to memmgr.h in includes.Andrei Karas1-1/+1
2015-10-17Add support for insert cards script.Andrei Karas1-0/+14
2015-10-16Add script function delcells for delete cells/wall.Andrei Karas1-0/+7
2015-10-16Add script function and packet to set group of cells to given mask (gat value)Andrei Karas1-0/+21
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/+14
2015-10-05Allow set get special npc variables from getnpcvariable function.Andrei Karas1-32/+62
2015-10-03Add variable '.walkmask' for get/set npc walk mask.Andrei Karas1-1/+12