summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
2015-10-12- Error message when talking to a pre-defined channel and you aren't on the ↵Er_Maqui1-0/+3
channel.
2015-10-11Fixed another compiler warning (follow-up to 5c22b63)Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Fixed various compiler warnings (follow-up to 5c22b63)Haru4-21/+21
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Merge pull request #788 from MishimaHaruna/libconfigAndrei Karas6-17/+868
Libconfig edits for mob_db.conf
2015-10-11Added test_libconfig test suite.Haru4-14/+865
- To be used for regression tests when updating or editing libconfig. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Added support to libconfig for key names containing '.' or beginnig with digits.Haru1-2/+2
- Note: Since '.' (period) is a valid character for key names, it is no longer a valid path separator for lookups. Please use '/' (forward slash) or ':' (semicolon) instead. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Fixed an issue in the quest_db parsing function.Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed chr->server[].maps to a VECTORHaru3-35/+32
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11HPM Hooks UpdateHaru4-18/+19
2015-10-11Changed various s_subnet arrays to VECTORsHaru2-83/+58
- sockt->lan_subnet was renamed to sockt->lan_subnets. - sockt->trusted_ip was renamed to sockt->trusted_ips. - sockt->allowed_ip was renamed to sockt->allowed_ips. - Convenience macros for checking IP ranges and subnets are provided (SUBNET_MATCH, APPLY_MASK). Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Cleanup of the HPluginData implementation (second part)Haru30-219/+242
- Changed the hplugin_data_store's array into a VECTOR. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Cleanup of the HPluginData implementation (First part)Haru30-357/+246
- Several explicit casts are removed, to have a slightly better type-checking at compile time. - A destructor function is provided, to remove code duplication. Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed cmdline->args_data to a VECTORHaru3-21/+22
Signed-off-by: Haru <haru@dotalux.com>