summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-04-19Fixed issue: 8146panikon2-2/+6
* http://hercules.ws/board/tracker/issue-8146-reloaditemdb-item-combo-db-crash/
2014-04-20HPM Hooks UpdateHercules.ws3-0/+30
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-04-19Follow up to 6f6a6b3panikon6-33/+49
* Added new method to handle refreshing the storage window when it was closed automatically by the client * http://hercules.ws/board/tracker/issue-8027-when-the-storage-is-open-you-can-use-self-skills * http://hercules.ws/board/tracker/issue-7694-guild-notice Follow up to d57781c * Fixed minor typo as pointed by @MishimaHaruna
2014-04-19HPM Hooks UpdateHercules.ws1-7/+7
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-04-19Fixed issue: 8150panikon4-23/+36
* http://hercules.ws/board/tracker/issue-8150-cash-shop-updating-quantity-bug/ * Also fixed issue where when using ATitem to get more than one pet egg would result on getting only one egg * Changed packet 0x3880 structure now it also contains pet class and dropped flag from this packet, it was pointless
2014-04-19HPM Hooks UpdateHercules.ws3-37/+6
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-04-19Merge pull request #272 from hemagx/masterHaruna10-98/+15
Rewritten NSI_UNIQUE_ID system
2014-04-19Corrected some issues in 69ca0aa and 446ce4aHaru2-15/+10
Signed-off-by: Haru <haru@dotalux.com>
2014-04-19HPM Hooks UpdateHercules.ws1-2/+1
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-04-19Added sysinfo to the exported HPM symbolsHaru1-0/+3
Signed-off-by: Haru <haru@dotalux.com>
2014-04-19Add official support for lvl 175Michieru4-4/+6
- Add official Job stats bonus and fix old class (pre-re and re got same stats bonus) - Add official stats points for lvl 150 to 175 - Add new max_parameter for Extend Classes max stats 125 - Change max stats points for the 3rd classes to 130 - Add official Experience table for all classes Add Star Gladiator official renewal exp table Special thanks to Yommy and Muad_Dib for official info
2014-04-19#Fixed issue: 8147panikon2-4/+15
* http://hercules.ws/board/tracker/issue-8147-map-zone-dbconf-pvpon-crash/ #Added check to prevent issue where player would start autotrading from savepoint if killed in a map where pvp/gvg was active
2014-04-18# Several minor changes in atcommandspanikon2-20/+78
1. Reallocated and added checks in @jumpto, @jump, @mapmove in order to increase performance * Checks are now made to avoid unnecessary lookups and unnecessary warps 2. Corrected return failure values of @zeny 3. Added messages to * ATclearcart > Warns that it's not possible to clean a cart while vending * ATshowmobs > Asks user to enter a mob name/id and warns if the mob name is invalid * ATgstorage > Warns when another guild member is using the gstorage # Fixed issue where while using storage/gstorage and then refreshing would close the storage but only for the client, the server wouldn't now and this would cause the guild storage to remain locked and the character without ability to do anything.
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-18HPM Hooks UpdateHercules.ws1-0/+5
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2014-04-17Whitespace cleanupHaru11-86/+87
Replaced some tabs in the middle of the line with spaces. Thanks to KeiKun for pointing out #ifdef<tab>_COMMON_SYSINFO_H_ and making me realize how many of them were there. Signed-off-by: Haru <haru@dotalux.com>
2014-04-17Follow-up to 916aa169daeda32c823c0c704b86d1be1fb831b7Haru1-26/+44
- Stat server update to go along with the sysinfo changes Signed-off-by: Haru <haru@dotalux.com>
2014-04-17Added sysinfo (System Information) functionalitiesHaru19-221/+1207
- 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-15Fix - Do not allow players to attack while sittingVincent Thibault1-1/+1
2014-04-12Added sanity checks in itemboundretrieve_subpanikon1-2/+11
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: 8140panikon1-0/+7
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: 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/