summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2015-11-22ItemDB Update:Jedzkie1-1/+1
- Fix some item behavior based on Official Servers. • Lucky Rice Cake • Charm Of Luck • Charm Of Happiness • Rune Kn Test Int • Takoyaki • Evasion Scroll • Concentration Scroll
2015-11-22ItemDB Update:Jedzkie2-0/+6
- Fix some item behaviors based on Official Servers. • Str_Dish10 (Healing percent) • Citron • Meat Skewer • Mre_B • Mre_C • Spray Of Flowers • Strawberry Cake • Pineapple Juice • Spicy Sandwich • Grilled Corn - Implemented the follow SC: • SC_FOOD_CRITICALSUCCESSVALUE (Based on Aegis VAR_CRITICALSUCCESSVALUE)
2015-11-22ItemDB Update:Jedzkie1-4/+6
- Fixed 'Black Thing' not decreasing Stats and Movement Speed. - Fixed 'Enriched White Potion Z' no HP regeneration.
2015-11-22ItemDB Update:Jedzkie2-6/+21
- Added official item effect of 'Gold Pill 1' and 'Gold Pill 2'. - Update SC_ACARAJE flag in sc_config.txt. Ref: http://www.divine-pride.net/database/item/12274, http://www.divine-pride.net/database/item/12275
2015-11-22SC Update:Jedzkie3-2/+75
- Added 'Eden Crystal Synthesis' statuses. - Added 'Geffen Magic Tournament' statuses. Note: their sc_config.txt are not yet implemented, needs more information on official servers.
2015-11-22ItemDB Update:Jedzkie3-9/+81
- Implemented the Geffen Scrolls and Mental Potion official effects. Thanks to Kyeme. (Ref: http://herc.ws/board/topic/1125-please-implement-the-magic-scroll-mental-potion-etc/)
2015-11-21This reverts commit 3eb8f6cc123835fae6bbd847f02cdd45fcfccd60.AnnieRuru1-2/+2
2015-11-21Fix getitem/getitem2 give stacked items when ForceSerial on (#703)AnnieRuru1-2/+2
2015-11-19ItemDB Update:Jedzkie1-25/+35
- Follow up https://github.com/HerculesWS/Hercules/commit/d9ad1cc97be0a90b3ef2f653ae2d2cdd77dddd83. - Fixes http://herc.ws/board/tracker/issue-8592-mega-resist-potion/, where the SC_TARGET_BLOOD is not working properly. Thanks to kyeme. - Adjust some whitespaces.
2015-11-18Replaced -1 with FAKE_NPC in source, where appropriateHaru1-7/+6
Signed-off-by: Haru <haru@dotalux.com>
2015-11-18Merge pull request #837 from AnnieRuru/request_5Haruna4-1/+7
Add new config to allow player vend/chat room nearby hidden npc (#834)
2015-11-18Merge pull request #817 from HerculesWS/atcommand_msgHaruna1-2/+2
Fix Crash when message is not defined
2015-11-18Merge pull request #878 from Jedzkie/request_01Dastgir2-4/+16
ItemDB Update:
2015-11-18ItemDB Update:Jedzkie2-4/+16
- Fixes Issue #688. - Update the item 'Acaraje' to its official effect. (Ref: http://herc.ws/board/tracker/issue-7773-acaraje-12375/) - Fix 'Vitata500' not giving additional % in sp. (Thanks to Haru) (Ref: http://www.divine-pride.net/database/item/12436) - Fix Ljosalfar and Mermaid Bubbles disappear its effect when died / dispell and etc.
2015-11-18Fixed a crash in some skills' multi-hit codeHaru1-4/+4
- The crash could happen when Land Protector is cast as result of a Fire Wall hit. - Fixes #698 (fix based on ultramage's suggestion) - The fix was also applied to the Taekwon Master's Warmth skills that, while not affected by Land Protector, use a very similar multi-hit loop. Signed-off-by: Haru <haru@dotalux.com>
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 Karas8-377/+505
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-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-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-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-31Add new config to allow player vend/chat room nearby hidden npcAnnieRuru2-2/+3
make changes to (#837) - mske better battle_config clarification - Add FAKE_NPC constant in the source and use them - also use the HIDDEN_WARP_NPC constants
2015-10-29Add new config to allow player vend/chat room nearby hidden npc (#834)AnnieRuru3-0/+5
credit to Emistry for the idea
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-26Fix Crash when message is not definedDastgir1-2/+2
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/masterHaruna3-29/+97
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-22Removed support for the deprecated SQL item, mob, mob_skill databases.Haru7-308/+13
Follow-up to 84e02ac28fbb15c58d0a0f8a916b49663198b05b Signed-off-by: Haru <haru@dotalux.com>
2015-10-21Fixed Typos (+1 squashed commits)ossi01103-29/+97
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