4465 Commits

Author SHA1 Message Date
toms
8e191af335 Code cleanup & optimization on guild part of char-server
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8059 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 16:37:02 +00:00
skotlex
abcf47cd67 - Fixed script code data not being free'd if a player quits in the middle of a script.
- Modified run_script so that when there are leaks, it will report the place where run_script was called from as source rather than the inner code of run_script (for debugging purposes)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8057 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 15:40:25 +00:00
Playtester
2bf2312f0f Reverted LOD card changes as well
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8056 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 15:27:52 +00:00
skotlex
d239082490 - Made recursive master check the default (otherwise it messes skill -> pet -> player kind of herarchies) and cleaned up some the battle_get_master code to prevent infinite loops in the weird case someone specifies that their master is itself.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8055 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 15:11:17 +00:00
MasterOfMuppets
8b7af51433 Reverted some item database changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8054 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 15:02:11 +00:00
skotlex
19a4f0b31a - Recoded the GuildAura code to use val3 & val4, allowing much greater stat bonuses (in case someone wants to get Guild Skill level 20 or something crazy like that)
- Fixed compilation error...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8053 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:55:14 +00:00
MasterOfMuppets
7dc72dd01b Einbech mines spawn changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:47:44 +00:00
Playtester
f0c882f906 Adjusted autocast chance of Amon Ra card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8050 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:40:18 +00:00
Playtester
743b496c44 Adjusted autocast of Dark Lord and Stormy Knight card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:36:33 +00:00
skotlex
7a082b02a8 - Updated battle_check_target so that all alchemist summoned mobs can be target by everyone.
- Cleaned up skill_check_condition_mob_master_sub, it will now count both total number of summoned mobs and amount that belong to the same type.
- Corrected AM_CANNIBALIZE so it will fail if you already have plants of another type out.
- Using NPC_SELFDESTRUCTION no longer will make the caster stop walking.
- Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now Volcano/Deluge/V. Gale will get that funky icon instead.
- Changed clif_hominfo to receive both sd and hd as parameters
- Some redundancy cleaning in mercenary.c
- Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8048 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 14:27:17 +00:00
Playtester
eb965bda9d * Added official success rates of the Socket Enchant NPC
* Reduced the overrefine bonus of level 4 weapons to 13

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8046 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 13:44:16 +00:00
Playtester
33f0807c06 Added the new items and fixed selling price of Dark Mask
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8045 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 12:59:15 +00:00
skotlex
6ef71063cb - Fixed NPC_SELFDESTRUCTION damaging yourself, causing the source to be knocked back, as well as making others in the splash damage not receive any damage if they are hurt after the caster.
- Fixed NPC_RUN not setting the mob's state to MSS_WALK (normally not set by the mob ai)
- unit_walktoxy flag&2 setting will now also ignore unit_can_move, for a forced walk. 
- Adjusted NPC_RUN level of Marine Spheres (5->7 cells)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8044 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 04:09:01 +00:00
Lupus
59ac684138 fixed hunter job quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 04:01:45 +00:00
Playtester
2ea34d9b9d * Changed Solace's and Retribution's skills so they feel like on official servers
* Fire Pillar's aftercast delay is 1 second now
* Updated Abyss Lake and Rachel mobs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8041 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-02 01:06:17 +00:00
Playtester
a8880b359b Some minor monster skill changes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8040 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 23:37:54 +00:00
skotlex
14b59636c7 - Made Deluge/volcano/v. gale be castable on top of each other again
- Modified unit_walktoxy and NPC_RUN to enable running even when the caster does not has the MD_CANMOVE bit on.
- PF_MINDBREAKER will now silently fail if you try to use it on someone who already has the status active.
- Cleaned up yet again skill_landprotector, now new cells of Deluge/Volcano/V.Gale will delete previous cells when they are recasted on top of each other.
- Summoned Marine Spheres no longer get the MD_CANMOVE bit.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8039 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 18:37:16 +00:00
skotlex
56c9df875c - Cleaned up some more the SC_JAILED code
- merged in atcommands jailfor, jailtime, charjailtime. Thanks to Meruru and Coltaro for the code.
- Cleaned the code of atcommnds jail and unjail
- Be warned that the code MAY contain bugs as I adjusted it to save the character's position before jailing, allowing the automatic unjailing to warp you back to the exact spot you were at before being jailed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8038 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 17:59:34 +00:00
skotlex
2d7b332124 - Should have fixed the cooking sets not displaying all cooking available items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8036 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 16:08:43 +00:00
skotlex
cd50714a47 - Figured out and fixed the issue with Volcano/Deluge/Violent Gale not really working. Thanks to Mpeg for noting it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8034 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 16:02:19 +00:00
skotlex
4550e45f33 - Modified Self Destruction, so that Marine Spheres in non-versus maps will hurt only enemies, while in all other situations this skill will hurt everyone around them.
- Expanded setting debuff_on_logout so that &1 removes negative buffs and &2 removes positive buffs.
- Food status boosts will no longer end on death, but they will end when you respawn or logout.
- Added battle config file status.conf, moved some settings from skill.conf and battle.conf to it since they are entirely Status-Change related.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8033 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 15:56:57 +00:00
skotlex
7f0c0e574c - Added the missing lines to enable script command "kickwaitingroomall"
- Magic Rod's can-act delay will no longer be applied when you absorb a spell.
- Fixed Don't Forget Me increase speed instead of decreasing it.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8031 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 14:52:22 +00:00
skotlex
2af1719e67 - Cleaned up some of the db files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8029 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 14:16:36 +00:00
skotlex
65e0327024 - Modified setlabel so that the script engine barks when you are trying to use the same label name as a constant or variable name.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8027 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 13:52:17 +00:00
eaac
82fc0a468e - eAAC update to Donation Girl.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8026 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 13:47:11 +00:00
Playtester
af1ef44664 Fixed name of Freya's Shoes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 13:37:00 +00:00
Playtester
8081636d76 Small item update from Haplo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8024 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 12:24:56 +00:00
skotlex
2918287bd5 - Fixed the subnet 0 mask being reset to 0 when someone goes up on the fame rankings.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8021 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 04:24:45 +00:00
skotlex
010bec3575 - Updated Poison React chance to counter and number of counters as per skill description updates.
- Fixed Sharpshooting being counted as a magic attack, and hence, using your MATK as base damage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 01:54:20 +00:00
skotlex
cd1b6a71e9 - Fixed NPC_STOP id value in skill_cast_db
- Bladestop will no longer stop when you push either of the characters around.
- Fixed Enchant Poison having a near 100% chance of poisoning target on attack.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8015 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-01 00:32:54 +00:00
toms
be50bd5620 Little fix on duel
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8014 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 22:41:40 +00:00
toms
35fc0dc4f3 Added possibility to restrict duel usage to same map
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8013 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 21:21:55 +00:00
toms
5e47973166 Merged mpeg's fix on ninja skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8012 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 20:19:56 +00:00
skotlex
5bbd6fe6b9 - Corrected a status_get_race call which should be status_get_race2 in misc attacks.
- Moved the Devotion code to the top of the SC list in status_damage, meaning that now stuff like being asleep or confused won't end if you are hit, but the damage is absorbed by devotion.
- Some cleanups in battle.c (replaced usage of status_get_* for status->*)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8009 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 18:38:51 +00:00
skotlex
2fd9920c75 - Changed the variable message in parsing normal text from unsigned char to char (should shut up some compiler warnings)
- Added the Soul Link of Rogue speed bonus to Chase-Walk. Since there's no information of how much the bonus should be, it currently is a conservative 10%.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8007 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 16:00:38 +00:00
MasterOfMuppets
ed0b1b1180 Updated the Geffenia spawns.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8005 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 16:00:00 +00:00
MasterOfMuppets
92c9417394 Minor monster spawn change.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8003 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 15:46:04 +00:00
MasterOfMuppets
51d61d2068 Some small sign quest changes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8002 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 15:30:36 +00:00
skotlex
f4f3eff4cd - Fixed a possible crash in the main script engine when restoring previous script.
- Fixed sleep.tick not being set back to 0 before resuming execution, which leads to scripts that are continously executed even when they already ended (they do nothing but waste resources)
- Fixed a pair of free -> aFree used on stacks, which would lead to memory manager reporting leaks where there aren't.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 15:05:58 +00:00
Playtester
33e2d91883 Updated Awakening Potion, Note Headphone and High Quality Sandals
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7999 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 14:28:27 +00:00
skotlex
56580d56f0 - Removed incorrect "Waterball range+1 when standing on suiton" feature.
- Corrected the Speed update code to prevent sending "walk to xy" packets twice when the affected character is a player.
- Expanded mob can't move warning to print out where this mob was stuck at (map, x,y)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7998 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 14:26:04 +00:00
Lupus
3511ff32b6 commonized job change trough the function - u can add an announce "there's a new JOB-NAME !" in that function.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7997 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 10:32:17 +00:00
Lupus
63ea289b99 updated gunslinger quest/ updated 2006 headgears. fixed lighthalzen quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7996 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 09:27:15 +00:00
toms
30c231ad0c Fixed segmentation fault in status_change_end, vd wasn't initialized
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7995 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 09:13:19 +00:00
reddozen
a6393115d9 finally fixed
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7994 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 06:55:48 +00:00
reddozen
36cf662424 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7993 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-07-31 06:03:36 +00:00
reddozen
d8913461ce git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7992 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-07-31 06:01:53 +00:00
reddozen
16eba7128a oops... that was an old copy of the quests. Fixed. [Reddozen]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7991 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 04:57:46 +00:00
reddozen
3dfc49b8f9 Added 2006 headgear quests. Note that official dialog and NPC ID will need to be added in the future. [Reddozen]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7990 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 04:54:54 +00:00
skotlex
2922c98e81 - NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill level, so that at level 1 they can attack, use skills and receive no walking penalty.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7989 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-31 02:50:17 +00:00