summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-11-17Revert "Item DB Updates:"Haru3-802/+715
This reverts commit 912578159c8ccca9545e3c7dce9f7ce2b92bee2e. This will be re-committed in a more atomic form.
2015-11-17Item DB Updates:Jedzkie3-715/+802
- Update Geffen Scrolls to its official behavior and effect. - Added Official item effect of Mental Potion. - Fixed Chinese Pestel item effect. - Fixed Vitata500 not giving 5% sp. - Added 'Costume: Time Accessory'.
2015-11-16Update new NPC ID's.Jedzkie1-1/+1
Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
2015-11-15Merge pull request #857 from HerculesWS/scriptqueueAndrei Karas10-391/+520
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 commandsHaru2-21/+22
- 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 triggeredAnnieRuru1-1/+1
- 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-14Corrected an issue causing queue iterators not to return their last valueHaru1-9/+21
- Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8, a9042bf0bee2d2453058b22973bea8f335c5a201 - Thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
2015-11-14Add option for fix hit after warp.Andrei Karas2-4/+10
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-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-08Fixes missing new RC_ constants in some bonuses. Fixes #815Dastgir1-25/+102
2015-10-28Fix memory leak in quest sending packet (closes #831)Andrei Karas1-0/+1
2015-10-26- Update the Status Icons based in kRO Update 10-21-2015.Jedzkie2-5/+118
- Update 2 new costume items: • Ljosalfar (ID# 20099) • Mermaid Bubbles (ID# 20209) Signed-off-by: Jedzkie <jedzkie13@rocketmail.com>
2015-10-25Merge pull request #516 from milky-milk/pre-re_defenderHaruna1-0/+5
Fixed defending aura bug in pre-renewal
2015-10-24Merge pull request #811 from ossi0110/masterHaruna4-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
2015-10-24Fix crash in instance.cAndrei Karas1-2/+2
2015-10-24Merge pull request #751 from dastgir/script_docDastgir1-1/+1
Updated script_commands.txt
2015-10-22HPM Hooks UpdateHercules.ws3-96/+0
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2015-10-22Updated db2sql pluginHaru1-8/+3
Signed-off-by: Haru <haru@dotalux.com>
2015-10-22Removed support for the deprecated SQL item, mob, mob_skill databases.Haru9-316/+13
Follow-up to 84e02ac28fbb15c58d0a0f8a916b49663198b05b Signed-off-by: Haru <haru@dotalux.com>
2015-10-21Fixed Typos (+1 squashed commits)ossi01104-29/+100
Squashed commits: [18d0374] Fixed Quest Log Packet for 2014-10-22 + Clients Added log Folder to be able to capture Map Server Logs see map-server.conf for it Added save folder to be able to dump unknown packets
2015-10-21Merge remote-tracking branch 'upstream/master'Er_Maqui76-445/+1000
2015-10-21Fixed a console command parse issueHaru1-16/+9
Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Corrected a compilation issue in plugins that use the memmgr interfaceHaru1-3/+3
Follow-up to 54d1c8b93adbeee5838b8dadabeb789b9fa6c511 Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Update HPM hooks.Andrei Karas3-15/+15
2015-10-20Fixed an issue preventing the mob_db2 from being loadedHaru2-9/+6
Follow-up to 3feef93 (thanks to kyeme) Signed-off-by: Haru <haru@dotalux.com>
2015-10-19Update HPM hooks.Andrei Karas3-63/+251
2015-10-19Add support for mob_db in conf format.Andrei Karas2-242/+548
2015-10-19Fix reallocating memory without memory manager.Andrei Karas1-1/+49
2015-10-19rename malloc.c/h to memmgr.Andrei Karas70-73/+73
2015-10-17Fixed an error in the refine_db loaderHaru1-33/+52
- Fixes #800, special thanks to kyeme. - Also replaced some hardcoded numbers with constants. Signed-off-by: Haru <haru@dotalux.com>
2015-10-17Fix crash while removing invisible wall.Andrei Karas1-1/+1
2015-10-13Return actual result from pc_insert_card.Andrei Karas1-1/+5
2015-10-13- Fixed message ID to a lower value.Er_Maqui1-1/+1