5799 Commits

Author SHA1 Message Date
ultramage
833fd942a4 * Tried and fixed md5 password encryption
- login_sql was doing stupid things like re-using one pre-generated key for all connections, and escaping binary md5 data (destroying it)
- added missing code to login_txt when creating new accounts, showing that storing passwords as md5 hashes never really worked for txt
- removed PASSWORDENC's conditional compilation effect, now just a flag
- greatly simplified md5 password checking code, credits to eapp
* login server will now bind only after finishing the init phase

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10384 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 14:34:58 +00:00
SinSloth
80f8c8036d Updated Ammo Casing NPC Kenny to official version
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10383 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 11:51:00 +00:00
Playtester
25c7f24a13 Fixed level requirement of Eye of Hellion quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10381 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 10:10:45 +00:00
FlavioJS
c292b087b5 * Internal changes to the script engine:
- modulus division detects division by 0.
  dividing by zero stops the script and gives an error
- underflow/overflow messages differentiated (warnings)
- when a script function doesn't return a value, a C_NOP value is pushed 
  instead (avoids stack corruption)
- op_add merged with op_2+op_2num/op2_str
- better type checking in the operators, int/string is never assumed.
  The script ends when an invalid type is found.
- other minor code cleanups

Changes made in consequence of:
Ref: http://www.eathena.ws/board/index.php?s=&showtopic=149237&view=findpost&p=823195

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10379 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 09:57:29 +00:00
Playtester
2c8aa994fd Some 11.1 field spawn updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-28 09:54:11 +00:00
Playtester
ec353f7ed2 More mob skill updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10377 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-27 21:27:39 +00:00
Playtester
548a8463f6 Small Kiel warp fix
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10375 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-27 17:39:39 +00:00
Playtester
d1753232be More Kiel quest fixes thanks to Toms and L0ne_W0lf
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10373 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-27 17:12:29 +00:00
Playtester
46f81c8f62 * Added a part of Munin's Hugel NPCs
- more to come

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-27 13:11:32 +00:00
Playtester
a58f19fb6b Raised Anubis's DEF to prevent exploit
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-27 11:47:03 +00:00
Playtester
2a82ad4e0c Some small Kiel quest fixes
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 21:54:09 +00:00
Playtester
35869d293f * Fixed some mob skills
- replaced attackpcgt with attackpcge

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 21:24:10 +00:00
Playtester
e35ca53ed3 * Updated Sphinx spawns
- Anubis instead of Marduk on F4 and F5
- note: Anubis is not fully official yet

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 15:20:28 +00:00
Playtester
10d7115695 Added 1 second cast time to Chase Walk
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10365 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 14:08:40 +00:00
Playtester
f4e65a3d1d Fixed Wild Ginseng card
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 09:35:04 +00:00
Playtester
813735cd96 * You can now teleport in jupe_core
* More accurate Kiel spawn amounts

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-26 08:48:48 +00:00
Playtester
7c2d053f01 Updated Kiel F2 spawns
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10358 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-25 22:32:11 +00:00
Playtester
7041c87800 Updated mob mode
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-25 21:48:02 +00:00
skotlex
e345f25bd3 - Corrected High Jump so it works on Guild Castles when WoE is off.
- Moonlit petals now always knocks to the back of the character rather than pushing the character away from it's center.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10355 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-25 19:07:48 +00:00
Playtester
382d96cae3 Reverted RSX0806 summon
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-25 17:10:16 +00:00
Playtester
8d12732e47 Some minor mob skill updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-25 16:54:50 +00:00
Playtester
7bcc18f3ad * Updated sql files and Anubis
- Anubis gives -40% exp because he's missing one skill

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 22:04:46 +00:00
skotlex
2b9eddf37d - Modified the mob ai think time update after using skills from adelay/amotion to 100ms since the previous method adds a large delay before the AI activates again (which screws up with the timing of idle/walk skills)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 20:59:07 +00:00
Playtester
ddf54e0461 * Updated MVP level skills
- updated Pori Pori's skills
- MVP level triggers for all level 10 mob skills regardless of MVP mode

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 19:59:48 +00:00
skotlex
9c8f2cbb52 - NPC_MAGICALATTACK now starts a state similar to Sacrificial Ritual, in the sense that every normal attack afterwards becomes a Magical Attack. The skill duration is 15 secs.
- Corrected some trade-cancel calls in trade_traderequest.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10346 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 19:33:37 +00:00
Playtester
605f912e22 Added missing Rachel quest map
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 19:05:55 +00:00
skotlex
e587ff356b - The autoloot range check is no longer done unless AUTOLOOT_DISTANCE is defined (by default it is no longer defined)
- Ganbantein now deletes individual skill cells instead of the whole skill in the area it is casted.
- Modified the mob total damage code to prevent overflows when mobs receive over 2kM damage.
- Made the dmg structure of the damage log an unsigned int rather than signed.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 18:41:39 +00:00
Playtester
3320d40750 Forgot to update header
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 18:41:39 +00:00
Playtester
233bb77138 Some official Odin and Hugel warps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10341 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 18:33:47 +00:00
Playtester
7bee2b6ecd Official Hugel field warps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 17:06:17 +00:00
Playtester
a9761256a0 Fixed exploit in The Sign quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 12:56:45 +00:00
Playtester
5278afe6a4 Fixed rewards of Momotaro event
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 12:20:12 +00:00
ultramage
7d14deb7a5 Spider Web / Fiber Lock status cannot be dispelled now
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 09:58:31 +00:00
ultramage
ff345ae52e Applied L0ne_W0lf's fixes to the Kiel quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-24 09:50:40 +00:00
skotlex
51a49aadf7 - All mob casted skills have a fixed range of 9 now. You can use monster_ai&0x400 to disable this and make the old skill range rules apply.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 22:41:18 +00:00
Playtester
3d355a648e * Fixed exploitable Valkyrie Randgris respawn time
- did I put that? >-<

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 21:16:55 +00:00
skotlex
b6e3783be6 - Updated the skill_db, some mob skills seem to be better to a range of -9 than 9.
- Corrected the pet_db information for Xmas Goblin and Rice Cake.
- Replaced all struct map_session_data to TBL_PC in script.c
- Pressure no longer vaporizes plants.
- Corrected pc_setregstr to handle a null str argument.
- Corrected @reloadbattleconf causing a add_timer_func "already existing function" error.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10326 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 19:08:34 +00:00
toms
de0785955e Removed duplicates in cool_event_corp
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 16:56:22 +00:00
toms
c90a8c0022 Removed duplicates in Kiel_Hyre_Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 16:48:10 +00:00
ultramage
275a9f6f77 Added missing close; to the magician first_class quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 09:45:40 +00:00
ultramage
150f7d0b56 - Fixed a compilation problem with the pid plugin
- Some minor cleanups 

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-23 01:37:16 +00:00
Playtester
325f89c9a2 Added some "refined" headgears
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10318 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 19:21:29 +00:00
skotlex
f4dfd0d8ee - Removed the include of features.h from the console.c plugin. It is apparently not needed (and it was preventing compilation on FreeBSD)
- Fixed bug which totally broke item group bonuses.
- Added warnings when setting a pvp/gvg flag removes the other flags on the same map (gvg and pvp can't coexist on the same map)
- Optimized the unequip loop when changing sex.
- Removed the check that prevented you from casting soul-collect when you already have 5 spirits.
- Corrected Magic Rod so it doesn't displays any skill-use animation until it triggers.
- Debuff on logout&2 is again set to default, instead of removing food bonuses now it removes Maximize Power, Maximum Overthrust and Steel Body.
- Corrected Steel Body's icon (it actually belongs to AutoBerserk)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 19:14:42 +00:00
FlavioJS
f4907979c1 * Extended the functionality of StringBuf - length and appending a string.
* menu/select/prompt script functions support grouped and empty options.
  The selected option number is consistent with them.
* More work on ticket #41.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 15:45:37 +00:00
Playtester
3ed79a6c03 Some more Anubis updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 12:25:43 +00:00
Playtester
51e6402f29 Fixed up some shops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10312 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 10:18:34 +00:00
Playtester
6228b530b4 * Fixed some level requirements for swordman quest skills
- all the skill quests are still very custom :-/

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10310 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 09:30:12 +00:00
skotlex
36a86d07e4 - Corrected crash if itemskill is used without an attached player.
- Removed range checks for autospells as per UltraMage Aegis tests.
- Added chatID skill fail check to skill_check_condition
- Corrected @refresh not re-displaying your spirit spheres nor re-setting your cloth dye.
- Now the "number of attackers" in mob_dead is counted only from online characters on the same map.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10307 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-22 03:11:04 +00:00
Playtester
c667825023 * Added Rachel to the airship route
- why was it still missing?
- thanks to Articulus for scripting most of it

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-21 23:59:49 +00:00
Playtester
720f18a7f3 Official Rachel Field warps
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10303 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-21 21:40:40 +00:00