Age | Commit message (Collapse) | Author | Files | Lines |
|
- Changed order according to the (upcoming) code style guidelines.
- Fixes several issues caused by missing headers when their include
order is changed or in plugins.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- I don't believe there's a need to keep them if we're not using them.
If and when we will ever need them again, this commit can be easily
reverted.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
- This affects normal execution as well as ./script-checker runs.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This can be easily used by plugins.
- See an example at
http://github.com/HerculesWS/StaffPlugins/Haru/script_mapquit
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The message was unconditionally displaying, regardless of errors.
Signed-off-by: Haru <haru@dotalux.com>
|
|
other function which could be misleading when debugging without a debugger.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
http://hercules.ws/board/tracker/issue-8176-lastet-commit-cant-compile-successfully-on-linux/
Sorry for taking so long, it seems that even if errno.h is not included in MSVC errno is still available, but that doesn't happen in unix compilers.
|
|
-Updated and fixed Eira skills to official behavior.
Fixed Bug#8168
-http://hercules.ws/board/tracker/issue-8168-crush-strike/?gopid=22703#entry22703
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
|
|
*http://hercules.ws/board/tracker/issue-8175-missing-delequip/
*Documentation wrote by @emistry
#Added return values for *delequip
|
|
Special thanks to @MishimaHaruna
|
|
http://hercules.ws/board/tracker/issue-8122-sc-groomy-sc-weakness-and-sc-ignorance/
Fix success chance formula of SC_ENERVATION, SC_GROOMY, SC_IGNORANCE, SC_LAZINESS, SC_UNLUCKY and SC_WEAKNESS
|
|
#Fixed issue where a corrupted map cache would lead to a crash
*Moved Big-endian compatibility functions to common/utils.h
#Fixed issue 8162
*http://hercules.ws/board/tracker/issue-8162-loadnpc-doesnt-trigger-oninit-of-duplicate-npcs/
*Added options to npc_parse_duplicate
#Fixed issue 8169
*http://hercules.ws/board/tracker/issue-8169-script-command-guildskill-skill-idlevel-not-working-as-intended/
*Changed *guildskill behavior, now it behaves exactly as depicted in the documentation
*Updated *guildskill documentation
#Added missing GBI types to mapif_parse_GuildBasicInfoChange now it's possible to change guild exp, lv, skill point and skill information
#GeoIP revamp
*GeoIP module was partially rewritten
*Added several data checks to prevent corruption and crashes
*Updated GeoIP database
*See https://github.com/maxmind/geoip-api-c/blob/master/libGeoIP/GeoIP.c for more information
#Added packetver checks regarding NST_MARKET
*Now *tradertype warns if user is trying to use this feature with older clients
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
- Fixes bugreport:8167, thanks to Frost
http://hercules.ws/board/tracker/issue-8167-packetver-re-small-issue/
Signed-off-by: Haru <haru@dotalux.com>
|
|
https://github.com/ThemonChan/2014-Ragexe-Client
|
|
* http://hercules.ws/board/tracker/issue-8146-reloaditemdb-item-combo-db-crash/
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
* 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
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
* 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
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Rewritten NSI_UNIQUE_ID system
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- 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
|
|
* 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
|
|
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.
|
|
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.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
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>
|
|
- Stat server update to go along with the sysinfo changes
Signed-off-by: Haru <haru@dotalux.com>
|
|
- 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>
|
|
|
|
|
|
- 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>
|
|
http://hercules.ws/board/tracker/issue-7694-guild-notice/
Follow up to 7a5f7db
Follow up to 4147d9f
|
|
http://hercules.ws/board/tracker/issue-7939-change-sex/
Also cleaned a bit the change sex process
|
|
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.
|
|
http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/
|
|
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
|
|
http://hercules.ws/board/tracker/issue-8136-sera-pain-killer/
|
|
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
|
|
- 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>
|
|
- Follow-up to a3fecfc
Signed-off-by: Haru <haru@dotalux.com>
|
|
(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
|
|
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>
|
|
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>
|