4932 Commits

Author SHA1 Message Date
skotlex
c6fb721bd8 - Meh, the status change start switch was supposed to be minimized, not altogether removed :X (the idea is to let anything with sc_data to go through)
- After a guild master change, the new gm has his guild skills blocked for 5 minutes.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5171 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 14:09:02 +00:00
Komurka
78da77b702 Fixed txt-converter compilation errors (ASCII again + added missing ers.o to makefile)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5170 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 10:21:56 +00:00
Valaris
432aefc244 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5169 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-02-03 02:10:26 +00:00
Valaris
dacc1b195d * Crash fix in npc.c npc_timerevent.
was: struct timer_event_data *ted = (struct timer_event_data*)ted;
  changed: 	struct timer_event_data *ted = (struct timer_event_data*)data;
  Skotlex, I am assuming it's calling from the passed data var, If I'm wrong
  please fix it.  I just know what was there was definitely not correct. [Valaris]


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5168 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-03 01:51:44 +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
7d7c9b8324 - Fixed some includes in skill.c and npc.c, thanks to 252-rer for finding it out.
- Applied the entry reusage system to the battle delay damage structure.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 15:35:27 +00:00
skotlex
0496215b70 - Fixed the map server complain on the default user/password
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5161 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 13:17:48 +00:00
Valaris
3e1f72d709 * Fixed compile errors and warning in chrif.c and charsave.c. [Valaris]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5160 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-02 01:01:18 +00:00
Valaris
3983f053ea git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5159 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-02-02 00:50:39 +00:00
skotlex
d9f1d70901 - Map and char server now will complain if they are run using the default user/password set.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5158 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 20:56:48 +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
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
celest
52384c3a70 Fixed plugin compile error
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5153 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-01 16:58:01 +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
skotlex
d13956c142 - Fixed skill_check_cloak to use the current skill level of the cloaking skill and not pc_checkskill() to know if a cloaker away from a wall should be uncloaked.
- Likely fixed opening guild storage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5146 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 18:22:14 +00:00
skotlex
b488f26468 - PF_SOULBURN no longer ignores mdef.
- HW_GRAVITATION should now invoke auto spells.
- Added function battle_calc_return_damage to unify the return damage code.
- Added autospell triggering to returned damage from normal attacks.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5141 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 17:00:34 +00:00
skotlex
3e1a4e221c - Cleaned up Summon Slave mob skill to only summon number of missing mobs to complete the skill level (that is, SS level 5 will always bring the total count of slaves to 5, never above)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 15:51:23 +00:00
skotlex
cf99ac6795 - Fixed being able to Encore skills you no longer have in your tree.
- Added no HP regen while Bleeding, -25% ATK and ASPD penalties as well.
- Added VIT reduces duration of confusion.
- Added MSC_SPAWN "onspawn" mob skill condition.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5136 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 14:44:39 +00:00
skotlex
4f5babb97d - Changed the exp tables format.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-31 13:45:04 +00:00
skotlex
523fed742d - Some compile warning fixes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5123 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 17:31:36 +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
a09b779ee7 Moved MVP log code so it can log all MVP, not only when player gets MVP item, thanks to Hatred_
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5113 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 12:36:11 +00:00
Komurka
28c7a61687 One more small fix on 'bSPVanishRate' (tsd->status.hp * sd->sp_vanish_per/100 -> tsd->status.sp * sd->sp_vanish_per/100)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5111 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 10:02:11 +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
Komurka
af20255b53 Applied lordalfa patch - you can now forbid usage of certain cards on PVP/GVG/WoE defined in item_noequip.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5103 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-01-30 01:00:54 +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
171609d4a2 * Readded @disablenpc
* Fixed @reloadscript not removing old NPC's and monsters first
* Some changes in mob and NPC unloading
* Changed the original @disablenpc to @hidenpc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 15:14:35 +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
e381a3d6cd * Fixed HP Conversion to properly not reduce HP if SP is full
* Updated Defender

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-07 13:42:03 +00:00
celest
67a9cafa79 * Fixed a crash in clif_send when checking packet version
* Fixed a crash in Deluge, Volcano and Violent Gale
* Allow super novices to rent carts from the Kafra

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06 11:55:55 +00:00
celest
eba2fb10e6 * Skip partner checking when calculating status with Marionette Control on
* Fixed plagiarised skills become unuseable after saving character
* Fixed double skill fail messages for stone curse
* Added modulus by zero check to rand()

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06 09:00:18 +00:00
amber
de69f62bf9 Fixed and tweaked error messages in npc parsing [MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-06 05:19:56 +00:00
Lupus
d082b6aa4e added better filters into logs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 20:27:34 +00:00
celest
76c6d019db Fixed compile error, sorry ^^;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 17:11:16 +00:00
celest
1ea4b4dc0c * Fixed skill tree entries for Vulcan Arrow, and Throw Arrow
* Fixed damage reflecting
* Fixed Backstab to not have a push back effect
* Fixed auto spell to not taking SP
* Fixed Sanctuary to have proper healing count

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1412 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 17:00:51 +00:00
celest
3feabb0c74 * Simplified Valaris' online_timer
* Updated Fogwall, Spiderweb, and HP Conversion
* Adding saving character online/offline for TXT char and login (unfinished)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1411 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-05 14:57:03 +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
27326acd4e * Removed anti-freeze system for login and char
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1396 54d463be-8e91-2dee-dedb-b68131a5f0ec
2005-04-04 14:15:49 +00:00