summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15Merge pull request #857 from HerculesWS/scriptqueueAndrei Karas14-414/+557
Scriptqueue
2015-11-14Fix npc initialisation in first map (m == 0).Andrei Karas1-1/+1
2015-11-14Changed struct map_session_data::queues into a VECTOR and renamed to ↵Haru5-29/+20
::script_queues Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Changed struct script_queue_iterator::item into a VECTOR and Renamed to ↵Haru2-19/+23
::entries Signed-off-by: Haru <haru@dotalux.com>
2015-11-14HPM Hooks UpdateHaru1-8/+9
2015-11-14Changed struct script_queue::item into a VECTOR and Renamed to ::entriesHaru4-157/+127
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Standardized script-queue related commandsHaru5-44/+53
- The commands queueadd, queueremove, queueopt, queuedel and qiclear now all return true (success) or false (failure). - Taken/extended from AnnieRuru's PR #847. - The constants HQO_OnDeath, HQO_OnLogOut, HQO_OnMapChange were renamed to QUEUEOPT_DEATH, QUEUEOPT_LOGOUT, QUEUEOPT_MAPCHANGE respectively. - The name of the variable @QMapChangeTo$ used during the QUEUEOPT_MAPCHANGE event has been renamed to @Queue_Destination_Map$. Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Fix @QMapChangeTo$ not usable when HQO_OnMapChange triggeredAnnieRuru2-1/+4
- also add documentation for it
2015-11-14Refactored the script queue systemHaru1-185/+333
- Corrected return value in bool functions (true always means success, false means failure, some were inverted). The script command return values are left unchanged for backwards compatibility. - Added some missing script_pushint to commands that are expected to return a value (on failure). - Cleaned up and optimized various functions. Signed-off-by: Haru <haru@dotalux.com>
2015-11-14HPM Hooks UpdateHaru2-6/+6
2015-11-14Renamed hQueue/hQueueIterator/hQueueOpt to latest standardsHaru6-59/+66
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Changed script->hq and script->hqi into VECTOR typeHaru2-94/+87
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Fixed some direct accesses to script->hq[] from other modules.Haru2-14/+16
- script->hq[] should only be accessed through the provided interface, script->queue(). Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Fixed include path in the doxygen configurationHaru1-1/+2
Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Corrected an issue causing queue iterators not to return their last valueHaru2-11/+25
- Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8, a9042bf0bee2d2453058b22973bea8f335c5a201 - Thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Merge pull request #856 from 4144/fixhitHaruna3-4/+13
fix hit after warp.
2015-11-14Add option for fix hit after warp.Andrei Karas3-4/+13
Introduced new configuration option: fix_warp_hit_delay_abuse. Official way is to set this option to false.
2015-11-14HPM Hooks UpdateHercules.ws3-6/+228
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-14Merge pull request #820 from HerculesWS/instancewarningAndrei Karas3-264/+314
Fix a warning when loading instance duplicates (#812)
2015-11-12Split npc_duplicate_sub into separate functions based on subtypesHaru2-48/+85
- For plugin overriding purposes. Thanks to Andrei Karas for the idea. Signed-off-by: Haru <haru@dotalux.com>
2015-11-12Split frequently repeated code to add/register new NPCs to its own functionHaru2-58/+35
Signed-off-by: Haru <haru@dotalux.com>
2015-11-12Added subtype initializer to npc_create_npcHaru3-19/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-11-12Moved class and dir initializers to npc_create_npcHaru3-57/+39
Signed-off-by: Haru <haru@dotalux.com>
2015-11-12Split the duplication logic away from the parsing logic in NPC duplicatesHaru2-136/+155
- Fixes #812 (warning message while creating instances) Signed-off-by: Haru <haru@dotalux.com>
2015-11-11Split the source path reference retain mechanism out of npc_parsename.Haru2-38/+72
Signed-off-by: Haru <haru@dotalux.com>
2015-11-11Fixed Issue #860Emistry1-1/+1
Fixed invalid zeny deduction.
2015-11-08Fixes missing new RC_ constants in some bonuses. Fixes #815Dastgir1-25/+102
2015-11-08Merge branch 'master' of https://github.com/HerculesWS/HerculesDastgir1-60/+60
2015-11-08Fixes Chance of Comodo Gambling (Thanks to @michaelforge for pointing itDastgir1-2/+2
out)
2015-11-08ItemDB SQL SyncHercules.ws1-60/+60
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-11-08Updated items trade restrictionDastgir1-232/+39
2015-10-28Merge pull request #832 from 4144/fix831Haruna1-0/+1
Fix memory leak in quest sending packet (closes #831)
2015-10-28Fix memory leak in quest sending packet (closes #831)Andrei Karas1-0/+1
2015-10-27Replaced parameter type with constant.Emistry27-182/+218
constant for gettime( <type> ) constant for Weekday and Month.
2015-10-27ItemDB SQL SyncHercules.ws1-3/+3
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-27Missing Teleport Skill in RMSC2012 Headgears.Emistry1-0/+3
http://www.divine-pride.net/database/item?Name=RMSC2012&function=&find=Search
2015-10-26Merge branch 'master' of https://github.com/HerculesWS/HerculesDastgir6-9/+129
2015-10-26Force Serial DocumentationDastgir1-0/+5
2015-10-26ItemDB SQL SyncHercules.ws1-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-26Merge pull request #824 from Jedzkie/masterDastgir4-5/+125
- Update the Status Icons of Items.
2015-10-26- Update the Status Icons based in kRO Update 10-21-2015.Jedzkie4-5/+125
- Update 2 new costume items: • Ljosalfar (ID# 20099) • Mermaid Bubbles (ID# 20209) Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
2015-10-26ItemDB SQL SyncHercules.ws2-2/+2
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-26Fixes Constant Name in item_db(#821)Dastgir2-2/+2
2015-10-26Fixed OldGlastHeim instance not showing any npcDastgir1-5/+6
2015-10-26Merge branch 'master' of https://github.com/HerculesWS/HerculesDastgir13-263/+417
2015-10-26Updated script documentationDastgir1-0/+15
2015-10-25Merge pull request #516 from milky-milk/pre-re_defenderHaruna1-0/+5
Fixed defending aura bug in pre-renewal
2015-10-24Updated libconfig to GNU Bison 2.5Haru3-224/+264
Signed-off-by: Haru <haru@dotalux.com>
2015-10-24Merge pull request #811 from ossi0110/masterHaruna6-29/+100
Fixed Quest Log Packet for 2014-10-22 + Clients
2015-10-24Merge pull request #813 from 4144/instancefixHaruna1-2/+2
Fix crash in instance.c