57 Commits

Author SHA1 Message Date
ultramage
9e7eb8804f - Removed the TURBO socket mechanism - it was in fact just using a variable to cache a few arithmetic operations (premature optimization)
- Since the fifohead mess is gone, fixed leftover bad code structuring

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10599 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-05-21 18:40:29 +00:00
ultramage
74295231e6 * Discarded extra deflate function needed for afm reading
- as a result, discarded the whole chain of support functions, .c files and includes needed to make that one function run
- also removed zlib compile/link dependencies where they are not needed
- reduced the whole zlib package into two core include files
- adjusted makefiles / project files to reflect this change 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-17 10:03:30 +00:00
ultramage
cf77f95ed1 fixed makefile typo, maps_athena typo, svn:eol-style native for some files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-12 17:37:38 +00:00
toms
9f6d32d8de Removed an ugly cast in socket.c
Fixed Makefile (-Wno-unused-parameter was added twice with gcc4)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10205 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-10 14:34:04 +00:00
ultramage
5d3ea3da27 * Played around with MinGW a bit today...
- adjusted code so that it handles mingw-specific compatibility problems
- adjusted the makefile, mingw is not a subset of cygwin
* As an experiment Corrected many /W4 warnings on the txt login server

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-09 00:46:55 +00:00
FlavioJS
14e2d760f9 * Script engine:
- calling functions without using the return value doesn't generate warnings
  - more work on Ticket #41
* Took care of two warnings and a minor change to the makefile.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-18 16:07:16 +00:00
toms
4670b25f7b Added GCC4 autodetection for -Wno-unused-parameter and -Wno-pointer-sign in Makefile
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-03-15 15:28:22 +00:00
skotlex
c6d349bcee - Made it possible to modify the server packet version from the Makefile.
- Merged packet 2b22 (from my server) to handle quick fame updates whenever someone's fame in the ranking changes, but no position swaps take place (prevents having to resend the whole fame list in such events, you lazy Draco <.<)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-28 16:42:34 +00:00
ultramage
628e944513 Added Krade's makefile fix for 64bit compilers
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-24 16:33:23 +00:00
ultramage
7390d2d950 Removed graph, httpd and webserver
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9757 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-02-01 01:33:37 +00:00
FlavioJS
15258dfdb0 - Moved md5calc to common
- Answered Skotlex's question and fixed "warning: comparison is always false due to limited range of data type" by restricting script words to ASCII characters only.
- Applied "svn:eol-style native" to makefiles and project files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-21 01:16:30 +00:00
skotlex
e445c551c2 - Fixed SC_STRIPWEAPON failing on two-handed weapons.
- Minor changes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-20 00:44:52 +00:00
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