186 Commits

Author SHA1 Message Date
Lance
ed9f08388d - grfio.c fixed compile warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 14:10:17 +00:00
Lance
311e06085e * Loading waterheight aliases from resnametable.txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-02 04:09:00 +00:00
Lance
26864e6c9e Asssuming only __WIN32 (VC++) doesn't have strtok_r.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5839 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-01 06:02:43 +00:00
Lance
2c0794767e git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5812 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 15:07:59 +00:00
Lance
9eff393b23 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5811 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-03-30 14:57:36 +00:00
skotlex
ddf13379b8 - Fixed the infinite warp looping between Lutie and Lutie field 01
- Removed the limits.h file which just breaks compilation on *nix systems T.T


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 22:44:44 +00:00
Lance
59fe860e09 * Cygwin flag added for naughty Cygwin GCC
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5771 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:39:11 +00:00
Lance
5d286a9b08 * GCC on Cygwin still complaining, resorted to including limits.h in malloc.h
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5770 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:33:11 +00:00
Lance
14fe8c03e8 * Refixed the fix with a constant list for Win32 users - limits.h (imported from MSVC)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5769 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 13:23:53 +00:00
skotlex
f2d2edd1cd - Changed status_point/skill_point to unsigned short. Adjusted the code as necessary to prevent overflows.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5762 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-27 01:24:34 +00:00
skotlex
352f81eb40 - Fixed jstrescapecpy crashing when you pass a null string to parse.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-26 05:47:22 +00:00
skotlex
b394c61da7 - Some cleaning around the return to egg code. Pets should stop duplicating now.
- Some cleaning of the egg hatching routine to prevent spawning the pet if the egg can't be found in the inventory.
- Removed some autoadded data/ strings in grfio.c module to see if it helps with the data_dir configuration.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5736 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-24 19:29:25 +00:00
skotlex
7a8371273a - Merged the unit_data structure from jA for handling unit-related data (attack times, walking, auto-attack timers, skill related data)
- Modified unit_skillcastcancel to receive flag&2, which stands for "cancel casting only if current skill is cancellable"
- Battle config options changed from yes/no to BL_TYPE settings: skillrange_by_distance, skill_noreiteration, skill_nofootset, gvg_traps_target_all, skill_log, attack_direction_change, auto_counter_type
- Clif.c will disconnect sessions that send an unknown command packet above 0x30000 instead of just ignoring it.
- Cleaned up/rewrite of the pet ai, same for pet_calc_pos
- Implemented use of mob variable attacked_players as it is used on jA
- Cleaned up error reporting during mob-skill loading to be less spamy with non-loaded mobs.
- Corrected water_height reading. I forgot to give credits to LittleWolf for providing the water-reading function :X


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5707 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-22 23:58:16 +00:00
Lance
4c65151fb5 * Fixed warnings on compilers again.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5654 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-18 01:43:46 +00:00
skotlex
60d11ae90c - Increased the range for unlocking out of Close confine.
- Reverted some changes in cbasetypes.h which actually broke compilation.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 20:18:40 +00:00
skotlex
5f8c670ba3 - Added a few dummy times in skill_cast_db for some GS skills.
- Autoskills now won't trigger on maps where said skill are not allowed.
- Some compilation warning fixes


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-10 19:26:56 +00:00
skotlex
26374a61c1 - Moved a bunch of sc_effects that should be cancelled on hit from mob_damage/pc_damage to battle_damage.
- Changed ITEM_NAME_LENGTH to 50.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-09 16:54:36 +00:00
skotlex
8a67a7cf35 - Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:11:50 +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
skotlex
f6b78466ab - Fixed the CL_WHITE define, thanks to FlavioJS
- NPC break equipment stuff now has a 1.5% per skilllv success rate.
- pc_setpos won't random warp players if placed on top of Moonlight Petals
- Removed the check in clif.c for npc_shopid as the client never sends a packet when the trade is cancelled...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 04:04:24 +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
skotlex
7429b0cd57 - Applied the suggested fixes by Joshuaali to fix the compiling of the sql map server on Win32 systems.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5308 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-17 13:48:04 +00:00
Valaris
ad49453e0e * Removed the conf sql code for now. Maybe will continue later with that project.
Lowered the irc keepalive timer, and added some checks for use_irc that should have been there.
	  Added a return line \n to the beginning of the title screen. [Valaris]


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 00:09:29 +00:00
skotlex
d69479b946 - Added define clif_deadsit to send the dead state into player packets if the player is in trick dead state.
- Venom Splasher always hits (but splash damage targets can still avoid it)
- Using autoloot with no arguments now toggles it between @autoloot 0 and @autoloot 100%
- Falcon Assault now takes Blitz Beat lv5 as base damage.
- Fixed pc_makesavestatus not updating status.option correctly.
- Corrected Waterball so that higher levels can do insane amount of hits.
- Altered slave behaviour. No more random walking, will stay within 2 cells of their master.
- Reverted the Summon Slave behaviour to not adjust level based on number of current slaves.
- Coma no longer sends SP to 1.
- Updated Meteor so that when level 11 or more is casted, the area over which meteors fall is tripled.
- Dark elemental characters are now inmune to Curse.
- Fixed sc_data saving to sql buffer building method. Thanks to its_sparky.
- Changed the map zone reading from using pow to a bit shift.
- Experience has now been changed to unsigned int, and is read as such from the dbs.
- Increased HT_DETECTING seek range to 7x7
- Added function map_foreachinrange which actually checks distance of nearing objects (unlike for each in area which uses a square area), may come handy for future code.
- Corrected Venom Splasher: Being hit does not cancels it, works at 75% or less of target's HP, being hit normally while under the count has a chance of causing poison. Damage is +400% + 50*lv%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5204 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-06 18:38:51 +00:00
skotlex
1d94ae4856 - Trick Dead makes you stop walking now.
- Falcon Assault only does 1 hit now.
- Soul Burn is not affected by Lex Aeterna, not affected by target's cards.
- Freeze and Stone take preference over Benedictio
- Opt1 inducing SCs fail if the target has already another Opt1
- Fixed areamonster when the passed class is negative
- Removed the clear screen when launching the server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5156 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 19:14:28 +00:00
celest
f151867517 * Fixed an overflow in grfio
* Changed resnametable loading behaviour
* Increased grfio filelist limit to 1048576

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 11:57:21 +00:00
Valaris
ad14b64c9d Updated Common Makefiles to point at the new Changelogs, thanks to SantaPoring for pointing that out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-29 17:30:28 +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
celest
ad4fcfbe12 some small USE_MEMMGR changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 14:52:15 +00:00
celest
8114bec659 * Added SERVER_TYPE to core for future plugins support
* Added support for the UPNP plugin to release port mappings and re-close firewall ports on shutdown
* Updated showmsg

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1409 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 14:32:04 +00:00
amber
394d162391 Fixes for logging trades [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 19:32:34 +00:00
celest
d9881083d4 * Updated showmsg with Shinomori's improvements
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 18:06:30 +00:00
amber
624f5b09c1 pull out upnp as default
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 17:52:53 +00:00
amber
a66f0483b2 Fix show message
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 17:45:11 +00:00
amber
9ef261f8c4 update build failure
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 17:12:05 +00:00
celest
c7d66f2207 some aesthetics changes ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1399 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 15:08:47 +00:00
celest
308b7915ff * Added dll.h
* Update base code for the UPNP plugin loading

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 14:48:14 +00:00
celest
4773e16492 git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1397 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-04-04 14:24:07 +00:00
celest
e5fba075ac * Updated ShowMessage functions to use vprintf
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01 08:36:28 +00:00
codemaster
5ecdba1c5b common/lock.c: Fixed an error dealing with unistd.h not being Windows' standard.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 20:04:54 +00:00
celest
4109792003 * Added back up old files in 'save' before saving new data
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 10:56:19 +00:00
amber
83500a3c58 Finished native SQL projects [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 04:02:06 +00:00
amber
692245140a Made the map-server build cleanly using Microsoft Visual Studio [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 19:49:57 +00:00
celest
88cfcb9432 * Added base code for loading Ser's UPNP plugin
* Added 'idle_no_share' to battle_athena.conf
* Added item_findingore.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 17:10:03 +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
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