3554 Commits

Author SHA1 Message Date
skotlex
3fb5dce0ae - Removed a redeclared variable i in the parsing of the fame list (char-txt server) which seems to be the cause of the random memory corruptions.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:20:44 +00:00
toms
5062379bb4 Fixed Independence Memorial Hat weight, set to 0
Updated item_db.sql to latest.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 13:01:15 +00:00
toms
ee5ee4fcd0 * Fix homunc & code cleanup [Toms]
- Timer problems on delete_timer
  - Intimacy problem (overflow & new values)
  - Homunc deleted if intimacy < 0
  - base exp is now given to master
  - Homunc sometimes not saved

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 11:56:22 +00:00
Playtester
6eb305c5a9 Fixed the Morroc ingredient seller to not appear
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7911 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:40:29 +00:00
Playtester
ccf714afce Another Sunkenship spawn fix.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:28:34 +00:00
Playtester
f46b0ee355 Fixed some spawns and a warp in Sunken Ship
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 10:00:40 +00:00
skotlex
6c9eb52332 - Fixed a memory leak when reading the item_db txt.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7906 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 03:33:56 +00:00
skotlex
3d18f93d8e - Applied the necessary changes to make @partyoption reflect it's changes on the alt+p window.
- Some code indentation cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 02:55:24 +00:00
skotlex
9d056a75f1 - Some code cleanup of HLIF_MOON in regards to the number of hits and damage equation.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 19:12:00 +00:00
skotlex
830106c6f9 - Modified party_item_share_type config setting so that using 1 disables item-sharing from non-mob loot (player dropped items or pet loot) and 2 enables round-robin instead of random sharing. Using 3 obviously is enabling both 1 and 2.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 18:51:22 +00:00
skotlex
cfe71d744a - Added battle_get_master which returns the master bl of a given object.
- Recoded battle_check_target to use battle_get_master, the src/target switch has been split into two, so that actual target and master target are seperately treated (same for source).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 18:22:24 +00:00
skotlex
7cd47130d0 - Added support for "sc_end -1" which will clear all status changes. Added the constant SC_ALL so you can use in scripts "sc_end SC_ALL;" instead.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 15:12:50 +00:00
skotlex
9a5e48460c - @pettalk will now fail when muted.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 14:47:30 +00:00
skotlex
9572db00eb - Enabled changing of equipment while stunned/asleep/petrified/etc
- Cleaned up a bit the skill_castend_id dead checks.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 14:30:34 +00:00
Playtester
ef1bfce009 * Fixed the Factory Quest
- two NPCs in one line won't work! >_>

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7888 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 10:50:39 +00:00
evera
b58664ad5c Added very first part of Bio Ethics Quest.
Very far from complete.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7887 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-26 02:28:50 +00:00
skotlex
0f8d093a2c - Cleaned up run_script_main to properly free previous stack-data when running scripts. Note that scripts may still leak memory when run by non-players and they don't reach the "END" state, however I am not sure how this case should be handled, so it's left as it is for now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 22:18:53 +00:00
Playtester
f0f744de3a Added rudeattacked teleport to Rachel MVPs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7885 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 22:04:10 +00:00
skotlex
74c899ec9f - Added a missing ntohl call in the loginlog code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7884 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 21:47:02 +00:00
skotlex
13489e30a8 - Added a check when buying from npcs to allow buying of item_avail items.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7883 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 21:32:57 +00:00
MasterOfMuppets
3d59b13508 Small fixes for the sign quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7882 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 19:43:15 +00:00
skotlex
44365a97f2 - Fixed duel accept invite sending the packet before the duel data is set (resulting in a packet that noone receives). Thanks to Toms for finding it out.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 19:29:21 +00:00
skotlex
3fc64fbe0a - Fixed a possible crash when you dual-wield and the total damage is 0.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 19:12:27 +00:00
skotlex
7570d19aee - Added Toms's perl scripts item_db.pl and mob_db.pl (they are in tools/), they convert the txt databases into sql.
- Usage: "script" < "input file" > "output file". eg: ./tools/item_db.pl < db/item_db.txt > sql-files/item_db.sql
- Updated the sql files since now it's easy :D


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7879 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 18:43:42 +00:00
Playtester
7c2b6ee749 Added some NPC_Emotions for the Rachel mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7878 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 18:06:36 +00:00
Playtester
02d1820269 Fixed Grandcross not being self-targeted for mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7877 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 17:43:56 +00:00
Playtester
98b5dc1ea5 Something weird happened to the exp2.txt some months ago and I finally reverted it ^^;
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7876 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 17:40:00 +00:00
Playtester
662c932d00 Final cooking drop rate adjustment
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7874 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 15:51:14 +00:00
Playtester
28864e99c2 Fixed a bug in the item_db thanks to Toms
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7873 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 15:04:26 +00:00
Playtester
df0718012d * Updated Thanatos Tower spawns
- they are official up to Floor 6 now

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7871 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 14:40:01 +00:00
Playtester
0ebf7db70b Fixed G_Kraben and G_Biolab3 mobs
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7870 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 12:08:37 +00:00
Playtester
fafad53907 Item updates by Haplo
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7869 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 09:57:04 +00:00
skotlex
4ad022db62 - Re-updated the mob_db.sql to latest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7868 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 01:31:13 +00:00
skotlex
b2a4d6446c - Cleaned up the skill_landprotector function to correctly block only magic skills from being placed on land protectors.
- Corrected itemdb_group so that it will not return the random item givers (should give priority to actual item groups, so that the item heal bonuses work correctly)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7867 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-25 00:42:38 +00:00
skotlex
1b9b599e2a - Modified the loginlog setting on the login-sql server to store the ips using the htonl conversion function before storing/retrieving them from sql.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7866 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 23:32:02 +00:00
Playtester
03ad533c4a Raised drop rate of cook books and sets a little
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7865 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 21:11:57 +00:00
Playtester
9519cccdf6 Raised drop rate of food a little
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7864 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:48:22 +00:00
skotlex
91cae9f29b - Cleaned up the Mistress Card related code so that the no-gemstone bonus reduces item requirements by one rather than totally skip them.
- Cleaned up the logs "can log"function to use the IT constants. Also corrected the "only log large amounts" setting not working on negative values (trades).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7863 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:29:18 +00:00
Playtester
1ee23c02b1 Updated Changelog Header
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7862 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:15:47 +00:00
Playtester
d15a8cc448 Raised drop rate of Kiel's and Valkyrie's drops a little
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7861 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 20:12:26 +00:00
reddozen
3bda671dcf updated def on 2006 helms in preparation for the 2006 headgears quest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7860 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 19:05:06 +00:00
skotlex
7100c9aa21 - Adjusted skill_castfix_sc so that Suffragium will get consumed even on instant cast skills, but Memorize won't.
- Adjusted map_countoncell to receive the BL_* defines currently used instead of 0 to signal all.
- BladeStop will now end when either of the characters is moved (knocked out?) around.
- Moved the Zeny penalty code from respawn to pc_dead.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7859 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 19:01:53 +00:00
skotlex
e66ac3dfce - Added a check to prevent Deluge/Volcano/Violent Gale from being placed on top of each other. Reverted the previous 'fix' where atk was being increased based on armor element rather than element of attack.
- Added flag 0x002 (no reiteration) to Deluge/Volcano/Violent Gale (skill_unit_db)
- Removed the noreturn mapflag check from script command warp.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7858 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 17:28:13 +00:00
DracoRPG
d42fb96de3 Random Homunculus cleanup
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7857 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 16:58:29 +00:00
Playtester
006fff9812 Edited Rachel mobs a little and added Beret to Turtle General drops
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7856 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 16:13:56 +00:00
skotlex
cb54048d1e - Changed Land Protector's range back to 3.
- fixed unban unblocking players as well.
- Fixed Volcano/Deluge/Violent Gale increasing damage based on element of attack instead of defense element of attacker.
- Cleaned up the code of Magic Rod, fixed it not giving SP.
- Moved the code of Hermod and Basilica to castend_pos2 so it should work now.
- Modified the code of Ankle Snare so the status ends on unit's time-limit rather than when the snared object moves away.
- Re-worded the water check of ST_WATER skills.
- Allowed sc-cast reductions to be processed even when cast-time is instant (to let suffragium end even on instant-cast skills)


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7855 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 15:10:51 +00:00
Playtester
dca18db214 Added temporary Rachel spawn file, commented for now
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 11:49:20 +00:00
MasterOfMuppets
69be46085b Removed the regular Thanatos spawn, since the quest is now implemented.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7853 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 01:22:03 +00:00
MasterOfMuppets
afa4fbb46b git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7850 54d463be-8e91-2dee-dedb-b68131a5f0ec 2006-07-24 01:05:46 +00:00
MasterOfMuppets
e0ed03f01a Implemented the Niflheim town invasion.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7848 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-24 01:03:29 +00:00