9284 Commits

Author SHA1 Message Date
skotlex
28e4d9d3ae - status_check_skilluse cleanup. Some status will only block skills when they are first used, not on cast-end (which includes auto-spells and ground-skill checks). Added flag 2 to signal splash/aoe effects (skill already casted, but target just affected)
- Gravitation now only affects the caster, should have also fixed the skill not doing damage when skill_caster_check is set.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 23:51:20 +00:00
skotlex
c64fbb45b5 - Hopefully fixed the compile error due to the mapregsql_handle...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:33:26 +00:00
skotlex
8a67a7cf35 - Fame list size is now defined by MAX_FAME_LIST constant (mmo.h)
- Char server can now specify the max size for blacksmith/alchemist/taekwon rankers.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 21:11:50 +00:00
skotlex
65dfdfc978 - Some cleanup on mob_can_reach code to prevent unnecessary path-searching
- Optimized the path-searching ai for mobs to try target cells around the target in order rather than randomly picked cells.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 20:11:07 +00:00
Vicious
8cbfa714ea * Added Skotlex's updated marriage script [Vicious]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5433 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 19:09:49 +00:00
Vicious
7230be8cfb changelog
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5431 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 18:56:16 +00:00
Vicious
2ccf291664 eACC scripts.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 18:50:09 +00:00
skotlex
a9cc1889c2 - Applied Snufkin's patch to fix compilation on FreeBSD.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 16:17:47 +00:00
skotlex
a9ad111c03 - Fixed mobs targetting themselves after using a support skill.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5427 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 15:40:33 +00:00
skotlex
898a5cb482 - Gospel no longer blocks item usage of whoever is in the area of effect.
- Added the long/near attack_def_rate card effects to battle_calc_magic
- Cleaned up a bit the slim pitcher code.
- Elemental fields should vanish on map-change now.
- Land Protector only blocks magical skills.
- Adjusted the duration of blind/bleeding of Meteor Assault


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 15:31:16 +00:00
Poki#3
9bdbed73e8 * Temp Plugs for NJ and GS items [Poki#3]
* Fixed some skill warnings. [Poki#3]
	* Added back mob "Mime Monkey". [Poki#3]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 15:20:17 +00:00
skotlex
bb7a50a009 - Fixed item pickup not picking anything unless you were in a party with item distribution set o.O
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 13:49:18 +00:00
codemaster
421a6e7f9c * Made it so players that are at the max level do not receive EXP. This makes it so a player at the max level (ie - 99) cannot join a party and feed all of his or her EXP to the other party members [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5422 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 09:19:02 +00:00
Lance
acb95c4f12 * Mapregsql will now fully depend on mmysql_handle.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 08:20:45 +00:00
Lance
16a1b9d809 * Optimized strcharinfo to use switch. Looks like Skot fixed the crash already XD.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5420 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 08:12:27 +00:00
skotlex
8397547da1 - Some cleanup of the mob skill reading. Added error reporting for unknown states/conditions, error reporting now specifies the file and line number.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5419 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-02 01:11:47 +00:00
skotlex
b7ebda3ccd - Silence will only block skills when they have begun casting, not when the cast bar is done.
- opt1 status will block skills when they are done casting only if the sc_castcancel option is set.
- strcharinfo now returns blank instead of crashing the map server when there's no player attached.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5417 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 21:35:46 +00:00
skotlex
518caa9b14 - Added sql init for the mapreg handle.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5416 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 20:51:21 +00:00
skotlex
343577ac3b - Checked and fixed the script engine barking when you try to have a label with the same name as a const.txt defined parameter.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5415 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 19:44:37 +00:00
skotlex
9321f524fc - Turn Undead and Offensive Resurrection should now work on undead players.
- Fixed the range checking of Repair weapon
- Rude attacked is now also triggered when you hit a target that can't move out of their melee attack range.
- Mob ai will attempt to do a long-range attacked condition skill before unlocking a target when it is attacked and said target is out of melee range of a non-walking mob.
- Corrected mobskill event to set the target_id before triggering.
- Moved MSC_SKILLUSED trigger to mobskill_event which is triggered in battle_calc_damage. It is also triggered on skill_castend_nodamage_id
- Added party_share_loot for handling party-share loot. it should now work with autoloot as well.
- Fixed skill_break_rate breaking stuff even if the rate is 0.
- pc_stopwalking will not send a fixpos packet if you are sitting.
- mob_can_reach rude-attacked condition now uses the mob's field of view.
- SC_NOCHAT is automatically started on pc_authok if manner is negative.
- Map server now refuses to start if you try to define a label with the same name as some const.txt defined character parameter.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5414 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 18:18:32 +00:00
Lupus
0c99f15cbb temp Green Iguana skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5413 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 16:22:28 +00:00
LuzZza
e1a7d73f8d Some small changes in LAN support code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 13:20:49 +00:00
Lance
8c972c35d1 Wrote todo-for-stable.txt. Just in-case I'm not around to merge them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5408 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 07:25:20 +00:00
Lance
c2273620ad * Added script command 'setbattleflag'.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5407 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 07:15:33 +00:00
codemaster
e2b51026b8 * Corrected a few Compiling Warnings [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5405 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 05:43:41 +00:00
codemaster
018dec7fb4 * Added the ability to select GM loading via Login (default) or Char [Codemaster]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5404 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-03-01 05:35:21 +00:00
Lance
2adcba7bb2 * Update to vcprojs. Now lacking strtok_r for VC7.1 (someone please emulate this function using strsep)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5402 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28 15:22:19 +00:00
Lance
c46f652b8e * Added autoequip flag check (added script command 'autoequip' to manipulate in script.c) for pc_takeitem in pc.c If it impacts on perfomance, please remove it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28 13:08:53 +00:00
Lance
465ab78484 * Added script command 'equip' to equip items.
* Fixed dependancies in map-server compiling (VC7.1).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5400 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28 12:32:02 +00:00
LuzZza
9bb0a7eedb Rewrote LAN support code. Changed configuration file name lan_support.conf to subnet_athena.conf, changed it syntax.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5398 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-28 00:41:00 +00:00
Lupus
65c4a503d8 fixed 6 item combo bonuses
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5397 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-27 12:46:47 +00:00
Lupus
a0068ae96c fixed rogue's treasure, vesper accessories, stone buckler
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5394 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-27 12:15:34 +00:00
DracoRPG
92e11d5a8b Small script fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5393 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-27 11:49:26 +00:00
DracoRPG
48dfc97a08 Updates & fixes on repairmen and 2nd job skills quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5392 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-26 15:07:16 +00:00
Poki#3
1f855f32ba Fixed one small typo in Crusader skill quest. Thanks to Playtester.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-26 14:04:48 +00:00
Poki#3
4bd5350aa3 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5389 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-02-25 11:26:44 +00:00
skotlex
7954b15ccc - Prevented guild/party recall to work on GMs of greater level than yourself.
- Prevent muting players with higher GM level than yourself.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 16:03:05 +00:00
Komurka
9303dbefeb * Changed bosses slaves in Bio Labs level 3 - they will spawn only once now
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5387 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 15:13:22 +00:00
skotlex
a4b9893c90 - Fixed Lady Tanee's spawns.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5385 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 14:27:14 +00:00
skotlex
f6b78466ab - Fixed the CL_WHITE define, thanks to FlavioJS
- NPC break equipment stuff now has a 1.5% per skilllv success rate.
- pc_setpos won't random warp players if placed on top of Moonlight Petals
- Removed the check in clif.c for npc_shopid as the client never sends a packet when the trade is cancelled...


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 04:04:24 +00:00
skotlex
260f904cea - Player-summoned mobs won't level up now.
- Fixed Super Novice explosion spirits triggering no matter what you said on the third line. It now triggers on the fourth line....
- Fixed GTB blocking targetted spells when gtb_pvp_only was set.
- Merged the code of Ankle snare and Spider web. It no longer moves target if sc failed.
- Players should stop walking as soon as they start vending or get into a chat.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5382 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-24 01:16:33 +00:00
skotlex
a35502cbef - Forgot to update the changelog...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 22:12:51 +00:00
skotlex
ada437dcaf - Added mob skill conditions myhpinrate and friendhpinrate for using HP ranges instead of a fixed "less than" condition.
- Added mob_ai condition &16, enables skills that are normally used on 'friends' to also pick up caster as target.
- Fixed npc_shopid not being reset to 0 when buying/selling. FIXME: The client sends a packet when you cancel? It is required so that npc_shopid will be cleared and prevent the player from being stuck.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5380 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 21:33:35 +00:00
Poki#3
d71c3fd5d1 Fixed Summon skills, among others.
Changed Light Dun Spawn numbers a bit (Gemini is a Mini-boss)
Changed "Virus" to "Anopheles"
Fixed item name in Cube Room Quest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 19:35:29 +00:00
skotlex
90ec4f1d14 - Modified the way autospells stack to mimic official servers. Cards of the same ID cannot stack, but different cards with the same skill can each trigger indepedently of each other.
- Added battle_config autospell_stacking to enable stacking of cards of same ID.
- Moved card-specific battle options to items.conf
- Autospells triggered when hit will check the range to the target.
- Some cleaning up of status_calc_pc
- In status_change_start capped the passed success chance to 100%


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-23 16:31:16 +00:00
skotlex
c7d2cec9c7 - Windwalk's bonus is now +5 miserable flee.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 21:33:41 +00:00
skotlex
7f4bc7d9e0 - Removed pc_break_equip, added function skill_break_equip which handles rates, defenses and all that. On non-players it causes the strip effect for the corresponding skill lv1.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5374 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 20:39:55 +00:00
Komurka
b4135d9c6d * Fixed G_GOBLINE_XMAS mode (aggresive ~~)
Can anyone from script devs fix all G mobs mode ?

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 17:50:48 +00:00
Komurka
50d7268045 * One 'never-fixed' bug report
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 17:27:31 +00:00
skotlex
26d56fc08b - Cleaned up the Dev folder.
- bugs.txt should store 'fatal/known' bugs that have been going on for a long time and have not been fixed yet. The forums are the preferred method for day-to-day bug finding/fixing.
- todo-for-stable.txt should list all changes in trunk that need to be merged into stable.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-02-22 17:09:49 +00:00