summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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 sourceshennetsind4-5/+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-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-22Correct minor typo in atcommand.cpanikon1-1/+1
2014-02-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind18-696/+588
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-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-21Follow up a7d421274b308f7d9cc4ac39935beae851b29b97shennetsind1-2/+9
Ensured same vars are also cleared upon shutdown. Signed-off-by: shennetsind <ind@henn.et>
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-20Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+2
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>
2014-02-19Fixed issue 8034panikon1-1/+2
http://hercules.ws/board/tracker/issue-8034-map-crash-scripts/
2014-02-19Readding last merge as last revert was unintended. Sorry for the trouble.panikon25-1734/+2370
2014-02-19Revert "Merge branch 'master' of https://github.com/HerculesWS/Hercules"panikon25-2370/+1734
This reverts commit c4a9dd3f2804b75c1d49b5ab58a3ba80ea4303c2, reversing changes made to 58544d7f610261a903b3e843a795efd7571b2d56.
2014-02-19Follow up 9132878d911cfe720eaad94ad3d4a5dd11958f99shennetsind1-0/+4
Fixed issue (8023) with sc rows (only those of tick = -1, aka permanent scs) duplicating due to lack of primary index. Special Thanks to Flash, Haru. Note that the upgrade script will clear the permanent statuses from your sc_data table (e.g. lex aeterna, carts) to ensure no issues are left. Signed-off-by: shennetsind <ind@henn.et>
2014-02-19Fixed Bug 8025shennetsind1-5/+21
Temporary fix for data->ref on array handling, will be dropped once Haru's data->ref redesign is commit. Special Thanks to AnnieRuru http://hercules.ws/board/tracker/issue-8025-callfunc-getarraysize-getarg-server-crash/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-19Fixed Bug 8031shennetsind2-4/+3
way to check for char server connection fixed Special Thanks to FeNixZ! http://hercules.ws/board/tracker/issue-8031-map-server-crash-save-scdata-single-del-scdata-single/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-19Fixed warmer issue that'd cause a crash when clear_skills_on_death is enabledshennetsind1-1/+3
Perhaps the cause to 8026 http://hercules.ws/board/tracker/issue-8026-map-server-crash-feb-16th-2014/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-18Follow-up to 6f264513874c80b912f47dbad1ec0347c67534e7Haru1-1/+1
Fixed a typo, thanks to Masao Signed-off-by: Haru <haru@dotalux.com>
2014-02-17HPM Hooks UpdateHercules.ws3-49/+111
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-14sc sourcesshennetsind14-543/+542
Signed-off-by: shennetsind <ind@henn.et>
2014-02-14Renewal mechanics rebalance mega-updateMichieru16-1196/+1750
- More info on the forums, at http://hercules.ws/board/topic/4428-michierus-renewal-update/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-13Fixed bug 7934panikon1-0/+2
http://hercules.ws/board/tracker/issue-7934-delnpc-missing-not-working/ From: http://trac.rathena.org/changeset/17128/rathena Thanks to kyeme
2014-02-13Fixed bug 7279panikon1-10/+35
http://hercules.ws/board/tracker/issue-7279-starting-items/
2014-02-11Fixed bug 7980panikon1-0/+1
2014-02-11Fixed bug 7977 as in rAthena revf488861298d50afb41f8418700ae164e63bee070panikon1-1/+1
2014-02-11HPM Hooks UpdateHercules.ws1-18/+18
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-02-11Fixed issue with referenced array operationsshennetsind2-18/+21
Did not affect write/read, except getarraysize and deletearray. Special Thanks to Haru! Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug 7993shennetsind2-16/+23
Shadow Accs and Dual-Wielding fix, thanks to bgamez23 http://hercules.ws/board/tracker/issue-7993-shadow-system-bug-for-accessories/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug 7949shennetsind1-8/+6
Issue with combos reapplying themselves upon removal of a duplicate item present (e.g. 2x gloves of a glove that combos with a shield), since 524291493e64 Thanks to Angelmelody http://hercules.ws/board/tracker/issue-7949-item-combo-bug/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug 8017shennetsind2-9/+9
Would happen on 2014-onwards clients due to the placeholder packetver of 20140000 http://hercules.ws/board/tracker/issue-8017-monster-hp-bar-does-not-update/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind8-71/+137
2014-02-10Fixed guild aura going away on LPshennetsind1-0/+3
Thanks to AnnieRuru, kyeme. Signed-off-by: shennetsind <ind@henn.et>
2014-02-11Merge branch 'master' of https://github.com/HerculesWS/Herculesmalufett8-97/+154
2014-02-11Fixed Bug#7983 (Thanks to Kiu)malufett3-4/+16
-http://hercules.ws/board/tracker/issue-7983-whisper-display Fixed Bug#8012 -http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Merge pull request #256 from hemagx/masterHaruna5-67/+121
Merged~ Thank you for your contribution to Hercules!
2014-02-10Fixed 3 'Declaration shadows a variable in the global scope'shennetsind1-24/+24
warnings. Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Modified successrefitem script commandshennetsind1-5/+8
Added a new optional parameter to specify upgrade quantity, so its consistent with downrefitem which provides a optional parameter to specify downgrade quantity. As proposed by kyeme in http://hercules.ws/board/topic/2403-successrefitem/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind9-26/+134
2014-02-10bindatcommands are now case-insenstivie (just like normal @commands)shennetsind1-1/+1
As proposed by kyeme in http://hercules.ws/board/topic/2101-bind-commands/ Signed-off-by: shennetsind <ind@henn.et>
2014-02-10Fixed Bug#7933malufett2-0/+3
-http://hercules.ws/board/tracker/issue-7933-sonic-blow/?gopid=21551#entry21551 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Fixed Bug#7988malufett4-12/+13
-http://hercules.ws/board/tracker/issue-7988-royal-guard-exceed-break-causes-map-server-crash/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-10Fixed Bug#7929malufett1-9/+76
-http://hercules.ws/board/tracker/issue-7929-overbrand-and-mapflags/?gopid=21542#entry21542 Fixed Bug#7966 -http://hercules.ws/board/tracker/issue-7966-over-brand/ Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-02-09Follow-up to 7b19f964b88dffcfdc8c12648d5e4ee8a26a9504Haru1-1/+0
- Fixes bugreport:8015, thanks to N e s s http://hercules.ws/board/tracker/issue-8015-error-in-compiling-in-debian-linux-latest-rev/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-09Improved script case check reports to include more accurate source info.Haru5-5/+43
- Fixes bugreport:8013, thanks to Dastgir Pojee http://hercules.ws/board/tracker/issue-8013-script-add-str-problem/ Signed-off-by: Haru <haru@dotalux.com>
2014-02-08Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind9-95/+59
2014-02-08Fixed Bug 7978shennetsind1-6/+7
Consumables with expire item no longer stack with those without expire time Thanks to kyeme. http://hercules.ws/board/tracker/issue-7978-rental-item-stackable/ Signed-off-by: shennetsind <ind@henn.et>