summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-17Added sysinfo (System Information) functionalitiesHaru55-239/+1638
- More informative messages are displayed during startup, to make it easier to identify what system and environment Hercules is running. - Git/SVN revision detection is improved, separating the source version (cached at compile time) from the runtime version, in case the user updated their working copy without recompiling the server. Git version detection is also more reliable, in case a non-default branch is used. - The get_revision script command has been removed (as it was useless to begin with, after the switch to git). An alternative will be provided later, for feature-probing purposes. - The patch was tested under Linux (Gentoo / gcc 4.7 on i686 and x86_64, Debian 6 / gcc 4.4 on i686, Raspbian / gcc 4.6 on armv6l, CentOS 5 / gcc 4.1 on i686, CentOS 6 / gcc 4.4 on x86_64, Linux Mint 15 / gcc 4.7 on x86_64, OS X Mountain Lion / clang 5.0 and gcc 4.8 on x86_64, Cygwin-NT-5.1/gcc 4.8 on i686, FreeBSD 8 / gcc 4.2 on i386, FreeBSD 9 / gcc 4.2 on amd64, FreeBSD 10 / clang 3.3 on amd64, NetBSD 5 / gcc 4.1 on i386, NetBSD 6 / gcc 4.5 on amd64, OpenBSD 5 / gcc 4.2 on amd64, Solaris 11 / gcc 4.5 on i86pc, Windows 7 / Visual Studio 2012 on x86, Windows 8 / Visual Studio 2010 on WOW64, Windows 8.1 / Visual Studio 2013 on WOW64. Signed-off-by: Haru <haru@dotalux.com>
2014-04-15Merge pull request #274 from vthibault/masterKisuka1-1/+1
Server side check to prevent player from attacking while sitting.
2014-04-15Fix - Do not allow players to attack while sittingVincent Thibault1-1/+1
2014-04-12Added sanity checks in itemboundretrieve_subpanikon1-2/+11
2014-04-12Merge branch 'master' of http://github.com/HerculesWS/Herculespanikon4-16/+14
82af3838a204e9ec959e1beac12.
2014-04-12Follow up to 6f6a6b3panikon1-1/+1
Fixing small typo in that commit
2014-04-12Fixed some compiler/analyzer warnings.Haru5-17/+15
- Sanitized some macros (they weren't going to cause problems, but better being safe than sorry) - Parenthesized an incorrect expression in 6f6a6b3. - Inverted an if(foo); else bar; statement in 6f6a6b3 to get rid of the empty expression (for legibility). - Commented out some unnecessary lines as suggested by clang's static analyzer. Signed-off-by: Haru <haru@dotalux.com>
2014-04-11Fixed issue: 7694panikon3-13/+24
http://hercules.ws/board/tracker/issue-7694-guild-notice/ Follow up to 7a5f7db Follow up to 4147d9f
2014-04-10Fixed issue: 7939panikon2-97/+71
http://hercules.ws/board/tracker/issue-7939-change-sex/ Also cleaned a bit the change sex process
2014-04-10Fixed issue: 8140panikon3-4/+19
http://hercules.ws/board/tracker/issue-8140-toucan-npc-error-message/ That error usually happens when the player clicked on a NPC that has the view id of a mob, to activate this kind of npc it's needed to be in a 2,2 range from it. If the OnTouch area of a npc, coincides with the 2,2 range of another it's expected that the OnTouch event be put first in stack, because unit_walktoxy_timer is executed before any other function in this case. So it's best practice to put an 'end;' before OnTouch events in npcs that have view ids of mobs to avoid this kind of error. Also updated script_commands.txt to add this recomendation.
2014-04-10Fixed issue: 7936panikon4-34/+88
http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/
2014-04-09Fixed issue: 7725panikon3-2/+29
http://hercules.ws/board/tracker/issue-7725-disguise-hide-skill-bug/ Fixed issue: 8027 http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills/ Fixed issue where @at showed it failed when it succeeded
2014-04-05Fixed issue: 8136panikon1-0/+2
http://hercules.ws/board/tracker/issue-8136-sera-pain-killer/
2014-04-04Fixed issue: 8131panikon5-4/+17
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-04-01Fixed issue 8128 - Updated and reorganized MySQL engine converters ↵panikon2-10/+32
http://hercules.ws/board/tracker/issue-8128-missing-update-to-tables-in-tools/
2014-03-31Updated documentation for pc_statusup2 and pc_statusuppanikon6-23/+115
(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-26Update rAthena-main-upgrade.sqljaBote1-1/+6
Following up latest commit that alters the database (4b1cc23085b858364a332bdf03d634656778b1e6). Logs converter isn't needing an upgrade yet.
2014-03-25Added new return values to make_new_char_sqlpanikon4-31/+55
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 8106Michieru5-31/+30
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/Herculesshennetsind18-105/+462
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)panikon5-17/+41
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-21Update rAthena-main-upgrade.sqljaBote1-27/+231
Added in the differences from some months ago. Very special thanks to @dastgirpojee for the autotrade saving script! None of us could test with actual data, so feel free to try it and point out any flaws you can see.
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-20Merge branch 'master' of http://github.com/HerculesWS/Herculespanikon3-4/+14
2014-03-20Fixed issue: 8047panikon3-25/+42
http://hercules.ws/board/tracker/issue-8047-taekwon-stance-item/
2014-03-21Fix hunting mission and clarify weight's unitAnnieRuru3-4/+14
Fix hunting mission not able to take mission after a character has deleted http://hercules.ws/board/tracker/issue-8104-hunting-missiontxt-delete-character/ Clarify Weight and MaxWeight unit as in 0.1 http://hercules.ws/board/tracker/issue-7836-weight-and-maxweight/
2014-03-20Fixed issue 8059 ↵panikon1-4/+4
http://hercules.ws/board/tracker/issue-8059-teakwon-100-chance-on-stances/
2014-03-20Fix various documentation bugsAnnieRuru3-17/+14
Fix certain type of bonus can actually trigger with weapon skills http://hercules.ws/board/tracker/issue-7897-bug-or-bad-description/ Fix duplicate sample typo http://hercules.ws/board/tracker/issue-4984-wrong-test-duplicate-npc-sample/ skill script command doesn't has type 4 http://hercules.ws/board/tracker/issue-7565-skill-script-command-invalid-flag/
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/Herculesshennetsind19-54/+266