summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons1-8145/+0
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h
2012-07-22Add option argument to getareausers to exclude the dead.Ben Longbons1-2/+15
2011-10-20Fix scripts with literal integers containing the high bit.v2011.12.25Ben Longbons1-1/+1
2011-09-10Merge commit '2c863c0d99aa3df9ef2eb4ceb112c4d946520f0a'Ben Longbons1-46/+46
2011-09-10Merge commit '723fb5d3431b847526c433a13aa74485cfb564a3'Ben Longbons1-81/+54
2011-09-07Allow calling script functions with no arguments, and improve argument stringsBen Longbons1-68/+67
Only functions that are still in my fork were considered for argument strings. Note, scripts need modification across this change to avoid a nonfatal error message: "illegal number of parameters line %d : %s"
2011-05-01Add script functions for getting a player's x and y locationsChuck Miller1-0/+32
2011-04-03Fix some more compiler warningsBen Longbons1-46/+46
2011-03-24Optimize common objects, and adjust other objects accordingly.Ben Longbons1-76/+49
Major changes still need to be made to each of the servers.
2011-03-16Use makefiles correctly and expand include dirsBen Longbons1-6/+6
2011-03-03Optional - restore Japanese comments where there are already english ↵Ben Longbons1-0/+1
comments, or where the code has changed
2011-03-03Recovery and conversion of Japanese comments that had been lost as "invalid ↵Ben Longbons1-238/+238
UTF-8"
2011-02-27making buildin_getareadropitems last argument optionalStefan Beller1-2/+3
buildin_getareadropitem takes at last argument, if the items should be deleted. This is now optional Reviewed by: Jessica Tölke
2011-02-26Adding an option to scriptfunction getareadropitem.Jessica Tölke1-4/+25
Count items on the floor and optionally delete them. Reviewed by Stefan Beller
2011-01-03adding the *getunactivatedpoolskilllist function to the serverStefan Beller1-9/+42
This function is a simple copy of getskillpoollist. It was extended, so it checks if that skill is activated. If so, it wont be returned. reviewed by: fate
2010-08-29Expand script function "misceffect" and clean up documentationremoitnane1-9/+35
2010-08-08Add script support for retrieving seconds since Unix epochremoitnane1-6/+17
2010-04-11Remove script_rid2sd assignment on an otherwise unused variableFreeyorp1-3/+0
This is unused and gave false alarms about rid not being attached when it didn't need one.
2010-04-11Fix npcwarpFreeyorp1-0/+2
2010-04-04Allow modification of opt2 from scriptsFreeyorp1-239/+282
2010-04-04Add npcwarp script function to allow an NPC to warp to a new position on its ↵No Name1-0/+38
map. This patch models its behavior partly on that of movenpc and the atcommand npcmove.
2010-01-19fixed a few memory leaksHelmut Grohne1-3/+1
2010-01-19fixed a few buffer overrunsHelmut Grohne1-3/+4
strncpy does not always terminate strings. Unterminated strings (without a length) are bad. So better terminate them.
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller1-4857/+5929
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-10-15Merge remote branch 'taw/master'Jared Adams1-1/+1
2009-10-10Better logging, initial job experience gathering, naming fixes to the skill ↵Fate1-2/+2
script commands
2009-09-30Merge branch 'master' of git://gitorious.org/tmw-eathena/mainlineMadCamel1-2/+108
2009-09-26Initial support for skill pools (available via at commands andFate1-4/+3
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
2009-09-20Initial support for skill poolsFate1-0/+107
2009-09-16Found and replaced more calls to rand()MadCamel1-1/+1
2009-07-15Add a function that unequips a particular type of equipment from a playerFreeyorp1-1/+25
2009-07-07Fixes to socket system to make it cope better with fd depletion.Dennis Friis1-6/+6
Also added timeout for fullconnect, secured map server from stateless connections.
2009-06-22Addes the fakenpcname script functionChuck Miller1-1/+29
It pretty much follows the documentation listed below Minus the fact the sprite id is not optional http://www.valholl.ca/ref/eAthenaScriptCommands.html#fakenpcname
2009-06-06Fix 2nd parameter being truly optional on misceffect. Document it too.Dennis Friis1-4/+5
The name parameter can now be omitted safely.
2009-06-06Add support for optional charname target to script function misceffect.Dennis Friis1-2/+10
misceffect int number - shows effect on NPC misceffect int number, string taget - shows effect on named target
2009-05-30Added documentation for several eAthena extensions. Moved OnPCKillEvent ↵Fate1-2/+1
magic label to OnPCKilledEvent, added complementary OnPCKillEvent that is the same, except invoked on a killer RID context.
2009-05-16Added sc_check command to determine whether a given status change is activeFate1-0/+18
2009-05-15builtin_menu: allocate memory for terminator byteFate1-1/+1
2009-05-14Merge branch 'master' of git@gitorious.org:tmw-eathena/mainlineFate1-5/+8
2009-05-13Fixed all compiler warnings and several small bugs in the processMadCamel1-3/+6
2009-05-13menu command: skip all options after (and including) the first option with a ↵Fate1-8/+20
blank line
2009-05-13Cleans up the net code for effectsChuck Miller1-2/+2
Removes the 0x1f3 packet since its the same as 0x19b packet, and our client doesn't handle 0x1f3.
2009-05-12Add a script function to see if the player is deadJared Adams1-2/+15
2009-05-03Changed all times to use UTCMadCamel1-3/+3
2009-04-22Added 'shop' command to trigger a nearby shopMadCamel1-1/+22
2009-03-16Only resume script after divorce if need toJared Adams1-1/+4
2009-03-16Now possible to divorce when partner is offlineMadCamel1-0/+3
2009-03-14Fix some storage-related codeJared Adams1-3/+12
You can't end NPC scripts with openstorage, which will now wait for the user.
2009-03-11FIx a bug dealing with storage and scriptingJared Adams1-0/+1
Also remove some depug printing statements that were accidentally commited
2009-03-08Remove pet and vending systemsJared Adams1-262/+12