summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2013-10-04HPM: Hooking!shennetsind8-54/+59
http://hercules.ws/board/topic/2399-hpm-hooking-now-available/ Signed-off-by: shennetsind <ind@henn.et>
2013-10-02HPM: Map.c Completedshennetsind30-2184/+2313
Fully Interfaced. Moved missing vars and declarations of interest into the interface, removed duplicate mentions of map within calls to shorten wherever it made sense to. Ladies and Gentleman its my pleasure to announce that with this commit we've revised all of map-server, we've learned a hell lot from this, improved many things on the go and have a number of features to be released thanks to this. *cough* hpm hooking *cough*. Signed-off-by: shennetsind <ind@henn.et>
2013-09-30Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-0/+36
2013-09-30Corrected length of the PARTY_BOOKING_REQ_REGISTER packet for Ragexe clientsHaru1-0/+36
- Fixes bugreport:7656 (thanks to Angelmelody) http://hercules.ws/board/tracker/issue-7656-party-booking-system-unsupported-packet-0x0000-0x1b01 - While I have not checked all of the affected clients, the ones I checked had a length of 18. The 41-byte version appears to be used by the RagexeRE clients only. If this speculation turns out to be incorrect, or your client is incompatible with this patch, please report it and it'll be fixed. Signed-off-by: Haru <haru@dotalux.com>
2013-09-29HPM: Status.c Completedshennetsind4-734/+749
Fully Interfaced. Moved missing vars and declarations of interest into the interface. Removed a couple things from pc.h into mmo.h due to circular dependence. Signed-off-by: shennetsind <ind@henn.et>
2013-09-29Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind4-105/+419
2013-09-29HPM: Script.c Completedshennetsind2-1241/+1407
Fully Interfaced. Moved missing vars and declarations of interest into the interface, removed duplicate mentions of script within calls to shorten wherever it made sense to. Signed-off-by: shennetsind <ind@henn.et>
2013-09-29Provided argument-list equivalent for several variadic functionsHaru4-105/+419
This is necessary for the upcoming HPM hooking system
2013-09-28Follow up 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9shennetsind1-0/+2
Fixed missing #if, special thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-2/+2
2013-09-28HPM: pc.c Completedshennetsind11-396/+456
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Searchstore.c Completedshennetsind2-28/+35
Moved missing declarations of interest. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Trade.c Completedshennetsind2-8/+9
Already was about complete, just moved the definition to the .h so that plugins may rely on the value, also updated the trade.c header given the file had been previously modified (when the trade interface was implemented) Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge pull request #164 from cannelle/patch-1shennetsind2-2/+2
Fix for incorrect mob_warpslave_sub and map_quit clear values.
2013-09-28HPM: Party.c Completedshennetsind6-124/+121
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of party within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Mercenary.c Completedshennetsind2-24/+35
Moved missing declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: log.h Completedshennetsind2-38/+53
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Intif.c Completedshennetsind2-384/+385
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-5/+77
2013-09-28HPM: Instance.c Completedshennetsind8-134/+138
Moved missing vars and declarations of interest into the interface. Instance data now available to plugins via instance->list (struct instance_data array) Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Homunculus.c Completed.shennetsind1-2/+0
it was all good already, just reviewed to ensure and removed a unused declaration. Signed-off-by: shennetsind <ind@henn.et>
2013-09-28HPM: Storage.c Completedshennetsind3-28/+33
Moved missing declarations of interest into the interface, init/final from storage into gstorage Signed-off-by: shennetsind <ind@henn.et>
2013-09-28Merge pull request #161 from shenhuyong/mastershennetsind8-5/+77
Added full support for the Rebellion.
2013-09-27HPM: Guild.c Completedshennetsind2-139/+186
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27Corrected map_quit call with CLR_RESPAWN instead of CLR_TELEPORT.cannelle1-1/+1
2013-09-27Corrected mob_warpslave_sub call with CLR_TELEPORT instead of CLR_RESPAWN.cannelle1-1/+1
2013-09-27HPM: Elemental.c Completedshennetsind5-59/+100
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of elemental within calls to shorten wherever it made sense to. And on a minor thing updated the duel.h header given the file had been previously modified (when the duel interface was implemented) Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Chrif.c Completedshennetsind4-295/+383
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Chat.c Completedshennetsind6-59/+63
Moved missing vars and declarations of interest into the interface, removed duplicate mentions of chat within calls to shorten wherever it made sense to, and renamed some members to ease reading. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Buyingstore.c Completeshennetsind2-28/+43
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Atcommand.c Completedshennetsind2-64/+102
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Battle.c Completedshennetsind3-36/+33
Moved missing vars and declarations of interest into the interface Signed-off-by: shennetsind <ind@henn.et>
2013-09-27HPM: Skill.c Completedshennetsind11-610/+631
Moved missing vars and declarations of interest into the interface. Signed-off-by: shennetsind <ind@henn.et>
2013-09-27Corrected maptypeproperty2 implementation with all the available infoHaru2-20/+21
- Fixes an issue with the 2013 clients showing an attack cursor over other players even outside PvP. Special thanks to ossi0110 for reporting the issue and running tests for me; Ind and Yommy for their assistance. - Related: issue #70 Signed-off-by: Haru <haru@dotalux.com>
2013-09-27Renamed iMap interface to mapHaru33-3110/+2694
Signed-off-by: Haru <haru@dotalux.com>
2013-09-27Added full support for the Rebellion.shenhuyong8-5/+77
Credits to 3ceam2 for the base,Thanks to Rytech. -The skill still needs to be completed, as well as support for higher base stats. -Bonus stats are set to temporarily values until the official ones are known. -Updated the item_db.txt file with information on the Rebellion's job equip mask. -Added packets and packet keys for 2013-08-07Ragexe with the info provided by Shakto,Thanks to Shakto. -A 2013-08-07Ragexe client or higher is required for this job to be properly playable.
2013-09-27Renamed iStatus interface to statusHaru20-2126/+2052
Signed-off-by: Haru <haru@dotalux.com>
2013-09-26Renamed variables that would conflict with a rename of iMap to mapHaru28-1867/+1775
Note to plugin developers: if you were importing the "map", you'll need to change it to "maplist" Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Renamed local variables that would conflict with a rename of iStatus to statusHaru15-1365/+1284
Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind37-1254/+1142
Conflicts: src/map/chrif.c src/map/clif.c src/map/homunculus.c src/map/pet.c src/map/script.c src/map/skill.c src/map/status.c All clear.
2013-09-25Renamed iTimer interface to timer.shennetsind22-511/+511
Also removed duplicate mentions of timer within calls to shorten.
2013-09-25Renamed local variables that would conflict with a rename of iTimer to timerHaru8-49/+43
Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Renamed iDuel interface to duelHaru6-90/+77
- Note to plugin developers: change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel"). Signed-off-by: Haru <haru@dotalux.com>
2013-09-25Renamed more forgotten variables during interface conversionsHaru25-762/+690
(related: b9c8f57) Most renames are trivial (just to avoid shadowing global variables, even if they currently did no harm), but there were some cases of partly renamed variables that caused some NULL checks to always pass and who knows what could have been happened when they were too subtle to make the application crash. Also corrected some potentially unsafe macro definitions Signed-off-by: Haru <haru@dotalux.com>
2013-09-24Renamed some variables forgotten when adding the battleground interfaceHaru2-49/+44
- Follow-up to 35c131c - Fixes bugreport:7721, thanks to purityz, Dastgir Pojee http://hercules.ws/board/tracker/issue-7721-lastest-update-make-map-crashing-on-battleground/ Signed-off-by: Haru <haru@dotalux.com>
2013-09-22Changed Makefiles to avoid rebuilding targets if nothing was modifiedHaru1-2/+4
To force a rebuild, it's still possible to use the -B flag of make, or just run make clean beforehand. Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Added Makefile.in change detection (and auto-rebuild) capabilitiesHaru1-1/+4
- If a Makefile.in is changed, ./config.status (or ./configure in case it's not available) will be automatically run to update the Makefiles. - Special thanks to Yommy for the idea. Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Corrected invalid values assigned to enum homun_type variablesHaru4-25/+25
- Fixes a warning in clang-5.0.0 (and a potentially incorrect/undefined behavior of the related code) Signed-off-by: Haru <haru@dotalux.com>
2013-09-21Fixed a potentially negative array subscript causing a mapserver crashHaru8-129/+95
- Fixes bugreport:7717, special thanks to quesoph http://hercules.ws/board/tracker/issue-7717-map-crash-when-warping-on-a-floating-npc/ - Also changed various map[foo].index to the map_id2index(foo) macro. Signed-off-by: Haru <haru@dotalux.com>
2013-09-19Cleaned up and de-duplicated ranklist-related codeHaru4-155/+72
Follow-up to 6cf032d. Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>