summaryrefslogtreecommitdiff
path: root/src/map/script.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-09Travis Report Fixesshennetsind1-4/+4
warn_unused_result shielding, dropped unused variables and fixed battle_calc_return_damage delay behavior (pointer was unchaged; resulting in the var afterwards always as 0) Special Thanks to Xgear. Signed-off-by: shennetsind <ind@henn.et>
2013-07-09Fixed missing map id boundary checkingshennetsind1-24/+62
Signed-off-by: shennetsind <ind@henn.et>
2013-07-08Fixed Bug #7485shennetsind1-13/+13
Special Thanks to Igniz http://hercules.ws/board/tracker/issue-7485-crash-on-reloadscript/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-05HCache | Item Packages Updateshennetsind1-2/+4
http://hercules.ws/board/topic/1389-hcache-item-packages-update/ Signed-off-by: shennetsind <ind@henn.et>
2013-07-04Implemented sitting set of script commands: sit(), stand(), issit() as per ↵Matheus Macabu1-0/+59
suggested in topic #1204. See documentation for more information on these commands. Also fixed leftover from db_use_sql split. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-07-04- Added interface iStatus (needed to renamed it because A LOT of variables ↵Susu1-32/+32
are already called 'status')
2013-07-01Fixed Bug #7216shennetsind1-0/+2
Special Thanks to Shikazu, wouldn't have been able to identify this issue without his help! http://hercules.ws/board/index.php?app=tracker&showissue=7216 Signed-off-by: shennetsind <ind@henn.et>
2013-06-30Fixed script timer problemshennetsind1-20/+40
Special Thanks to Igniz for bringing it to my attention, ALSO: over 10% script parsing speed boost!<3. Signed-off-by: shennetsind <ind@henn.et>
2013-06-28BG Queue Testingshennetsind1-8/+101
http://hercules.ws/board/topic/1302-bg-queue-debug/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-28Fixed Bug #7448shennetsind1-7/+13
Queue Iterators now keep a copy of the queue they'll iterate, so the iterator won't break items are removed or added during iteration. Special Thanks to Wend~! http://hercules.ws/board/tracker/issue-7448-queue-memory-leak/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-27Fixed Bug #7439shennetsind1-3/+4
Special Thanks to Wend. http://hercules.ws/board/tracker/issue-7439-queue-system-error/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-27Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-2/+6
2013-06-27Fixed Bug #7444shennetsind1-1/+0
Special Thanks to shenhuyong, Haruna. http://hercules.ws/board/tracker/issue-7444-partymembercount-gone-missing-when-reloaditemdb-is-executed/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-27Merge pull request #48 from CairoLee/mastershennetsind1-1/+5
Implemented notomb Mapflag
2013-06-25- Added chrif interfaceSusu1-1/+1
2013-06-25Implemented notomb MapflagCairoLee1-1/+5
2013-06-24Fixed Bug #7412shennetsind1-9/+15
Special Thanks to shenhuyong http://hercules.ws/board/tracker/issue-7412-create-instancereloadscript-causes-map-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-23Fixed Bug #7420shennetsind1-22/+25
http://hercules.ws/board/tracker/issue-7420-killing-the-npc/ Special Thanks to kyeme, frost, ossi0110 Signed-off-by: shennetsind <ind@henn.et>
2013-06-23Official Item Group/Package/Chainshennetsind1-92/+168
http://hercules.ws/board/topic/1244-official-item-grouppackagechain/ Also Further implemented itemdb.c/storage.c interfaces, and a minor update to db2sql plugin. Signed-off-by: shennetsind <ind@henn.et>
2013-06-20Hercules Renewal Phase One: storage.cshennetsind1-6/+4
2 new interfaces: - storage - gstorage http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-17Fixed Bug#7380malufett1-0/+1
-showprogressbar should now work as official.(Thanks Kyeme & Ryuuzaki) Fixed insane damage of Hatred Skills. (http://hercules.ws/board/topic/1110-renewal-attack/ - Thanks Axiom)
2013-06-16Fixed Bug#7381 & #7379malufett1-2/+3
-Reins_of_Mount should now ignore delay(when fail) and sitting condition.
2013-06-15Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+4
2013-06-15Fixed Bug #7367shennetsind1-91/+89
http://hercules.ws/board/tracker/issue-7367-error-vdb-destroy-during-shutting-down-of-server/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-15Forgot to change something.Matheus Macabu1-1/+1
Also added mail interface for HPM. Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-15- HPM: Added trade interface;Matheus Macabu1-0/+3
- Moved PARTY_RECRUIT definition to mmo.h to avoid segfault; - Check if item is already at maximum refine; - Fixed that @reloadscript with one npc bug (thanks to akinari). Signed-off-by: Matheus Macabu <mkbu95@gmail.com>
2013-06-14Fixed Bug #7365shennetsind1-1/+1
Special Thanks to Axiom http://hercules.ws/board/tracker/issue-7365-scriptc-error/ Also fixed packetKeys order for 2013-06-12 Signed-off-by: shennetsind <ind@henn.et>
2013-06-14Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-3/+3
2013-06-14Updating .sql item db filesshennetsind1-1/+5
Also Introducing the official DB2SQL plugin to quickly update the .sql db files. http://hercules.ws/board/topic/1105-hercules-wpe-free-june-14th-patch Signed-off-by: shennetsind <ind@henn.et>
2013-06-14Fixed Bug#7362, Bug#7363 & Bug#7355malufett1-3/+3
Fixed compilation error and server console error.
2013-06-13Script.c Interface : detach ridshennetsind1-4/+3
Special Thanks to Shizaku for pointing it out! Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Memory Slasher [2] !!" - 17MB Down!shennetsind1-176/+166
Hercules is now even slimmer. Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Performance Update: Script Parsershennetsind1-40/+34
Now 7% faster, at the expense of (at most 11kb) Signed-off-by: shennetsind <ind@henn.et>
2013-06-13Hercules Renewal Phase : Renewalmalufett1-2/+2
Rename SC names to eagis standard. Implement SC Configuration.(see db/sc_config.txt) Skill updates and fixes. Some code optimization. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2013-06-10Fixed a missing 'i' in getequipcardcntshennetsind1-4/+4
When did this go away, no idea. Special Thanks to kyeme~! Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Fixed some spacings, typos, and sentencesMysteries1-12/+12
Thanks rAthena!
2013-06-08Fixed getequipcardid nameshennetsind1-2/+2
Signed-off-by: shennetsind <ind@henn.et>
2013-06-08HPM: Update script.cshennetsind1-221/+204
Further implemented the interface Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-1/+1
Adjusting db.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-8/+8
Adjusting party.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-08Follow up d73783f22b2bb881aab74524d153d89a5932a199shennetsind1-171/+171
Adjusting pc.c interface name to adhere with the rest (pretty much we try to make it as short as we can, and being there were no conflicts we saw no reason to maintain the 'i') Signed-off-by: shennetsind <ind@henn.et>
2013-06-07Hercules Renewal Phase One : pc, party, map, timerSusu1-433/+433
Added iPc, iParty, iMap, iTimer to HPM exported interfaces
2013-06-06Fixed Bug #7328shennetsind1-21/+11
Special Thanks to Joseph / j-tkay ! http://hercules.ws/board/tracker/issue-7328-close-and-end/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-06Fixed Bug #7329shennetsind1-1/+1
Special Thanks to Angelmelody, Xgear~! http://hercules.ws/board/tracker/issue-7329-server-crash-when-running-getmapxy/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-02Follow up 86e9900db60e06738880a57820125ca169c37520shennetsind1-0/+1
Forgot about the Interface. Signed-off-by: shennetsind <ind@henn.et>
2013-06-01Fixed Bug #7312shennetsind1-6/+5
http://hercules.ws/board/tracker/issue-7312-bug-instance/ Signed-off-by: shennetsind <ind@henn.et>
2013-06-01Fixed script_rid2sd not being available to HPMshennetsind1-4/+3
Special Thanks to Shikazu Signed-off-by: shennetsind <ind@henn.et>
2013-05-30Merge pull request #34 from CairoLee/mastershennetsind1-0/+26
Merge checkhomcall Script Command from rAthena
2013-05-30Merge pull request #30 from Zopokx/mastershennetsind1-1/+1
Fixed some scripts
2013-05-31Fixed Bug #7291shennetsind1-1/+3
Special Thanks to Haru! http://hercules.ws/board/tracker/issue-7291-segmentation-fault-in-run-script-main-on-mapserver-startup/ Signed-off-by: shennetsind <ind@henn.et>