4608 Commits

Author SHA1 Message Date
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
zephyrus
6b710571ad - Optimization to instance system.
* Removed the crc feature to generate instance npc names. The instance npc name will be "dup_" + instanceid + "_" + srcnpcid.
* Removed the big array under map structure and coded in a different way. It was only used to generate map names, but i just used the instance_id + "origin map name".
* Moved all instance features to separated files.
* Moved the npc duplication for instances into npc.c as Ultramage says (removed npcname_db from npc.h).
* Added recomendations for scripts commands by Saithis.
- Testing required, i will prepare Endless Tower script soon. I hope this do almost anything in bugreport 3276.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12 21:44:02 +00:00
Inkfish
dbb80324bc Fixed changequest behavior(before: completequest+setquest, now: erasequest+setquest)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-12 07:11:01 +00:00
Inkfish
79d0f3595e * Fixed autospell and autobonus will still trigger even if the chance is 0.
* Disabled "show_party_share_picker" functioning on client older than 20071002 to prevent from disconnection. (bugreport:3457) 
* Fixed units other than players and mercenaries using Devotion will cause crashes. (bugreport:3475)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-11 06:26:27 +00:00
Kisuka
b4ca3a4f1c - Added episode 12 & 13 cards (most episode 13 ones need matk + n;).
- Added some items from the ep 12 & 13 item givers.
- Increased MAX_RANDITEM to 11000.
(topic:226055)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13993 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-04 22:21:12 +00:00
Kisuka
8fd9c788de - Added episode 12 and 13 item givers. (topic:226055)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13992 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-04 20:59:06 +00:00
Inkfish
52bac46cfe * Questlog code cleanup.
* Fixed range check of autospell and autospell2 using wrong target when it should be used on yourself.
* Implemented official behavior of party_show_share_picker.
* Restricted zones in 'item_noequip.txt' can now stack.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13987 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-08-02 04:10:23 +00:00
zephyrus
86563064db - Fixed a bug cleaning instance variable on party when instance is destroy.
- Fixed a bug on Yuno Castle 2 and 3, not killing guardians.
- Moved battleground team leave on unit remove map to prevent a crash on multimap servers.
- Fixed a bug on checking range with the wrong target. Fix a crash on Item 2002 at refine >= 9.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13979 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 09:10:51 +00:00
Inkfish
56da31a0e1 * Fixed damage_level is not calculated properly on normal attack.
* Kaahi is supposed to be canceled on logout.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13978 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 05:33:20 +00:00
Inkfish
4cafc71047 * Kaahi heals no matter if attack connects. (bugreport:2440)
* Fixed a typo causing skillitem always resets skill delay. (bugreport:3431)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13977 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-29 04:33:00 +00:00
brianluau
8be9797841 - Added a missing 'next' in Kiel Hyre Quest (Medicine Chest).
- Fixed a type in Mjolnir Seal quest (Dwarf Blacksmith#south).
- Fixed wrong parameters in 'areapercentheal'. (bugreport:3428)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28 21:21:45 +00:00
Inkfish
76f7ee022d Corrected two mistakes when I was trying to do some tricks...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13974 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28 05:48:17 +00:00
Inkfish
b753cba749 * Some more updates to Quest Log
- Implemented a new saving mechanism. Now they can be saved every 'autosave_time' in case the char-server is not online when you get a quest.
- Improved 'changequest' code.
- Increase MAX_QUEST_DB to 1200.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13973 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-28 04:04:50 +00:00
ultramage
f1caa42610 Partially reverted the fail from r13966.
Added support for empty lines between individual attr_fix.txt blocks, fixes crash at startup (bugreport:3426).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13968 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-27 09:15:53 +00:00
Inkfish
816e93ef9b Fixed mob counts and quest states are not saved properly sometimes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13964 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-26 09:52:08 +00:00
Inkfish
4a6f0d122c * Some updates of Quest Log system
- renamed table 'questlog' to 'quest' to avoid misunderstanding
- updated main.sql
- fixed the server can't load more than 16 quests
- removed the MAX_QUEST limit. tests show the client can handle more than 100 quests.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13963 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-26 06:01:10 +00:00
Inkfish
2187e9a59a * Fixed message display for FullStrip and SelfProvoke. (bugreport: 3011, bugreport: 3415)
* Fixed an error on 'changequest'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13962 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25 23:18:53 +00:00
Inkfish
153c9f5c5c Fixed undeclared variables on charserv compiling. how careless i am.....
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13961 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25 21:09:25 +00:00
Inkfish
698e7a0fc0 Rewrote Quest Log system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13959 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-25 20:55:35 +00:00
Paradox924X
fda1387f60 Added proper bounds of INT_MIN to INT_MAX for hp/sp when being sent to/from status_damage/status_heal for negative values because of INT_MAX being (-INT_MIN - 1).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-22 18:46:44 +00:00
brianluau
e151f5b278 - Fixed the config description for 'random_monster_checklv' (follow up to r13952). (bugreport:3378)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18 21:44:52 +00:00
Inkfish
9858d45649 * Dead branches no longer check for players' level. (bugreport:3378)
* The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-18 02:18:40 +00:00
ultramage
0ed37a79b7 Some insignificant code tweaks.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13945 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11 07:05:05 +00:00
Inkfish
b1445ca0ae * Some updates for range check. (bugreport:3339)
- Monsters shouldn't use skills if the target is within its attack range but is out of the skill range.
- Monsters' skill range is no longer 9 by default. 
- Range for players' attacks and skills should always check for a circular area.
- The range of Magnetic Earth is 2.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13944 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-11 04:48:40 +00:00
brianluau
f3c006322f - Added documentation for 'getmobdrops' (follow up to r13101). (bugreport:3351)
- Added documentation for 'areamobuseskill' (follow up to r13897). (bugreport:3352)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13942 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-07-09 05:11:54 +00:00