45 Commits

Author SHA1 Message Date
skotlex
cfee0ccf63 - Added all the missing FIFOHEADs in the login/sql servers (required for TURBO support)
- Fixed the fact that the TURBO code breaks when you attempt to handle more than one connection at a time within the same function. However this broke map-server compilation, therefore, don't use TURBO yet! It needs more fixing (and I need more time to fix it)
- While at it, cleaned a few packet implementations in the char/login servers which were not only ugly, but had some really stupid flaws within (stuff like escaping a string, and then using the non-escaped variable to insert to SQL? T_T) And will someone explain me why the TXT servers are coded much more cleanly, and without such horribly broken code as I find in the SQL ones? T_T;


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-24 12:41:38 +00:00
skotlex
73379857e2 - Made WFIFOHEAD() check for available buffer size remaining on the connection, and when there's not enough space, it will increase it.
- Added define TURBO to the Makefile. It enables MouseJstr's socket access optimization which should speed up the code when accessing the write/read buffers repeatedly within a function.
- Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used incorrectly (prevents TURBO enabled compilations from finishing)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9297 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-23 15:33:51 +00:00
skotlex
e47c69b87b - Corrected GS_DISARM, it is now a normal attack, which, when it connects, has a chance to do strip weapon ar a 3*lv% rate (modified by dex)
- Fixed GS_PIERCINGSHOT, it should ignore defense
- Corrected Gatling Fever costing SP when trying to turn it off. Also, speed increases bonuses won't take effect while it's active.
- Updated the main makefile with a new OPT line. It is commented by default since it only works with GCC 4.X, when unset, it will hide away a huge amount of warnings that have to do with stuff that is not gonna be corrected in eA anyway.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9287 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 20:54:22 +00:00
skotlex
42375e1896 - Rewrote the txt->sql converter. It now links directly to the char server files so that it should get auto-updated with any code changes in the later.
- The converter will now also convert: account-wide variables, parties, guilds, guild storage and guild castles. At this point the only two things not converted are login-server-wide account variables (##, they belong to the login converter) and homunculus (the SQL save function is messy and doesn't lends itself to be integrated with the converter the way all the other functions are).
- Modified the char servers so they are compatible with the converter, the define TXT_SQL_CONVERT identifies sections unique to each char-server mode (this would had been a hella lot easier if both char servers where the same code-base instead of duplicated code <.<)
- Updated the Makefiles as per the new compiling requirements for the converter.
- misceffect2 will no longer cause the effect on top of the source object when it is the fake npc.
- Added check so that Frost Nova doesn't hides hitting animation on targets.
- Added the missing brackets around the trade logs condition check, thanks to Coltaro.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-30 21:54:01 +00:00
skotlex
41aa178964 - Added -DMAPREGSQL to Makefile, commented out by default for now.
- Fixed AL_WARP displaying "Unknown Area" selections when you don't have all memo points used up.
- Fixed alive_count not being reset on skill unitsetting, which leads to some groups not being cleared once all their units expire.
- Optimized Kahii, will now only show the amount of HP healed. Moved to skill_counter additional effect so it may trigger even on miss.
- SKA no longer blocks skills.
- Modified the AM_TWILIGHT* skills to require 200 medicine bowls.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-05-01 21:14:27 +00:00
skotlex
34fa41861e - Added -fstack-protector to the Makefile, commented out by default.
- Increased all chase/follow skill rates by 10 since their trigger rate has been decreased by that much due to the unit-data update.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-23 05:40:58 +00:00
skotlex
a9cc1889c2 - Applied Snufkin's patch to fix compilation on FreeBSD.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 16:17:47 +00:00
Valaris
2178a86317 AS OF SVN REV. 5901, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.  EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:10:48 +00:00
Valaris
fd99753f8e Clearing trunk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 16:00:45 +00:00
amber
616a90cc09 G++ is now the default on trunk [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@1443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 18:42:53 +00:00
veider
79aeb26b68 Fixed my bug in Makefile (broke FreeBSD build)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1385 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-03 00:35:56 +00:00
veider
4cbae353c0 Added NetBSD support into Makefile
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02 22:56:22 +00:00
amber
ae0db54f77 More g++ fixes to make it cleaner [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 20:23:57 +00:00
amber
c8d5eb58c4 Fix linux builds
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 01:17:30 +00:00
veider
7a6ae3f0e6 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1339 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-29 21:51:46 +00:00
celest
05997ee535 * Added auto create 'save' folder from 'save-tmpl' when compiling for the first time
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 02:44:22 +00:00
celest
201bec5cd7 * Moved /tool and /webserver to under /src and added 'make tools' and 'make web-server'
* Removed ladmin compiling from 'make sql'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-21 06:06:21 +00:00
amber
0b091d02ee PCRE updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 05:01:20 +00:00
(no author)
715bb751bf oops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-05 06:10:58 +00:00
(no author)
c372b3de89 more compile errors
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-05 06:02:39 +00:00
(no author)
0c863d750f * Added experimental code to generate a stack dump when it segfaults
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1027 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-04 12:12:48 +00:00
(no author)
304bad6c2c git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@995 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-01-26 02:03:07 +00:00
(no author)
d64c0856ec Removed libGC
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-25 18:14:14 +00:00
(no author)
f607f6f22f git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@991 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-01-25 15:43:48 +00:00
(no author)
e08d46b479 More G++ work
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-24 16:55:10 +00:00
amber
353af14c10 remove SVN_VERSION
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 06:09:45 +00:00
amber
4b4469b46a svn prop changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 05:51:53 +00:00
amber
d46146370c update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-30 03:47:18 +00:00
amber
7334101da8 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 21:16:45 +00:00
amber
0452a9c55f cxx updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-29 19:18:18 +00:00
amber
ed697ae20d foo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@822 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-27 16:30:02 +00:00
amber
3ef8036a2d foo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@783 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-25 02:50:53 +00:00
amber
a82be18550 quick
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-24 04:30:59 +00:00
amber
ae9084df77 packet changes went back into stable
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-24 04:27:49 +00:00
amber
589f92ecd9 more updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@590 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-17 04:42:48 +00:00
amber
98ef85a7f7 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-16 03:55:53 +00:00
amber
0db688c9a8 oops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-16 03:39:48 +00:00
amber
2348fad03b Updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-05 16:57:37 +00:00
valaris
e868e90267 * Initialized "day" variable in npc.c. [Valaris]
* Added @whozeny. Shows list of top 50 online players and their zeny sorted from highest to lowest. [Valaris]
* Added @happyhappyjoyjoy. Makes all players on server do a random emote. [Valaris]
* Removed -fu

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@269 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-20 14:13:23 +00:00
Shinigami
786f145f54 Added -funroll-loops argument to makefile to further increase performance
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-16 00:04:14 +00:00
valaris
e7043c465a Added -ffast-math argument to makefile to increase performance, thanks to kashy.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@191 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-15 10:48:02 +00:00
amber
d479e29aee Fixed some file types
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-14 16:18:26 +00:00
valaris
168f52a42a Added packetver 6 flag to makefile.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-10 21:59:25 +00:00
wizputer
420444c443 Defined SO_REUSEPORT to allow the servers to re-use ports if server crashes [Wizputer]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@83 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-09 07:31:12 +00:00
(no author)
706e785091 git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-11-04 23:25:09 +00:00