summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2015-10-11Changed HPM->packets[] into an array of VECTORHaru2-17/+17
Signed-off-by: Haru <haru@dotalux.com>
2015-10-11Changed VECTOR/BHEAP/ARRAY macros to discourage usage of unsigned loop counters.Haru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-10-06Merge pull request #682 from Smokexyz/masterHaruna2-32/+114
Convert refine_db.txt to refine_db.conf (libconfig)
2015-10-05Merge pull request #747 from 4144/setvarsHaruna2-88/+160
Split function set_reg and get_val into functions based on variable types.
2015-10-04Added clif->packet() to retrieve info about a packet.Haru3-9/+19
- As per Malufett/Michieru request, in order to make it possible for a plugin to obtain information about a packet. Signed-off-by: Haru <haru@dotalux.com>
2015-10-02Skip bound items in the mergeitem feature.Haru1-2/+2
- Fixes #757, thanks to kyeme - Based on Emistry's PR #754 (improved) Signed-off-by: Haru <haru@dotalux.com>
2015-10-02Fixed crash in SC_GENSOUAncyker1-0/+3
SP can be zero. HP probably not, but just in case.
2015-10-02Convert refine_db.txt to refine_db.conf (libconfig)Smokexyz2-32/+114
Thanks for Haru and 4414 for pointing out inefficiency in code, edited as suggested. Rework - Changed refine_db.conf format to a more concise one, thanks to Haru for suggesting. [2/10/15] Updated with corrections pointed out by Haru. Updated warning and error messages.
2015-10-01Split function set_reg and get_val into functions based on variable types.Andrei Karas2-88/+160
2015-09-30Refactored ACMD(jobchange)Haru1-42/+41
- Follow-up to 7064ec3. - Fixes a logic issue issue preventing the command's help message to be shown when no arguments are specified. - Fixes #759, thanks to theultramage. Signed-off-by: Haru <haru@dotalux.com>
2015-09-29Merge pull request #756 from Nihadm89/patch-1Haruna1-1/+1
Fixes Maelstrom crashing server
2015-09-28Fixes Maelstrom crashing serverNihadm891-1/+1
Bug Report: https://github.com/HerculesWS/Hercules/issues/731
2015-09-28Fixed merge behaviour of map zones. Fixes #572Kpy!2-7/+18
- Both "Normal" and "PK Mode" default zones will now be overwritten (instead of merged) by "GvG", "PvP" and "Battlegrounds" zones. - Refactored some code to clarify intent.
2015-09-26Merge pull request #579 from csnv/minfixesHaruna2-10/+10
Corrected critical bonus display
2015-09-25More aggressive whitespace cleanup. Follow up to 51329e6Haru31-1917/+1178
Signed-off-by: Haru <haru@dotalux.com>
2015-09-24Fix script command checkcell without player attached.Andrei Karas1-2/+1
Was broken in previous commits.
2015-09-24Add bl parameter to map_searchrandfreecell and map_addflooritem.Andrei Karas8-35/+35
2015-09-24Add bl parameter to closest_freecell.Andrei Karas3-7/+7
2015-09-24Add bl parameter to getcell functions.Andrei Karas16-107/+109
2015-09-22Corrected more VisualStudio incompatibilitiesHaru1-15/+32
- Follow-up to ba9c1cc1, 547dd68 - Fixes #730 (thanks to VeilsideGX) Signed-off-by: Haru <haru@dotalux.com>
2015-09-21Corrected a VisualStudio compile issue.Haru1-6/+15
- Follow-up to ba9c1cc1 - Fixes #726 Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Clarified the intent of several assignments inside conditional expressionsHaru14-90/+91
Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Clarified intent in various side-effect assignmentsHaru2-16/+16
While this doesn't change anything in the way those assignments work, it clarifies that they're intended to be side-effect assignments and not typos (to both human readers and static analyzers) Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Follow-up to 21442a885b1214e1b6a2f23a2553da416fb97238Haru1-8/+7
Corrected a nullpo check in the clif_party_withdraw function (in some cases, it is acceptable for sd to be NULL -- documentation is still lacking though) Signed-off-by: Haru <haru@dotalux.com>
2015-09-18Follow-up to ba9c1cc16cb8f696a50d0ae928b6e8a19086405bHaru1-10/+10
Removed some redundant checks from atcommands (fixes a compiler warning in clang 7) Signed-off-by: Haru <haru@dotalux.com>
2015-09-17Merge pull request #711 from dastgir/autotrade_structHaruna3-1/+38
Autotrade Struct to HPM
2015-09-17corrected some white spaces and added missing EOL.Frost1-2/+0
Split from #558 (and added a few more corrections) Signed-off-by: Haru <haru@dotalux.com>
2015-09-17Added Configuration in enabling/disabling monster hp bar on new clients.Frost4-13/+16
Closes #558 Signed-off-by: Haru <haru@dotalux.com>
2015-09-15Add missing checks into duel.cAndrei Karas1-0/+12
2015-09-15Add missing checks into clif.cAndrei Karas2-131/+791
2015-09-14Add missing checks into chrif.cAndrei Karas1-4/+27
2015-09-14Add missing checks into chat.cAndrei Karas1-0/+10
2015-09-14Add missing checks into channel.cAndrei Karas4-9/+16
2015-09-14Add missing checks into buyingstore.cAndrei Karas1-5/+11
2015-09-14Add missing checks into battleground.c.Andrei Karas1-2/+20
2015-09-14Add missing checks into battle.c.Andrei Karas1-9/+51
2015-09-14Add missing checks into atcommand.cAndrei Karas2-504/+527
2015-09-12Merge pull request #713 from 4144/pathextHaruna7-31/+31
Add to path search functions source bl for plugins usage.
2015-09-10Add to path search functions source bl for plugins usage.Andrei Karas7-31/+31
2015-09-10Add extra checks into mail system.Andrei Karas2-4/+14
2015-09-09Autotrade Struct to HPMdastgir3-1/+38
2015-09-08Added pre-re/re support to the pet db. Fixes #702Haru1-38/+33
Thanks to aleprincess Signed-off-by: Haru <haru@dotalux.com>
2015-09-08Fixed a failed assertion in skill_get_ele. Fixes #708Haru1-17/+20
- Thanks to AnisotropicDefixation Signed-off-by: Haru <haru@dotalux.com>
2015-09-08Fixed some memory leaks in code using libconfigHaru6-6/+8
- Special thanks to Dastgir Signed-off-by: Haru <haru@dotalux.com>
2015-09-06Fixed compilation error.Emistry1-1/+2
error: ‘for’ loop initial declarations are only allowed in C99 mode
2015-09-06Revert "Revert "Updated getwaitingroomstate() script command.""Emistry1-1/+15
This reverts commit c3ce0fb9b04d4c51d632c21f24f7a348c2681bf2.
2015-09-06Revert "Updated getwaitingroomstate() script command."Emistry1-15/+1
This reverts commit 1bd8e9d50ed6de9433c3d6ccb842491cdafcd0a1.
2015-09-06Updated getwaitingroomstate() script command.Emistry1-1/+15
type 0 - return number of users in the waiting room and account_id list stored in $@chatmembers[] type 34 - Minimum Base Level to enter waiting room. type 35 - Maximum Base Level to enter waiting room. type 36 - Minimum Zeny to enter waiting room.
2015-08-31npctalk support extra npc name parameter.Emistry1-2/+10
The command will display the message on the NPC that name specified in the parameter. Useful in quest script that required a lot of different NPC to talk at the same time. Especially instances script.
2015-08-27Hotkey Rotate Packet ImplementedDastgir4-17/+37