25 Commits

Author SHA1 Message Date
FlavioJS
e75a8eca56 - Change strncpy to memcpy when parsing switches in the script engine since it's guaranteed to be a word of that size (skip_word).
- Made scriptlabel_db duplicate the key. When str_buf is reallocated, the keys in scriptlabel_db could become invalid, causing a crash in npc_convertlabel_db.
( removed the readded >=0x81 equivalent )
- Now npc_convertlabel_db clears scriptlabel_db after using it.
- parse_script has an extra parameter options. At the moment it only indicates if scriptlabel_db should be used or not.
- Fixed "UINT_MAX undeclared" on systems that don't declare it in limits.h

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-22 05:27:03 +00:00
skotlex
b4ef291d27 - Added missing include of system header limits.h to timer.c
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19 17:56:10 +00:00
skotlex
d882e5030b - Reverted the mob ThinkTime update, that field is again aDelay as it apparently should be.
- Fixed one small compilation error.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19 13:41:25 +00:00
FlavioJS
43256aa77e - Cleanups or minor changes.
- Now addtick_timer invokes settick_timer, so keep an eye for whatever timer issues it's supposed to have.
- Removed the flush_fifo from clif_parse_TickSend until the socket problems are fixed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19 09:15:00 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
skotlex
ebc1f2bc02 - Moved the packet_len variable in login.c to the login parse case, since it's used nowhere else.
- timestamp check speed-up in showmsg.c
- Swapped the blank ShowMessage on server startup to a printf
- Homunculus intimacy will go back to 500 on evolution.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 14:21:02 +00:00
toms
a2ce0be45b The "delete_timer error/no such timer" report will now print the related function
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-01 23:26:08 +00:00
Lance
26500644dd * Optional macro MEMSET_TURBO for faster low-level memory initializations.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8499 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-27 06:38:17 +00:00
skotlex
c0652d7916 - Added back the char-sql server sending the GM list when the map server connects.
- Fixed a bug in the add_timer_interval error reporting.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20 22:16:19 +00:00
skotlex
1fb95bcf98 - Fixed Taekwon stances not triggering.
- Added atcommand @exp
- Added error reporting when add_timer_interval receives a negative/0 interval value.
- Fixed a possible infinite recursion bug with splash self skills.
- Modified the way firewall_hits_on_undead works, to loop and invoke multiple skill_attacks based on the value.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-20 03:14:49 +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
dfd7258882 Fixe compile time problems with our mixed C++/C conformance
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-29 06:18:21 +00:00
shinomori
e2b4dfda4e do not access freed memory [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-27 13:41:03 +00:00
celest
d85c63aa4b * Fixed some memory leaks with the new timer changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1304 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-27 10:30:49 +00:00
Lupus
0254a658b1 timers optimization / speed up / bug fix : no freezing mobs
ported from Yor's

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1284 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24 17:18:26 +00:00
(no author)
85592f9a38 * Fixed a bug in gettick cache when compiling in Windows
- Changed "read_map_from_bitmap" to "read_map_from_cache" in map_athena, "map_bitmap_path" to "map_cache_file"
- Fixed item effects not showing when only one was used
- Fixed a bug in Safety Wall
- Allow only either Storm Gust or Lord of Vermillion to cause damage if stacked together
- Added path_search_long, map_find_skill_unit_oncell

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-26 14:28:19 +00:00
(no author)
778e804dd6 update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 20:38:44 +00:00
mc_cameri
20cd4f81bc git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@830 54d463be-8e91-2dee-dedb-b68131a5f0ec 2004-12-28 04:07:07 +00:00
codemaster
f16fea0829 * Updated makefiles to new strlib locations [Codemaster]
* Moved strlib.h and strlib.c into the common directory [Codemaster]
* Updated a bit of jA 1081 - it's not completly updated yet!!! [Codemaster]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@681 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-20 20:11:23 +00:00
amber
b2a04b6bdd oops.. missed some
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@448 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-12-05 03:50:24 +00:00
codemaster
d4cd760e3c - Updated to most of jA's 1067Added free()'s
git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-24 22:24:23 +00:00
Lupus
26fc55602c * timer.c static int timer_heap_max=0; //fix by Shinomori from eA forums
ititialize static var!!!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2004-11-22 16:21:43 +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
(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