summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-04-18Rewritten NSI_UNIQUE_ID system to get rid of the cross-database interreg ↵Ibrahim Hossam10-98/+15
dependency - Removes the need for map-server to access the interreg table to store the last used ID. - Login, char and map databases can now be hosted separately. - Note: the unique_id structure has changed, and it now contains the generator character ID in its upper 32 bits. - Now NSI_UNIQUE_ID System is enabled always Special thanks to Haruna.
2014-04-05Fixed issue: 8136panikon1-0/+2
http://hercules.ws/board/tracker/issue-8136-sera-pain-killer/
2014-04-04Fixed issue: 8131panikon4-4/+13
http://hercules.ws/board/tracker/issue-8131-sc-chat/ -Documented SC_NOCHAT -Corrected the way that pc_setparam was handling SP_MANNER -Added documentation on *sc_status regarding SC_NOCHAT, to mute a user via script you should set Manner
2014-04-02Added UTF-8 BOM detectionHaru1-0/+12
- This prevents things like the following from happening, by warning the user if an incompatible file is loaded: http://hercules.ws/board/topic/5126-mapname-selft-announcer/?p=33068 - We're erroring out instead of ignoring it, as explained in the source comment. - Special thanks to jaBote. Signed-off-by: Haru <haru@dotalux.com>
2014-04-02Minor edits to pc_statusup documentation commentsHaru1-9/+12
- Follow-up to a3fecfc Signed-off-by: Haru <haru@dotalux.com>
2014-03-31Updated documentation for pc_statusup2 and pc_statusuppanikon4-19/+108
(fixed issue: 7916 http://hercules.ws/board/tracker/issue-7916-wrong-comment-in-pc-statusup2/) Now pc_statusup2 returns stat increase amount as stated in previous documentation Updated *statusup documentation it was wrong Added last update in upgrade index @console.c/.h Documented partially Now two different parsing categories can have functions with same name e.g. - server exit - sql exit
2014-03-29Minor script_add_str error/debug additionshennetsind1-0/+4
intif_parse_Registers now flags/unflags parser_current_file so that any possible naming issues with the variables being loaded are referenced here (previously they'd be reported anyway but without mentioning where it came from Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed getmapxy crashshennetsind1-1/+19
getmapxy was failing to validate whether the variables passed met the necessary criteria. As reported in http://hercules.ws/board/topic/5113-map-crash-after-getmapxy/ by Javanese Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed Bug 8091shennetsind1-3/+3
@mi mvp drops now displays item slot, special thanks to Tepoo, Haru. http://hercules.ws/board/tracker/issue-8091-mi-mvp-reward-equipment-slot-information-bugged/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed skill (visual) effects issue with packetver lower than 20110718shennetsind1-1/+1
Special Thanks to Beret. Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed Issue 8062shennetsind1-1/+1
Upon death attached (if any) script's execution only terminates if there is a open dialog, allowing silent npcs to remain running. Special Thanks to Haru, AnnieRuru! http://hercules.ws/board/tracker/issue-8062-when-player-died-the-script-execution-stops/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed Bug 8121shennetsind1-1/+8
Would reject buyingstores on @at, fixed (unlike vendings, buying stores are not able to survive restarts at this time, should be added soon) http://hercules.ws/board/tracker/issue-8121-buyingstore-use-commend-autotrade-error/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-29Fixed Bug 8125shennetsind1-0/+7
using skilleffect on a sitting character no longer causes it to be unable to move. http://hercules.ws/board/tracker/issue-8125-sit-soul-link-npc-stuck/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-25Added new return values to make_new_char_sqlpanikon2-31/+50
Added char_id to charlog Corrected RE check in skill_magic_reflect (see commit c9310f3)
2014-03-23HPM Hooks UpdateHercules.ws1-1/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-23revert https://github.com/HerculesWS/Hercules/commit/d554d61417a6Michieru1-1/+1
*show the matk in the status window.
2014-03-23HPM Hooks UpdateHercules.ws3-23/+23
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-23Fix Bug 8106Michieru4-30/+29
http://hercules.ws/board/tracker/issue-8106-crescent-elbow-knockback-range/ Increase reflect damage make by crescent elbow Fix Bug 8099 http://hercules.ws/board/tracker/issue-8099-renewal-acid-bomb-damage/ Cart Revolution will now always knock targets to the West - rAthena:1f26499994af9b64aa96d5ed46f6e7cdefdb025b Fix a bug with Backslide that let you continue to move even if you hit a wall on some case. Thanks to Ind
2014-03-22Fixed a skill_castend_nodamage_id warning for SO_ELEMENTAL_SHIELDshennetsind1-0/+2
skill_castend_nodamage_id: Unknown skill used:5008 Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Fixed Bug 8109shennetsind1-12/+16
elemental's action could cause itself to be destroyed (e.g. due to target's reflect) and would thus cause sd->ed to be null, and would cause a crash when trying to access sd->ed->db, so moving the duration check to prior to elemental's action trigger. Special Thanks to OmegaRed. http://hercules.ws/board/tracker/issue-8109-mapserver-crash-skill-so-el-action Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Follow up 4cc9d5f91cf6276e28cc02bb75fc4158d28d553bshennetsind1-1/+1
Fixed the afk-kick timer, special thanks to AnnieRuru. Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Fixed Bug 8103shennetsind1-1/+1
Issue with dragon mounted icon not showing up after relog. http://hercules.ws/board/tracker/issue-8103-riding-dragon-mount-icon-missing/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind10-56/+197
2014-03-22Fixed Bug 8107shennetsind3-9/+15
feintbomb issue which could cause endless hiding. Special Thanks to kyeme. http://hercules.ws/board/tracker/issue-8107-feint-bomb-super-bug/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-22Fixed exploit in CR_ACIDDEMONSTRATIONpanikon2-3/+4
Fixed issue 8087 http://hercules.ws/board/tracker/issue-8087-excrescent-blank-line-in-pcc/
2014-03-22Fixed issue 7338 (added new char configuration char_aegis_delete)panikon2-15/+34
http://hercules.ws/board/tracker/issue-7338-deleting-character/ As @jaBote requested in 26f2ada, renamed "rathena-logs-database-upgrade" to "rAthena-logs-upgrade.sql" and updated 'last revision'. Added a 'FIXME' in db_obj_put
2014-03-20Merge branch 'master' of http://github.com/HerculesWS/Herculespanikon3-0/+31
2014-03-20Fixed issue 6415panikon1-6/+16
http://hercules.ws/board/tracker/issue-6415-kaite-skills-reflect/
2014-03-20HPM Hooks UpdateHercules.ws3-0/+31
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-20Fixed issue: 8047panikon3-25/+42
http://hercules.ws/board/tracker/issue-8047-taekwon-stance-item/
2014-03-20Fixed issue 8059 ↵panikon1-4/+4
http://hercules.ws/board/tracker/issue-8059-teakwon-100-chance-on-stances/
2014-03-18HPM Hooks UpdateHercules.ws3-3/+66
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-18Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind10-28/+166
2014-03-18BG Queue Fixes & +++shennetsind4-19/+104
Fixed issue where players would be able to join a ongoing game when queueing by meeting the criteria. Fixed/Implemented the maximum_afk_seconds setting. Fixed issue with the maxPlayers arena setting that'd cause the maximum to be less than specified. Added a new battlegrounds.conf setting "allowedTypes" for arenas in order for further customisation. Expect a few more soon. Special Thanks to AnnieRuru Signed-off-by: shennetsind <ind@henn.et>
2014-03-17Added regular expression matching script commands and operatorsHaru2-4/+97
- The script command pcre_match and the operator ~= will return the number of regular expression matches in a given string (roughly equivalent to the php function preg_match or the perl operator =~) - The operator ~! is the opposite of ~= (roughly equivalent to the perl operator !~) - See script_commands and npc/custom/test.txt for more information. Signed-off-by: Haru <haru@dotalux.com>
2014-03-17Follow-up to 0e58529 (for MSVC compatibility)Haru1-5/+5
- Fixes bugreport:8097, thanks to Frost http://hercules.ws/board/tracker/issue-8097-compile-issue-using-msvc-2010-windows-7-64bit/ Signed-off-by: Haru <haru@dotalux.com>
2014-03-17HPM Hooks UpdateHercules.ws1-7/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-16HPM Hooks UpdateHercules.ws1-6/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-03-16Added --load-script commandline argumentHaru3-21/+42
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Added --load-plugin commandline argumentHaru5-7/+31
Signed-off-by: Haru <haru@dotalux.com>
2014-03-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind1-1/+4
2014-03-16Fixed Bug 8093shennetsind1-0/+12
Special Thanks to Haruna for pinpointing the cause, developing test cases and contributing to the final solution :3 http://hercules.ws/board/tracker/issue-8093-memory-leak-after-stop-server-cant-fix/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-17Fix addtimer will report error when hit MAX_EVENTTIMERAnnieRuru1-1/+4
Fix bug 7965 http://hercules.ws/board/tracker/issue-7965-
2014-03-16Follow up 4fe6f657e682b9c722b15346f31ec3fe0298b9d9shennetsind1-0/+1
Yahoo I screwed up. re-adding the tick = -1 I removed in the aforementioned commit. Super-mega thanks to EPuncker! Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Improved ERS memory handlingshennetsind3-24/+21
On shutdown the ERS will loop thru leftover managers and clear them according to each manager's settings, while also printing errors according to each manager's settings. Will also help pinpoint the causes of http://hercules.ws/board/tracker/issue-8093-memory-leak-after-stop-server-cant-fix/ and similar issues. Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Merge branch 'master' of https://github.com/HerculesWS/Herculesshennetsind3-36/+25
2014-03-16Fixed Bug 8095shennetsind1-2/+4
Mounting SC_ALL_RIDING (new mounts) now causes character to stop attacking. Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-8095-ridding-mount2-can-attack/ Signed-off-by: shennetsind <ind@henn.et>
2014-03-16Fix Bug 8041Michieru2-14/+18
http://hercules.ws/board/tracker/issue-8041-sura-cresent-elbow/ Special Thanks to Ind Fix Bug 6826 http://hercules.ws/board/tracker/issue-6826-crescent-elbow/?gopid=15188#entry15188 Fix Bug 8075 http://hercules.ws/board/tracker/issue-8075-lightning-walk/
2014-03-16Fixed Bug#8086malufett1-22/+7
-http://hercules.ws/board/tracker/issue-8086-overbrand-mega-bug/ Notice: old behavior of LG_OVERBRAND contains exploitable bug..this patch must pull to eliminate the bug Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
2014-03-15Fixed Bug 8089shennetsind1-1/+3
In the scenario where damage is reflected and kills the caste sc->data[SC__SHADOWFORM] would be null (caster no longer is under the condition) and thus the crash. http://hercules.ws/board/tracker/issue-8089-map-crash/ Signed-off-by: shennetsind <ind@henn.et>