4932 Commits

Author SHA1 Message Date
Inkfish
3acf4d6c67 * Fixed possible memory leaks caused by invalid parameters of autobonus
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14130 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07 15:39:10 +00:00
Inkfish
1d4c819268 Added a flag to indicate if the script of an autobonus was parsed for the sake of resource saving.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14129 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-07 15:29:24 +00:00
Inkfish
b0d3e8b0cf * All Songs/Dances now create a 3 second delay before Adaption can be used.
* Fixed unit still not being able to move when fiberlock is removed by Magnetic Earth.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14124 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-04 10:08:15 +00:00
ultramage
6376c2255c Fixed gcc compilation warnings in r14120.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14121 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 17:57:12 +00:00
Gepard
f9cff9c6e0 Extended broadcast implementation:
- support for font formatting, like font-size
 - `bc_woe` flag to allow client-side filtering of WoE announcements
 - new broadcast packet 0x40C  

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14120 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 15:56:54 +00:00
L0ne_W0lf
8d0be03e8a * Added battle_config.mob_slave_keep_target config option (monster.conf)
- When yes (default) MVP slaves will always keep their prior targets.
- When no the old behavior of switching to the closest target is enabled.
* Updated MAX_MOB_DB to 4000 (Monsters are starting to appear in the 2k ranges)
* Changed default respawn time (when 0) to 500 from 5000.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14119 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-03 01:39:45 +00:00
Inkfish
b9c5a5fc32 * Quick fix to char command checking gm level of the target player instead of the command user (bugreport:3255).
* Disalbed @jump/@jumpto usage when dead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-02 14:31:24 +00:00
L0ne_W0lf
a39d3e704f * Implemented the fix for Slim Pitcher working on WoESE objects (bugreport:3618).
* Added SC_SPIRIT to the list of buffs that are dispelled when the player logs out.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-11-01 19:23:34 +00:00
Inkfish
e8d9984582 * Cast time of Emergency Call is doubled if you master of High Jump.
* High Jump can't be used on PvP maps.
* Fixed a potential null pointer from last commit.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27 14:46:42 +00:00
Inkfish
c50cacf28d Fixed quest will never get erased when it's the only quest you have.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-27 13:54:23 +00:00
Inkfish
2144b13b80 Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 09:42:44 +00:00
L0ne_W0lf
2c54b30746 * The status SC_INVINCIBLE now reduces all damage to 1.
- Official behavior, and allows players to cancel NPC_ALLHEAL casts.
- If battle_config.invincible_nodamage is true, reflected damage is still 0.
* Minor updates and supporting data for Sealed Shrine.
- Zone 5 is now designated for sealed shrine restricted skills.
- Added new quest_db entries for Sealed Shine cooldown.
- Updated mob_db entries for Orc's Memory Instance. (improper stats)
- Updated Land Mine to have a splash effect. (Provided by Daegaladh)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14101 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-26 02:33:53 +00:00
ultramage
a38fddad27 Hardcoded the even label config settings from r14097.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14099 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 11:59:09 +00:00
Inkfish
da07c3b06e Reverted renaming foreach functions and create a new one for OnTouch so that last commit will hopefully break NOTHING in use.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 11:20:47 +00:00
Inkfish
42987f61ad * Implemented the official version of 'OnTouch' named as 'OnTouch_'.(it can be defined in script_athena.conf)
* Adapted 'map_foreachinarea' to 'map_forsomeinarea' so that it allows you to specify the number of bl you wanna operate on.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14097 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-25 09:38:33 +00:00
ultramage
fa2f34ed86 Reverted the previous change to OnTouch not triggering for invisible chars.
While this is the official behavior for OnTouch (as opposed to OnTouch2 which we don't have), this change would break npcs that assume you can't just walk past them cloaked.
If there is a real need for implementing this behavior in the future, it should be done in a backwards-compatible way if possible (although, inverting the meaning of OnTouch/OnTouch2 would cause a lot of confusion).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14096 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24 10:45:36 +00:00
Inkfish
7b46d2c473 * 'OnTouch' script shouldn't trigger when you are invisible.(same as warps)
* Fixed character doesn't stop walking when walking into OnTouch area of an NPC who doesn't have an OnTouch label. (bugreport:2700)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14095 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-24 03:03:30 +00:00
Gepard
f5024cfa8d Fixed login-server using already removed auth_node. (bugreport:3254)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14094 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-23 15:52:39 +00:00
ultramage
b0bf56cf2e Removed the char_rename setting in favor of a PACKETVER define.
Inverted the way renames are counted: '0' now means 'no renames left' (the default).
Please make sure your database matches this new behavior before starting the server.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14093 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-18 11:29:30 +00:00
ultramage
6c8293ed15 Ported over several TXT online code fixes from charmerge (autotrading chars couldn't be kicked due to a missing update).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14091 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-15 13:19:32 +00:00
Inkfish
58c0099b66 Removed 'char_max_rename', extended 'char_rename', fixed compatibility issues.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14089 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 11:46:24 +00:00
Inkfish
0088d3754c Fixed an error when 'char_rename' is set to 'no'
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14088 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 09:51:47 +00:00
Inkfish
137e993d52 Partially revert r14085, NPC names are allowed to be more than 24 character long in Aegis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14087 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-12 08:57:02 +00:00
Inkfish
6abe64b1d7 NPC should only have a 24 characters long name including EOS. (bugreport:3599)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14085 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11 04:55:57 +00:00
Inkfish
a2b652aa87 Added character rename function.(topic:225576)(written by pakpil and fixed by me)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14084 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-11 03:07:52 +00:00
Inkfish
d9c5d83bda Fixed rental items can be moved into guild storage from cart.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14083 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-06 02:24:10 +00:00
zephyrus
115d6a3fd0 - Implemented new packets for rental items (from Jobbie and Natz and fixed by me).
- Rental items now can be moved to storage and cart.
- Autotrade cannot be used when user is dead, and it's not dispelled if user dies to prevent abuse.
- Fixed pc_checkitem to do a proper item check and remove.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14082 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-04 21:42:15 +00:00
brianluau
ebc71ca92f - Added a missing space in help.txt (bugreport:3632)
- Removed duplicate lines in item_trade.txt (bugreport:3630)
- Fixed typos in Turbo Track waitingrooms. (bugreport:3628)
- Removed a duplicate comment line from r14003 that caused a warning.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-04 19:58:23 +00:00
Inkfish
f1bcfea0b4 Marionette Control now has an infinite duration.(bugreport:2542)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14078 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-02 02:06:03 +00:00
Inkfish
df4857ca11 Fixed a damage underflow (bugreport:3624)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14077 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-10-02 01:56:56 +00:00
Inkfish
d5c7d9e747 Added supports for Soul Bound.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14073 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-23 12:06:25 +00:00
ultramage
84cc5b7513 Disabled ip checking during auth, since it lead to a lot of confusion.
This essentially reverts the default behavior to before r10021.
Re-enabling should only be reconsidered after the subnet mechanism is made fully automatic.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14069 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-20 22:09:59 +00:00
Inkfish
ec8b12948e * Duration of SC_STONE is not reduced by MDEF.
* LexAeterna is allowed to be used on petrifying targets.
* Mobs won't attack back if StoneCurse fails.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14064 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-17 10:35:40 +00:00
Inkfish
2c629f0173 * Progressbar aborts when player is attacked.
* Do not stand if damage is from yourself or has no source.(bugreport:3582)
* Any mobs killed by party members within view range are taken into account in questlog.
* 'unit_walktobl' now uses at least 1 as the range since 'unit_can_reach_bl' always sets the target coordinates 1 cell away from the target block.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-13 08:31:19 +00:00
Inkfish
fbfe547333 * Clarified the names of some questlog functions and eventually implemented kill counts updating.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-12 02:43:02 +00:00
Inkfish
275a7b4387 Added missing memmove() when adding quests. Sorry, can't be more careless...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-04 11:50:21 +00:00
Inkfish
b7b893918c add missing memmove (follow up to r14036)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-04 11:38:09 +00:00
Inkfish
6b89176cc9 * QuestLog Fix.
- mob id no longer stores in sql.
- counts won't increase if you have killed sufficient mobs.
* Fixed Merchant's medalion wrong aspd bonus (bugreport:3554)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-09-04 11:14:27 +00:00
brianluau
12c9a5a877 - Fixed typo in Hyegun_Hat (5367). (bugreport:1935)
- Added missing bonuses to Mask_Of_Ifrit (5420). (bugreport:2188)
- Added better examples for some documentation.
- Fixed item loss from mail if you are OVER 100% overweight. (bugreport:1862)
- Fixed 'waitingroom2bg' checking wrong parameter. (bugreport:3330)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-27 05:14:42 +00:00
ultramage
e6ee176e74 Fixed mercenary info not being re-sent after using @refresh (bugreport:2335).
Patch provided by [Diablo].

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-26 22:41:09 +00:00
Inkfish
88abf3daee Implemented Progress Bar.(topic:207933)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-25 13:41:58 +00:00
Inkfish
8b3aeaa2ee Fixed Teleport through Hocus-Pocus skips menu. (bugreport:3513)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14020 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-22 17:55:21 +00:00
Inkfish
e9379c3be0 Fixed the wrong packet length makes client choke when add_quest packets are sent.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21 07:16:40 +00:00
Inkfish
b0d8294419 Added bMagicHPGainValue and bMagicSPGainValue.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14018 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-21 06:21:44 +00:00
Inkfish
a464adf45b * Some fixes for Heat
- won't cancel combo wait. (bugreport:3228)
- should work with hp/sp drain bonus. (bugreport:3507)
- consumes 10 sp if the attack doesn't connect. (bugreport:3038)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14017 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-20 01:23:25 +00:00
Inkfish
feb7cc2d61 Equipment DEF penalty shouldn't be applied to players in Mental Strength.(bugreport:3454)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-18 08:25:04 +00:00
zephyrus
16642d0c14 - Added missing #includes to fix some linux warnings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-16 19:08:41 +00:00
zephyrus
d25e4cc14a - Fixed final instancing bug. Tested Endless Tower and working. I will ask if i can publish it :3
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14008 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-15 09:47:23 +00:00
Inkfish
395149b2b8 Fixed self skills affecting target unit when used within combo delay for Asura and Flying Kick. (bugreport:3495) (follow up to r13900)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-15 02:22:24 +00:00
zephyrus
515cd8685c - Fixes and optimization to instancing. Thanks to Saithis
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14006 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-14 14:03:53 +00:00