4465 Commits

Author SHA1 Message Date
skotlex
0f433c6c45 - Moved ignoreAll to state.ignoreAll so it saves some space.
- Cleaned up clif_parse_Wis to prevent crashes from forged packets (using a strlen() on a string where you don't know if it's null-terminated is a NO-NO)
- Cleaned up the implementation of the ignore list so it's more efficient.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9282 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 18:23:08 +00:00
Lupus
7abcd45cd3 Fixed typo in Ninja quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9281 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 01:55:41 +00:00
Lupus
52f3e74227 Updated Skill Resetter Event, thanks to $ephiroth
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9280 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-21 00:06:10 +00:00
Lupus
f12bb2a6b1 Fixed Sage guest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9279 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 23:47:43 +00:00
Playtester
5e3141be55 * Official skill for Ancient Mimic, Death Word and Angels
- also made NPC_DEFENDER self targeted
- Shelter now has angry mode

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 21:53:51 +00:00
skotlex
bcb011580c - The max level of NPC_SPLASHATTACK is now 1.
- Implemented NPC_DEFENDER. Reduces ranged Physical+Misc damage by 80%
- Improved the battle config reader so it accepts hexadecimal values. Updated the monster_ai description to make use of this.
- Added monster_ai&0x200. When set, mob skill delays are shared. That is, if the mob has several lines with the same skill, when the skill is used, the delay will be set to all of them, not just the one entry used.
- Cleaned mob.c to use hex values when refering mob_ai
- Corrected NPC_BARRIER so it grants 100 def/mdef (and not just mdef)
- Weapon ATK bonuses will now only apply to watk and NOT watk2 on players (on players watk2 is refine bonus)
- Corrected NPC_KEEPING. it should give 90 def, not 100


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9277 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 21:25:47 +00:00
skotlex
12e7c68c78 - You now can't use other skills while a skill-induced "window" is up (teleport, refining, etc). However, be warned that we aren't quite sure how the server will clear this out if you decide to hit cancel on the window, so skill-blockage is likely to happen (temporary solution: whenever you change maps or warp the state is reset server-side).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9276 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 18:02:08 +00:00
skotlex
208cf8d875 - Fixed itemskill variable being cleared before parsing the skill, this causes auto-casted teleport to fail to skip the skill menu. It is now cleared on castend_pos/id directly.
- The item skill/lv variables now use 0 as default to signal they aren't being used (instead of -1)
- Skills with state 'move_enable' will now do a "walk path" check between target cell/object and caster instead of a "shoot path" check, this would fix skills like snap or charge from letting you "teleport" across pits.
- Fixed a possible double map_addblock when hatching a pet egg right before going through a warp.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9275 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 17:25:05 +00:00
Playtester
4822dcf191 Flywing and Butterfly Wing will now use the teleport skill
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9274 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 17:11:37 +00:00
Lupus
a15d3aedfc Fixed exploit in Shinokas Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 16:58:34 +00:00
Playtester
15b4290c42 Official skills for Breeze and Plasma
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9272 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 16:34:02 +00:00
Playtester
24abfd3282 * Official X.4 skills thanks to Tharis
- also set MVP skills to MVP skill level

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9271 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 16:00:54 +00:00
skotlex
943bff73bc - Raised the amount of skills that can stack on a single cell before the "in-area/out-area" detection code breaks to 24 (from 8)
- Fixed a crash in clif_SkillInfoBlock if the passed player already disconnected.
- Added limiting drop rate to 100% from item-bonuses that depend on the mob's level so that "@autoloot 100" will catch them.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9270 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 15:08:43 +00:00
Lance
9b4d416b15 git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9269 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-11-20 12:43:39 +00:00
Lance
11e7a6e143 - atcommand and charcommand backwards compatibility
modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9268 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 12:39:27 +00:00
Lance
d4e444ebd4 - Removed security check since source level patch is applied. Reverted select(), created prompt().
modified   Changelog-Trunk.txt
modified   npc/airports/airships.txt
modified   npc/cities/amatsu.txt
modified   npc/cities/gonryun.txt
modified   npc/cities/hugel.txt
modified   npc/cities/lighthalzen.txt
modified   npc/cities/niflheim.txt
modified   npc/cities/valkyrie.txt
modified   npc/custom/eAAC_Scripts/disguiser.txt
modified   npc/custom/eAAC_Scripts/quest_warper.txt
modified   npc/custom/jobs/jobmaster.txt
modified   npc/events/idul_fitri.txt
modified   npc/jobs/1-1e/gunslinger.txt
modified   npc/jobs/1-1e/ninja.txt
modified   npc/jobs/novice/novice.txt
modified   npc/merchants/kunai_maker.txt
modified   npc/merchants/novice_exchange.txt
modified   npc/merchants/refine.txt
modified   npc/other/comodo_gambling.txt
modified   npc/other/dts_warper.txt
modified   npc/other/marriage.txt
modified   npc/other/powernpc.txt
modified   npc/quests/Lvl4_weapon_quest.txt
modified   npc/quests/gunslinger_quests.txt
modified   npc/quests/quests_ein.txt
modified   npc/quests/quests_umbala.txt
modified   npc/sample/monster_controller.cpp
modified   src/map/script.c



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 10:11:20 +00:00
skotlex
d1005fced1 - Removed grfio include from core.c as it's totally unneeded
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9264 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-20 01:47:14 +00:00
Lupus
c14578bf17 Small fix for Lance's security patches
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9263 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 22:30:03 +00:00
Playtester
38747b1685 * Official skills for Abyss Lake mobs
- G_Acidus, G_Ferus and Green Iguana don't have skills
- someone should test if all skills are working
- Green Iguana is now a looter

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9262 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 15:54:48 +00:00
Lance
22de482fce * Hack protection from packet monkeys in clif_parse_NpcSelectMenu.
modified   Changelog-Trunk.txt
modified   src/map/clif.c
modified   src/map/map.h
modified   src/map/script.c



git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9261 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 06:08:49 +00:00
Lance
e291dd077e Applied security patches. PLEASE CHECK THEM ALL.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9260 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 05:12:30 +00:00
Lance
42e26b0423 Updated scripts with select().. THERE ARE TONS OF THEM!! Will somebody give me a hand or something? :B
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9259 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 04:46:50 +00:00
Lance
97919b1a6f * Added 'cancel' button parsing in buildin_select menu system. Now scripts will continue to load if 'cancel' is pressed and 255 will be returned.
modified   Changelog-Trunk.txt
modified   notice.txt
modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9258 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-19 04:15:32 +00:00
Playtester
8457ae228c * Official skills for Bacsojin and Orc Baby
- yes Bacsojin's skills are interuptable despite MVP status

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9257 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18 18:46:37 +00:00
Playtester
d26acd7037 Updated X.1 mob stats
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9256 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18 17:37:24 +00:00
Playtester
6eb9caef4e * Official skills for Detale and Thanatos
- pm me if you want to help converting the mob skills

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9255 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18 16:02:41 +00:00
Lance
568b2b5eb7 Calculation error in clif_parse_Wis.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9254 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18 01:42:13 +00:00
Lance
4f2baf9749 Typo :P
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9253 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-18 01:37:23 +00:00
skotlex
0b585ba393 - Corrected use of the party invitation reply packet, thanks to FlavioJS.
- Removed requirement of "Changelog-Trunk" in the common/Makefile, why was it even there??
- Minor cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9251 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 21:20:58 +00:00
Playtester
6f9cfbb163 Updated remaining X.2 mob stats
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9250 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 17:49:06 +00:00
Lance
a7d5f271df * Fixed potential hack by modifying packet of whispers.
modified   Changelog-Trunk.txt
modified   src/map/clif.c
 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9249 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 17:27:19 +00:00
Playtester
d4e8bbe4b2 Updated Bio Lab and Juperos mob stats
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9248 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 17:17:42 +00:00
Lance
d175cdda0b Enhanced implementation to use Skot's Christmas Present: KARMA. :D
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9246 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 16:54:31 +00:00
Lance
3bfc48996a * Fixed potential crash in IRC processing message with '%' using *printf.
* Fixed memory leaking caused by homun_data not freed when removed.

* Minor adjustments to sign/unsign in script commands.

modified   Changelog-Trunk.txt
modified   src/map/irc.c
modified   src/map/script.c
modified   src/map/unit.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9245 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 16:48:04 +00:00
skotlex
617a4d0850 - Fixed client not validating the chat-kick-request packet, which can cause crashes.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9243 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 14:48:50 +00:00
Playtester
4f406d2da0 Fixed some sprite mob names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 14:36:17 +00:00
skotlex
68bc8eb99d - Updated map_quit to handle removing of players who are not even authenticated yet.
- New connection requests are now also blocked when there's a player already online but hasn't finished loading yet.
- Because of these changes, the friendlist notification when people join has been moved to LoadEndAck from pc_authok


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9241 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 13:57:15 +00:00
Lance
6611346270 Check and remove MD_CHANGECHASE flag to prevent guardians from getting berserk.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9240 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 12:44:08 +00:00
Lupus
2bfea102e9 fixed possible double levelup bugs, merged 1st class quests from trunk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9239 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 10:04:48 +00:00
Lupus
b75ae2f750 added logmes to skill reset event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9238 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 07:02:47 +00:00
Lupus
664eb85bc2 typo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9237 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 06:53:09 +00:00
Lupus
b002ead476 Added official kRO Skill Reset Event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9236 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-17 06:52:11 +00:00
Lupus
0281e5c41b Fixed wrong label name in adoption NPC
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9234 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 19:42:46 +00:00
toms
b516b0c309 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9233 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 19:37:17 +00:00
Lance
e04b0c735a Documentation update to atcommand
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 15:42:11 +00:00
Lance
3847e1c0e8 * For the sake of avoiding confusion, all script events are named with prefix 'On' from now on.
modified   Changelog-Trunk.txt
modified   conf-tmpl/script_athena.conf
modified   doc/pccommand_list.txt
modified   doc/script_commands.txt
modified   npc/custom/Lance/FR_HallOfFame.c
modified   npc/sample/PCLoginEvent.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9231 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 15:39:27 +00:00
Lance
3e7a154f59 * Edited atcommand and charcommand syntax. Now it doesn't need the useless character name and ":".
modified   Changelog-Trunk.txt
modified   src/map/atcommand.c
modified   src/map/atcommand.h
modified   src/map/charcommand.c
modified   src/map/charcommand.h
modified   src/map/clif.c
modified   src/map/map.c
modified   src/map/script.c


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9230 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 15:26:27 +00:00
skotlex
b1e1b423f6 - Shadow Jump and Kirikage won't "move" you if you use them in GvG grounds. Fixed Kirikage so it first warps you, and then you unhide.
- Corrected Zeny Nage so the Zeny spent on the attack is always the exact same value as the damage you are dealing. Also corrected it so it does half damage when used on players.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 15:09:05 +00:00
skotlex
17f4afab04 - Overlapping song/dances will now cause dissonance/ugly-dance level 1 instead of retaining the level of their song/dance.
- Fixed the misleading description of what item_avail does.
- Fixed wrong check in @petrename, thanks to The Ultra Mage.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 13:45:02 +00:00
Playtester
c80dc62e6a Updated X.3 mob stats
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9227 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-16 12:24:16 +00:00