4536 Commits

Author SHA1 Message Date
Lupus
ecb547edc2 Removed garbage vars from Shinokas quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 13:09:14 +00:00
Playtester
80ed807c23 * Added first version of Rachel Sanctuary spawns
- commented for now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 11:56:41 +00:00
Playtester
26cc18bce1 Fixed some mob names thanks to Soukosa
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-30 10:59:05 +00:00
Playtester
bc7409eb88 More drop updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9369 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 22:53:53 +00:00
skotlex
7f67461a49 - Added a missing map_quit in clif_parse which was the real reason for the crashes.
- Therefore, removed the session valid checks from intif.c
- Thanks for Flavio for figuring out how to reproduce the crash. And unthanks to me for introducing it on the first place D:
- Note: Every connection before being closed and free'd will set eof to 1 and invoke the parse function (clif_parse for players), and since this is the last invocation, it is clif_parse's job to do any cleanup necessary. The missing map_quit what did was to leave the player pointer reference in different db's, which lead to a dangling pointer! Which obviously leads to no good. The map server's code should always ensure that session[sd->fd]->session_data == sd ALL the time (except when sd->fd is 0).
- Finally, not writing any of this on the txt changelog file so Flavio can have the glory of the bugfix :B


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 20:54:55 +00:00
skotlex
b421d38216 - Added overflow protection to @main whisper parsing.
- Fixed a bug in slaves_inherit_speed
- Miscellanous silly cleanups (format, unnecessary assignments, comments, etc)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9367 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 20:11:12 +00:00
FlavioJS
636089bb3a - Probably fixed the Segmentation Faults we've been having.
Description: A player quits and it's session is freed and set to NULL, 
       but the char server already sent a packet with player information 
       (registers, storage, ...). If a message is sent in consequence of 
       updating that info, a segmentation fault happens because 
       session[sd->fd] is already NULL.
  Fix: make shure the session of the target player is valid before 
       processing the rest of the char server's message.
- Some minor cleanups.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9366 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 20:07:22 +00:00
Playtester
4fa6d05347 Updated various drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9364 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 18:58:32 +00:00
skotlex
72ee155c06 - Fixed the new npc parsing code not accounting for windows-style line terminators, which as a side effect messed up mapflag parsing if the file had windows-style terminators, which coincidentally was the case for the nopvp file, which unfortunately meant that all towns became pvp!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9363 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 18:41:31 +00:00
skotlex
02330c9d81 - Fixed (likely) deleting homs from the menu causing a double free'd error.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 16:32:50 +00:00
skotlex
19b4efdc6c - HT_PHANTASMIC no longer knocks back even when it misses.
- Earned exp by dead homuns will now be lost (same treatment as earned exp from players that died)
- Some minor cleaning in mob_dead


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9361 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 16:09:54 +00:00
skotlex
c22f5854dc - Now gvg_dungeon mapflag will activate the other mapflags which are required: pvp, pvp_nocalcrank and pvp_noparty/pvp_noguild (they are forced to off if gvg_dungeon is on and viceversa)
- Cleaned the pvp ranking code so that it takes effect even if pvp_nocalcrank is active WHEN the map is a gvg_dungeon one.
- Cleaned up a bit the pvp ranking timer code.
- Now homuncs and their masters are the only ones who can use support skills on the homunc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9360 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 15:22:47 +00:00
skotlex
e4e42fbcb7 - Some cleaning on the homunc speed calculating code, so that it correctly uses the default walk speed if the player has no speed yet.
- Some speed up code when loading status changes (use a pointer instead of memcpy'ing all the time)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9359 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 14:18:20 +00:00
Playtester
663852db71 Added Rachel Santuary to nomemo mapflags
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9357 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 11:01:02 +00:00
Playtester
8a01af273e Fixed Alchemist combo's autospell casting on target instead of self
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9356 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-29 10:54:16 +00:00
skotlex
0f2e649828 - Fixed a typo which made the wedding_ignore_palette setting not work when you log on with them equipped
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9353 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 21:14:42 +00:00
skotlex
e23391b60d - Increased line buffer size when parsing scripts. Helps when trying to define pretty big shops.
- Applied The Ultra Mage's patch to use strict npc header formatting parsing. Updated the relevant stock scripts/mapflags that didn't conform to the standard.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9352 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 20:11:54 +00:00
skotlex
e3615a4cb5 - Reverted the previous SG freeze counter method. Now the counter is reset on status_change_clear.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9351 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 19:48:24 +00:00
skotlex
228979981d - Moved the blocking of casting supportive skills on homunculus from battle_check_target to status_check_skilluse as bct is not invoked unless the skill is offensive (or party/guild only)
- Cleaned up status_calc_bl_sub_hom, fixed recasting dex/str/vit/int bonuses skills making their atk/def/mdef stack with itself over and over.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9350 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 19:07:38 +00:00
KarLaeda
d4423bfd5e Fixed Thanatos Tower Quest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9349 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 18:15:10 +00:00
Playtester
2bf73dbe3c * Enabled Ice Dungeon spawns so they can be tested
* Updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9348 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 17:49:14 +00:00
skotlex
9692efa6f0 - Fixed a possible crash due to the recent core.c upgrade.
- Changing setting the Guild Master from pc_authok to clif_parse_LoadEndAck so that it will not fail to set the gmaster flag when the first person of a guild to log on is the guild master.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9347 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 16:26:08 +00:00
skotlex
b06ebc1719 - Modified the way Storm Gust freeze's counter works. Now it checks for the caster of the Storm Gust, if it's the same as the previous hit, the counter is increased, otherwise, the ID is updated and the counter is changed to 1.
- Fixed always receiving at least 1 bexp/jexp even when the mob gives no exp at all.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9345 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 13:42:49 +00:00
FlavioJS
1e8a3bcd3f - Changed write to send as suggested by TheUltraMage in:
http://www.eathena.ws/board/index.php?showtopic=105417
  Hopefully that will take care of the SIGPIPE problem in Debian and cygwin.
- Server name in core.c skipping '\\' characters.
- Memory allocation functions using file,line,func from the invoking functions.
- Other minor changes in malloc

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9344 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 13:31:22 +00:00
Lupus
412d407d46 added blank import/script_conf.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9343 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 12:02:55 +00:00
Lupus
59f5e43208 added blank import/script_conf.txt
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 12:02:39 +00:00
skotlex
4f70932567 - Now when a player's "attack once" request fails due to range, the client is told to move to the target to attack it. This sort of fixes the problem of the client SPAMMING the server with attack requests from afar without even approaching the icewall x_X
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9340 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 04:18:48 +00:00
KarLaeda
54a88c9dbc Reverted fix in Merchant Skills Quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-28 01:23:19 +00:00
skotlex
4fe7389fb0 - Updated the status change field "option" to an int rather than short. This fixes the option values for xmas/sightblaster not getting set, which could explain why some people crash when equipping weapons while in xmas suit.
- Also did the same to opt3 since the new packet version uses LONG to store the opt3 values.
- Made the clif weapon view function use the EQI constants instead of ints.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 21:32:32 +00:00
skotlex
83748da27b - Fixed the Homunculus hungry timer not starting on login.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9336 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 20:50:23 +00:00
skotlex
436a8a53cb - Fixed clif.c dumping unknown packets by default... (oops, used an #ifdef where an #if had to go)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 20:38:16 +00:00
KarLaeda
fbb36710c3 Added logging for standard GM commands (/mm /b /kick etc)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9334 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 20:34:52 +00:00
KarLaeda
01b25501c6 Fixed exploit in Merchant Skills Quests
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9333 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 19:53:48 +00:00
Playtester
0aa4954230 Fixed up healing items
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9332 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 19:44:58 +00:00
skotlex
bdc1679c54 - Some cleanups on the trade_additem function. When specifying a qty of 0, an ack will be returned to the client so it doesn't gets stuck.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9331 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 19:32:51 +00:00
Playtester
402e1074bb Updated Rachel mob drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9330 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 18:56:24 +00:00
eaac
d1a65b601a - Updating Thanatos quest with a check to prevent multiple Thanatos spawning.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9329 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 18:20:15 +00:00
Playtester
1e393b0dc8 Updated Rachel mob stats
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 17:42:29 +00:00
toms
c5a6e4f0d2 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9326 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 15:49:03 +00:00
skotlex
00409a92bb - Corrected KiriKage's range so it works correctly when used by non-players or when use weapon's range is used.
- Changed service for you's flags so it affects all players on range.
- Corrected the skill animation for Absorb Spirits
- Cleaned up a bit the implementation of how Gravity Field blocks the caster from moving.
- Mob class-changing will fail if the new class is the same as the previous one.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-27 14:58:50 +00:00
Playtester
f8d95d14c7 Enabled Rachel Field spawns so they can be tested
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9323 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-26 19:56:35 +00:00
Playtester
5d717825ed Updated Rachel Field mob stats and drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-26 19:51:24 +00:00
Playtester
d547bf3371 Updated selling price for some common drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9321 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-26 17:01:04 +00:00
Playtester
6dd96b4526 Fixed Sphinx Helm, Coif and Orc Hero Helm
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9320 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-25 18:27:42 +00:00
Playtester
84f13a515a Fixed selling price of Fine Grit 10z -> 60z
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9319 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-25 14:55:24 +00:00
skotlex
3992c59b87 - Fixed missing line in status.c which explains why NPC_DEFENDER wasn't quite working yet.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-25 13:19:02 +00:00
skotlex
f9e9983ae1 - Heaven's drive no longer targets traps.
- Some minor cleanups


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9316 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-24 21:30:38 +00:00
skotlex
d5de96b257 - Cleaned the opt3 values to use hex instead of decimals in status.c, removed theconstants in status.h since each opt3 value can mean many different things.
- Homunc's min matk is now always equal to max matk


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9315 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-24 17:18:56 +00:00
skotlex
5cd713758c - Fixed EDP's damage being 100% more than it should (should be 5x, not 6x on normal attacks)
- Self Destruction will only hit everyone and not just enemies when used by mobs (non marine spheres) unless the map is a versus map.
- Spider Web's duration is now halved on players (before it was halved in pvp maps only)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9314 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-24 16:50:23 +00:00
skotlex
1c02640811 - Likely fixed Homunculus not disappearing the second their intimacy hit 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9313 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-24 16:04:40 +00:00