142 Commits

Author SHA1 Message Date
skotlex
a969cee4d2 - Added CELL_CHKSTACK to check if a map cell is stacked (CELL_NOSTACK server mod)
- Added flag 0x3000 to path_search to specify that path searching should go through stacked cells. Used for skill_wall_check calls.
- easy path_search will be successful in CELL_NOSTACK mode if the search fails only on the target cell (it is presumed the target cell contains the character one is trying to reach). The walk routines will take care of stopping the character from walking into another one when stacked.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-13 04:04:46 +00:00
skotlex
81b7073131 - Changed the server's default MAX_LEVEL capacity to 1000.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 21:28:15 +00:00
skotlex
2f074dc2d4 - Modified map_searchrandfreecell to always do a check on a 9x9 area around the target tile, and to return the x,y coordinates modified with the new target.
- Modified map_addflooritem so that the type is &1 for mvp drops and &2 for stacking checks, when &2 the item to drop cannot stack on the floor, otherwise it has no stacking limit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-10 14:21:52 +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
28c32a9532 - Improved the NPC timer system to enable to have multiple timers going on at a time with different players attached to each. Now npc event timers are of two types: attached or global. The global timers don't have a player attached and can be started/halted by anyone. The character timers have a player attached, and they can only be stopped by a script that has the same player attached.
- Now player attached scripts will auto-abort when the atteched player quits the map server.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5167 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 21:26:53 +00:00
skotlex
697d29d7d4 - Fixed a typo bug in SC_STAR_COMFORT handling.
- Fixed a possible crash bug in SC_POISONREACT handling.
- Simplified the skill trigger code for ST_PRESERVE, SG_FUSION, SG_*_COMFORT
- Unified the status change variables into a single structure (sc_count, opt1, opt2, opt3, option, and the array of status change data) which should make it easier to handle sc related stuff.
- TK_DODGE now won't trigger if your opt1 is set ;)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 17:17:09 +00:00
skotlex
cff16d36a9 - Autoloot now uses the item's base drop chance rather than final drop rate to determine if it should autoloot the item or not.
- Fixed super novices getting +10 to all stats temporarily whentheir death count isn't zero.
- Fixed Kahai displaying HP-SP as the total healed instead of HP
- Cleaned up skill_repairweapon to prevent crashes when the target vanishes/changes/whatever before the weapon to repair has been selected.
- Parsing the Storage/Guild Storage from the char server will now fail if the storage has been modified and not saved yet.
- Being hit now cancels confuse.
- Added back the bleeding icon.
- Fixed Combo Finish Soul Linked Effect being a 11x11 area o.O


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 16:19:31 +00:00
Komurka
05eba2d392 * Added 'restricted' mapflag, based on lordalfa patch
- you can set restriction zone on map (see mapflag/restricted.txt)
- you can turn off item usage on certain restricted map in item_noequip.txt
- you can turn off skill usage on certain restricted map in skill_nocast_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 14:24:26 +00:00
Komurka
152091d470 Implemented bonus2 bSPVanishRate for Dark Priest Card - it isn't finished - I get '[Warning]: pc_bonus2: unknown type 0 50 10!' ~.~
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5109 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 08:16:31 +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
DracoRPG
480a67ddb8 Cards and item updates, 4 different bUnstripable effects
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-02 20:34:21 +00:00
celest
0ff3b351da * Fixed a potential crash in pc_walk in Win32 builds
* Added bAddEffWhenHitShort and changed bAddEffWhenHit back to all physical damage

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-01 08:37:31 +00:00
amber
3cff86b8b8 cleanup compile warning
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-31 19:45:25 +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
celest
72f63ee03e * updated map server to jA1137~1159
* Some tidying up in mob.c and skill.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-30 11:44:12 +00:00
veider
de7940888a git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1316 54d463be-8e91-2dee-dedb-b68131a5f0ec 2005-03-28 21:25:11 +00:00
celest
37851efb84 * Added 'map_charid2id'
* Changed monster damage logging to save char ID's
* Implemented 'event_script_type'
* Set Emsolute Develop as a learnable skill
* Updated 'require_glory_guild'
* Allow monsters to cast skills near themselves even when monster_nofootset is set to 'yes'
* Print number of online users in online.txt/.html even if there's only 1 user

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-24 15:31:28 +00:00
celest
898d7024a9 * Added' require_glory_guild'
* Fixed some --addrace variables' sizes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-23 17:20:41 +00:00
celest
b9a1f0d7fd Check changelog ^^
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-22 16:31:56 +00:00
celest
d30a426160 * Added 4 new card effects from 3/15's patch
* Added 'enable_ip_rules' to packet_athena.conf
* Updated socket debug messages to be more readable

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-20 12:07:52 +00:00
celest
0b31d2f62b * Added getrefine()
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-19 08:13:37 +00:00
celest
96af6068fa * Fixed the bDamageWhenUnequip effect dealing damage when unequipping unrelated items
* Fixed Incantation Samurai card reducing hp too quickly

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-18 07:00:31 +00:00
celest
fb073b6c49 * Added uptime logging support whenever the server closes
* Fixed 'make clean' not removing the .o files in /common

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1207 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 15:41:38 +00:00
celest
055dde5bb4 * Updated core and map-server to jA 1115~1137
* Fixed a typo in Volcano

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1206 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-07 11:35:13 +00:00
Lupus
73879f7131 fixed Emotion flood (fix from Freya)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1198 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-03-02 08:15:47 +00:00
celest
2468e69b8a * Updated Endure, Tiger Fist, Chain Crush, and Palm Push Strike
* Some rewrites on the passive guild skills effects

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1192 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-28 05:08:52 +00:00
celest
d24746468b * Added bAddItemHealRate
* Fixed a crash if adding an offline player to a party
* Fixed a crash with Warp

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1169 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-23 15:59:40 +00:00
celest
fea0900092 * Corrected Spiral Pierce's hits in the skill_db
* Moved /common/*.o into a obj folder when compiling 
* Updated core and map server to jA 1094~1115

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1162 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-22 16:08:24 +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
celest
509039ac6b * Added skill requirements for the new guild skills
* Allow Emergency Recall to be cast in guild castles
* Add 'minimum job level required' for skill_tree reading
- Berserk now requires job level 50
* Added Spring Trap to be able to trigger ankle snare traps that aren't activated yet
* Added a fix in guild.c by Mellowz
* Some rewrites on the pet skill bonuses system
* Check whether a monster is still alive before starting a status change

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1142 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-20 14:11:43 +00:00
celest
a32145fde2 * Added bSubSize, bHPGainValue, and bDamageWhenUnequip
* Updated bSPDrainValue/Rate
* Set baby class players' size to 0(small)
* Fixed item_db2.txt reading printing wrong number of entries read
* Fixed @allskill not giving the newer stalker, whitesmith and creator skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-19 08:04:33 +00:00
celest
25d104d8c4 * Added bAddRace2
* Added mob_race2_db.txt
* Updated description for backup_txt in char_athena.conf a bit
* Added some suggestions by Poki#3
* Use the event names from script_athena.conf to check whenever a player event trigger is being read/set
* Removed an unused save/bank.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1131 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-18 07:07:25 +00:00
celest
528ed3e19f Added 3 more of the new card effects
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-16 12:46:21 +00:00
celest
899b3ebeeb * Fixed a typo in quests/all_quest.txt
* Set 'killerrid' and do PCKillEvent before calling PCDieEvent
* Added some new script event related options to script config
* Added 10 of the new card effects on the 2/15's patch
* Minor rewrites on self and enemy weapon/armor breaking
* Added missing code for 'bBreakWeaponRate' and 'bBreakWeaponRate' effects
* Added missing code for 'bAddStealRate' effect
* Removed redundant 'infinite_autospell' in map_session_data

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1116 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-16 08:25:45 +00:00
celest
cb9657da0e Unfinished
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 15:20:49 +00:00
celest
e35474dbaa * Added experimental code to generate a stack dump when it segfaults
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-15 08:55:36 +00:00
(no author)
12d02b95e5 Merged jA's equipment breaking system into the current one
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-13 04:25:58 +00:00
(no author)
bc57643fe7 and forgot the skill.c again [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-12 22:04:16 +00:00
(no author)
01b5716834 fixing Epirata's warnings and errors [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1095 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-12 21:35:01 +00:00
(no author)
5365aefea8 * Removed old code for Sharp Shooting
* Merged Shinomori's code into map_foreachinpath

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-12 14:04:21 +00:00
(no author)
d6688a9f90 * Reduced memory used for the skill_tree DB by 30+mb
* Added script commands isday and isnight
* Updated Sharp Shooting, Ankle Snare, Magnum Break, Tiger Fist, Devotion, Soul Burn

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1072 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-11 10:17:53 +00:00
(no author)
d96cc5a331 * Added crash check for Ice Wall
- reduce mob_data->size variable to 1 bytes
- change from if-else to switch statements in buildin_strmobinfo

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-02 04:26:34 +00:00
(no author)
2841175718 Edit for Upa
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1016 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-02-01 02:14:43 +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)
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)
5618dc9edc Made some more changes, reverted some old ones
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@969 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-23 21:52:55 +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
celest
0e8dc29b2d * Completed adding packet DB reading
* Added Shinomori's suggestions for npc timers,
* Removed checking for script event timers' length, and added Shinomori's changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@947 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-01-10 15:25:24 +00:00