Commit Graph

592 Commits

Author SHA1 Message Date
shennetsind
68589fc68e another cool multi-map-server ancient bugfix:
- added a 'changing_mapservers' state, so the map server receiving the player knows he doesn't have to do certain things, in this case not display motd and use the aurafix.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15445 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 08:12:52 +00:00
shennetsind
be12deb852 Fixed ancient multi-map-server bug where gmlevel was lost during changing map-servers.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-14 07:38:32 +00:00
shennetsind
35b178f8d8 added remode-specific exp files processing as per kenpachi request, special thanks to brianl
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-11 21:19:07 +00:00
gepard1984
2415501270 Improved friend removal process to avoid inconsistent state if char-server was offline, fixed wrong packet size check (follow-up to r15119).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-05 12:29:25 +00:00
shennetsind
7b811af129 Made charserver refuse connections if no map server is connected, performance improvement. bugreport:2359
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 03:09:36 +00:00
shennetsind
fb6af6b958 Pets & Homun renaming with empty name fix, bugreport:3032
Also:
- Fixed client crash when sending weapon + dragon/mado/newmount
- Fixed 2011-11-16 charinfo_size bug on char selection screen

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 02:29:06 +00:00
shennetsind
cce944588a Fixed char-server not making use of name_ignoring_case setting, bugreport:4700
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-01-04 00:16:16 +00:00
shennetsind
70651f0894 Follow up r15029 fixed a typo in the array slot
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-23 18:08:30 +00:00
xazax-hun
a7b90c81fe Added a memory optimization. bugreport:4972
Added more optimizations to some statuses. Releated: bugreport:4007

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15215 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22 18:28:18 +00:00
shennetsind
a206579adc Minstrel/Wanderer changesex bugfix, bugreport:5147
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15214 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22 17:21:23 +00:00
shennetsind
c63de2705c Fixed character delayed deletion method, bugreport:5136
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-22 08:59:49 +00:00
shennetsind
624ea1e233 1/2/3-letter char name creation exploit fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 03:48:42 +00:00
shennetsind
6c16fc0d39 fixed char server from creating character names with \255 and \xA0 (exploitable characters). fix for bugreport:4166
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-20 03:43:20 +00:00
eathenabot
21d300706a * Merged changes up to eAthena 15034.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-18 01:12:31 +00:00
shennetsind
a0a89380bf few MySQL Optimizations to char-server
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15125 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-15 00:37:38 +00:00
shennetsind
a45c020f36 Removing a friend will also remove you from your friends friendlist, bugreport:2977
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-14 22:45:33 +00:00
epoque11
8b3f6375b8 - Fixed char-server saving skills which have no level associated with them
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15092 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-13 18:25:52 +00:00
eathenabot
a0cd90cb2f * Merged changes up to eAthena 15024.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-11 20:50:17 +00:00
shennetsind
e3a1f1ca8c Babies can now share exp with either of their parents (or even both) ignoring level limitation (default) bugreport:4086 thanks to RoM
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-08 18:06:20 +00:00
shennetsind
0439f415f8 removed unnecessary debug message bugreport:4952 -- I actually planned this commit to have something else but I'm falling asleep, apologizes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-12-06 05:23:33 +00:00
ai4rei
7b4a76f4bd * Added field for the change slot feature to character select list packet for 2011-09-28aRagexeRE and newer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-16 09:06:42 +00:00
brianluau
b6e6bec3c6 - Fixed .@GID not being set in Gld_Trea_Spawn, since r13559. (bugreport:5067)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-15 22:40:00 +00:00
flaviojs
7b1ca6d8b3 * Rework some party code.
- add leader argument to party_fill_member
- add party_getmemberid
- add requester char_id to packets 0x3021 and 0x3821 (party info)
- diff members when replacing party info
- remove fixup all-player-iteration when receiving a party for the first time
- send 'party info' before 'party created'
- send 'party info' before 'party member added'
- update empty party_id when checking the player of a party

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-10-09 13:19:06 +00:00
flaviojs
9703374f8a * Fix C++ compilation issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-08 19:47:26 +00:00
Skotlex
4fed311425 - Updated mmo_char_tosql and memitemdata_to_sql to keep a count of errors while saving a character. If there are any errors, the in-memory copy (cp) will not be updated. Should fix dupes that can happen when a intermediary save fails because of sql access being down.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-30 20:16:23 +00:00
Skotlex
ac41a46e44 - added sending a dummy 0x08b9 packet in the char-server, required to support clients from this year.
- added a fix to status_heal to take into account that -int_max == int_max in some architectures, which leads to an infinite loop (bugreport:3410)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10 16:53:47 +00:00
ai4rei
bb9d066877 * Fixed quest saving checking only the first 3 objectives for changes regardless of MAX_QUEST_OBJECTIVES (follow up to r14800, since r13973).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-31 08:34:51 +00:00
flaviojs
a39699098f * CMake: Added options BUILD_TXT_SERVERS, BUILD_SQL_SERVERS, BUILD_MAPCACHE.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-22 14:54:37 +00:00
flaviojs
1cae2ede8e * Missing deletion from r14918.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21 07:42:21 +00:00
flaviojs
bdfa11d86e * CMake: Only install template files if they don't already exist.
* CMake: Added plugin targets.
* CMake: Added options BUILD_* to build the converters and individual plugins. (default=OFF)
* CMake: Added option WITH_CPACK for package creation. (default=ON)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21 06:47:12 +00:00
flaviojs
9535126f93 * CMake: set project language to C, added module FindFunctionLibrary, added search for dl library. (tested with debian-wheezy-i386)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-12 06:39:46 +00:00
flaviojs
334afd6cf6 * CMake: added txt-converter targets, added warning for 64bit, added list of available targets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10 23:46:51 +00:00
flaviojs
7fe7c8d9cb * Changed limit definitions used in WBUF* and WFIFO* to the intended fixed size alternatives.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10 16:00:14 +00:00
flaviojs
7e4a0b3266 * CMake: normalized variable names, added ability to create a package/installer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-07 03:21:42 +00:00
flaviojs
9be2d9dbbd * CMake: src/common builds static libraries common_base/common_sql, that are used as dependencies by the other targets.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14889 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-06 20:40:38 +00:00
flaviojs
0a7528681e * CMake: marked executables as different components and other miscellaneous changes. [FlavioJS]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-01 15:43:58 +00:00
ultramage
edcb998d59 Replaced custom type 'intptr' with standard 'intptr_t'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-30 09:14:21 +00:00
flaviojs
27799f566d * Added experimental support for CMake. (for now: basic build, no extras, only tested with VS10 and cygwin)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14872 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-29 12:26:51 +00:00
flaviojs
f4d8ec2ff0 * Added common/random and 3rdparty/mt19937ar to project files, makefiles and configure script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-27 01:47:06 +00:00
ultramage
8229284b40 Added enum e_skill_flag to represent the values of struct s_skill's complicated 'flag' field.
Reordered the enum values so SKILL_FLAG_REPLACED_LV_0 goes last and arithmetic can be done on it safely (for storing skill level values). This also adds support for skill levels higher than 10.
Fixed several places where SKILL_FLAG_TEMPORARY was not handled properly, and instead was considered as one of the saved skill level values (resulting in skill level -1).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-22 20:11:48 +00:00
flaviojs
ccb0bdde68 Fixed char-converter not being able to compile due to both char.h being included. (caused by last commit)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14852 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-16 14:02:37 +00:00
flaviojs
b02133b422 * Merges from charmerge:
- Added DBMap::exists. (r14090)
- Added sv_parse_next, a stepped version of sv_parse (delim-separated parser). (r14100 r14104)
- Added missing fd check to do_close. (r14145)
- Normalized, refactored and restructured some code (in preparation for shutdown/reconnect code). (r14145 r14150)
- Changed the char select request code to allow the char-server to reject it. (player in map-server trying to go to char select) (r14150)
- Added shutdown support to the servers. (incomplete) (r14152)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-06-16 10:22:35 +00:00
ai4rei
0e5b3ff65e * Fixed char-server missing some WFIFOHEAD (partially due to r10909 being reverted by r11245, follow up to r9307 and r14618).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-17 07:29:20 +00:00
ai4rei
847809a9e7 * Added support for visible garments/robes.
- For SQL apply upgrade_svn14797.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself.
- This also fixes NPCs not being visible with clients 2011-01-11aRagexeRE+ (bugreport:4865).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16 20:15:20 +00:00
ai4rei
0641ed4d05 * Added support for clients 2010-11-23aRagexeRE+ and 2011-01-11aRagexeRE+.
- Servers that used packet db version 'default' until now need to be updated to use version '25'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10 17:52:47 +00:00
Gepard
f0fb5249a1 Removed leftovers of old charcommand config (follow-up to r13403).
Added check to ensure character `rename` status will be saved if changed.
Fixed Beast Strafing (HT_POWER) damage formula and SP requirement provided by Playtester (bugreport:4675, since r4392).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14748 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-03-19 21:40:15 +00:00
ai4rei
48746d078e * Fixed gcc compile warnings in char-server and console plug-in (bugreport:4771, topic:208746, since r9631 and r14700).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14716 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-19 21:07:43 +00:00
ai4rei
da989bb356 * Added support for new delayed character deletion.
- Asks for birth date associated with the account and has a waiting time of 24 hours by default (setting).
- For SQL apply upgrade_svn14700.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself.
- This completes support for clients 2010-08-03aRagexeRE and later.
* Updated login sql engine version, missed during `birthdate` addition (follow up to r14672).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14700 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-02-08 02:36:43 +00:00
ai4rei
ad4e9bbee1 * Replaced remaining occurences of '-1' with 'INVALID_TIMER', where appropriate (follow up to r12998).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14670 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-14 21:00:38 +00:00
ai4rei
3e4934d780 * Removed ladmin (remote administration tool), all related support code and the checkversion.pl tool with it's support code, which was shared with ladmin (topic:262934, related bugreport:1147, bugreport:1889, r9408 and r9610).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14667 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-01-13 11:42:12 +00:00