summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-03-10HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-10Fixed a crash caused by NPC variable references in callfuncHaru3-45/+196
- Fixes bugreport:8074, thanks to ahmadshidqi http://hercules.ws/board/tracker/issue-8074-help-crash/ - Also fixed some DBMap allocation mistakes introduced in 4f3156b. - Added testcases to the self-test script. - Made possible thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-03-09Follow-up to e2fdc3b858dda8abb7518735fbb254a2d63ea760Haru1-0/+2
Fixed pre-renewal build. Signed-off-by: Haru <haru@dotalux.com>
2014-03-09Fix Bug 8069Michieru2-306/+307
http://hercules.ws/board/tracker/issue-8069-gate-of-hell-bonus2-bsubrace-thara-frog-card/ Completely review the 1st and 2nd class skill_cast_db in renewal with aegis files. Thanks to Yommy and Ind for the files
2014-03-08Added Chilly to AUTHORSStreusel1-0/+1
http://hercules.ws/board/topic/3188-authors-of-athena/?p=30958 Findings: https://github.com/HerculesWS/Hercules/search?q=Chilly&ref=cmdform
2014-03-08Merge pull request #261 from Baalberith6/mastershennetsind1-1/+1
wrong HPM parsing of packets of variable length, when the size is not equal declared size.
2014-03-07Fixed some warnings on ARMHaru2-17/+16
Now Hercules is officially able to compile and run on a Raspberry Pi. Signed-off-by: Haru <haru@dotalux.com>
2014-03-07Tweaked a platform check to support ARMv6+Haru2-1/+15
Signed-off-by: Haru <haru@dotalux.com>
2014-03-07Updated configure script to support non-x86 platformsHaru2-1/+58
Signed-off-by: Haru <haru@dotalux.com>
2014-03-06When working with packets with variable length (defined with -1 length) in HPM,Matej Pristak1-1/+1
we are leaving these in stack when the size of packet exceeds declared size due to this line. This was probably meant as if( packet_declared_size > packet_actual_size ) do_not_parse_it_yet, but was doing the opposite.
2014-03-06Clean up of script_commands.txtMysteries1-117/+171
- - Fixed some structuring of the file - - Cleaned up some sentences
2014-03-06HPM Hooks UpdateHercules.ws4-37/+80
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-06Minor whitespace fixHaru3-13/+10
(trying to trigger a HPM Hooks rebuild missing from my previous commit) Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Added some callsub tests to the script testsuiteHaru1-2/+63
- Also includes testcases for the recent ref fixes/changes. Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Corrected same-reference check to work on vars with the same name in ↵Haru2-14/+18
different scopes - Fixes bugreport:8008, special thanks to KeyWorld http://hercules.ws/board/tracker/issue-8008-copyarray-fail-on-a-referenced-array-argument/ Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 3Haru4-155/+152
- Updated several functions to properly use the data structures defined in parts 1 and 2. - Special thanks to Ind for his help on this, as well as the previous two parts. - Fixes some crashes related to variable references passed back and forth between nested callfunc/callsub scopes (related: 2669e9a, 3259f89, 4f2de07) Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 2Haru11-172/+189
- Reorganized regs var/array DBMaps into a specific reg_db structure Signed-off-by: Haru <haru@dotalux.com>
2014-03-05Ref redesign, part 1Haru3-127/+130
- Moved string and numeric mapregs into the same DBMap (for consistency with the other reg types.) Signed-off-by: Haru <haru@dotalux.com>
2014-03-04Fix bug 8036Michieru6-10/+31
http://hercules.ws/board/tracker/issue-8036-gate-of-hell-over-powered/ Fix bug 7074 http://hercules.ws/board/tracker/issue-7074-suragoh-issues/ Fix bug 6866 http://hercules.ws/board/tracker/issue-6866-gate-of-hell/?gopid=15411#entry15411 Remove cast, after cast and cool down of All Odin Power as aegis info. All Odin Power is now watk and it's show the matk in the status window. http://hercules.ws/board/tracker/issue-7715-odins-power-lvl-2/ Fix Insignia consume the item correctly and can't be cast on Land Protector.
2014-03-01Fix Bug 8029Michieru2-2/+2
http://hercules.ws/board/tracker/issue-8029-after-svn-update-my-db-skill-becomes-500-2k-damage/
2014-02-27HPM Hooks UpdateHercules.ws1-6/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-27Cleaned up messages.confHaru14-550/+543
- Removed some unused messages. - Re-mapped some duplicate IDs - fixes bugreport:8057, thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8057-jobname-with-invalid-id-return-tomb/ - Fixed some issues with the message range loaded by the char server. - Reworded some messages, fixed typos in others. Note for translation users: some messages have been remapped to new IDs. You'll need to remap them in your custom translations as well. The list of changes is as follows: - Removed messages (you can safely remove them from your translations): 15, 26-27, 35, 48-52, 57-58, 65-69, 82-83, 86-87, 91, 101, 140-142, 164, 189-194, 199-200, 202-203, 209-211, 215-218, 267-268, 275, 289-290, 380-385, 387-388, 401, 497, 499, 535-537, 922, 995, 1063, 1079, 1291-1294 - New messages (you need to add them to your translations): 15 - Moved messages (you need to change their IDs in your translations file): * [Unknown Job] 656 -> 620, * [Job names] 681~693 -> 656~668 * [Tombstone related] 656~661 -> 856~861 * [Etc messages] 662~680 -> 862~880 * [@version] 1436 -> 1294 * [Hercules Chat] 1475 -> 1436 Signed-off-by: Haru <haru@dotalux.com>
2014-02-27Follow-up to 37953d0 (fixes compile error)Haru1-3/+3
- Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind4-2/+63
2014-02-26Whisper fix, and support for 2013-12-18 Ragexe and 2013-12-30 Ragexeshennetsind3-16/+107
From Pull Request 255 (Thanks to Kiu, ossi0110, Yommy) Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Merge pull request #260 from MrKeiKun/mastershennetsind1-2/+2
Build branches
2014-02-26HPM Hooks UpdateHercules.ws3-0/+61
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-26Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind2-4/+5
2014-02-26Improved mapindex_name2id errors for scriptsshennetsind2-15/+31
NPC Error is now printed as well as the original message as proposed by Emistry in http://hercules.ws/board/topic/1864-mapindex-name2id-display-which-npc-caused-this/ Special Thanks to Haru! Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Introducing #define npc constantsshennetsind2-1/+14
As proposed by AnnieRuru in http://hercules.ws/board/topic/4320-getserverdef/ They're input directly by the server, Haru's idea! (Thank you). Also introducing the MAX_CHAT_USERS define as requested by AnnieRuru. Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Removed Option_ constants from const.txt, now input directly from the sourceshennetsind5-11/+47
a benefit, for example, would be that the compounds are always up to date regardless if new members are added, also added a new compound OPTION_COSTUME Special Thanks to Haruna, and AnnieRuru for pointing out constdb's outdatedness. Signed-off-by: shennetsind <ind@henn.et>
2014-02-26Merge pull request #259 from cannelle/mastershennetsind2-4/+5
Animation fixes.
2014-02-24MEMORY SLAHER IS IN TOWNshennetsind2-53/+74
And 19mb of memory goes down (32bit users should get a ~8.5mb memory reduction) Special Thanks to pan! Signed-off-by: shennetsind <ind@henn.et>
2014-02-24Fixed console parse gm command crash on select commandsshennetsind5-9/+15
Also fixed an issue with socket flushing Signed-off-by: shennetsind <ind@henn.et>
2014-02-23Instead of building only branch 'master', let's build all branches except ↵Shido1-2/+2
'rathena'. Signed-off-by: Shido <the.keikun@gmail.com>
2014-02-22Correct minor typo in atcommand.cpanikon1-1/+1
2014-02-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind21-704/+597
2014-02-22Fixed #sendshennetsind1-14/+14
Was misusing 'fd' instead of 'sd->fd' causing it to have the same effect as @send would (aka it doesn't send to #send's target). found thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
2014-02-23Update script_commands.txtEmistry1-2/+3
2014-02-22HPM Hooks UpdateHercules.ws3-135/+43
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-22Changed function types related to SG days in date.cpanikon15-561/+545
Changed types in clif.c: bool clif_setip -> map:ip_set, map: char_ip_set changed as well bool clif_setbindip bool clif_send bool clif_spawn void clif_homskillinfoblock bool clif_sub_guild_invite Note that return values of those types have changed, so if any modification uses their return values it should be changed. clif_disp_onlyself replaced as a macro clif_viewequip_fail replaced as a macro Merged clif_skillup and clif_guild_skillup as they were using the same packet Added packet_len() values in clif_updatestatus
2014-02-21Correct minor mistake in skill_require_db.txt thanks to QQfoolsorellinapanikon2-6/+6
2014-02-21Follow up a7d421274b308f7d9cc4ac39935beae851b29b97shennetsind1-2/+9
Ensured same vars are also cleared upon shutdown. Signed-off-by: shennetsind <ind@henn.et>
2014-02-21Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-0/+1
2014-02-21Follow up 6f264513874c80b912f47dbad1ec0347c67534e7shennetsind1-3/+4
Adjusted SC_INSPIRATION, I accidentally swapped target and src when I was converting it to the new reflect damage stuff Signed-off-by: shennetsind <ind@henn.et>
2014-02-20Fixed issue 8028panikon1-0/+1
http://hercules.ws/board/tracker/issue-8028-sc-cloaking/
2014-02-20Fixed animation for dead players respawning.cannelle1-1/+1
CLR_RESPAWN is actually the logout animation not the respawn animation. CLR_OUTSIGHT is the correct animation for respawning.
2014-02-20Unit remove from map animation.cannelle1-3/+4
Follow-up to my previous logout animation fix. Pets, homunculi and mercenaries were not vanishing correctly after CLR_TELEPORT was changed to CLR_RESPAWN.
2014-02-20Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-45/+88
2014-02-20Fixed Bug 8037shennetsind2-8/+10
Player's var db was being cleared on unit free rather than on auth db clear, which'd cause map server to crash when trying to save already-disconnected (aka char logged out when char server was down) data. Special Thanks to FeNixZ. http://hercules.ws/board/tracker/issue-8037-map-crash-every-6-12/ Signed-off-by: shennetsind <ind@henn.et>