122 Commits

Author SHA1 Message Date
skotlex
da11e41ed4 - Added view_data support to mercenary.*, so that the Homunculus entries are no longer required on the mob_db.
- Removed homunculus entries from mob_db.
- Added the status icon to NPC_CHANGEUNDEAD and the Flee/Hit foods
- Corrected the check that lets you walk when vending/chatting/etc.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9697 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-23 14:08:34 +00:00
ultramage
d83cb2e926 - Fixed Succubus/Incubus combo not doing regen correctly
Read why at http://www.eathena.ws/board/index.php?showtopic=129814

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9622 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-01-06 16:07:19 +00:00
toms
0a1b9629b6 Updated SQL files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-27 16:10:49 +00:00
skotlex
d882e5030b - Reverted the mob ThinkTime update, that field is again aDelay as it apparently should be.
- Fixed one small compilation error.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-19 13:41:25 +00:00
skotlex
188a6322a0 - Added boss mode (0x20) to a few mobs that were missing it.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-13 15:08:38 +00:00
skotlex
072a933741 - Updated mob_db2.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-11 18:43:02 +00:00
Playtester
914a102822 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9459 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-11 17:22:16 +00:00
skotlex
38338ae141 - Updated the mob_db converter to rename the ADelay column to ThinkTime.
- Updated the mob_db sql files to have this change as well.
- Updated mob_db2.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9425 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:38:45 +00:00
Playtester
3e4765f481 Updated sql-files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9424 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-06 18:34:33 +00:00
Playtester
7793857bff Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9378 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-01 22:53:41 +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
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
Playtester
5424384263 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9299 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-23 16:24:16 +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
toms
acd1e25cfb Updated sql files
Updated perl files acording to rev 9135


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9139 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-05 09:38:59 +00:00
Lance
f49def46aa * Converted itemdb tables to use smallint. Credits to ALZ.
modified   Changelog-Trunk.txt
modified   sql-files/item_db.sql
modified   sql-files/item_db2.sql
added      sql-files/upgrade_svn9135.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9135 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-11-04 14:51:42 +00:00
Playtester
ff9d10bc92 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9081 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-26 20:39:17 +00:00
skotlex
182e56b1d7 - Added a bunch of important indexes when dealing with the log tables. Added upgrade_svn9050.sql for this purpose.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9051 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-23 18:54:28 +00:00
Playtester
87a8b3ccaf Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-10-08 13:11:12 +00:00
Playtester
95f9bcf86d Updated item_db.sql and mob_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8753 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-14 15:53:31 +00:00
skotlex
3c5c104561 - Modified the login SQL server so that case insensitive lookups use "where name = BINARY 'name'" instead of "where BINARY name = 'name'", since this way the name index should be used, and performance will no longer be heavily affected.
- Modified main.sql to add 4 missing indexes (thanks to ErkDog): char_id on the tables memo/friends, and online/name on the char table. Added upgrade_svn8728.sql to add these indexes to already existing tables.
- Changed back the default of case-sensitive to ON since it shouldn't be such a bad performance hog now.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-13 01:07:45 +00:00
skotlex
5af063b223 - Updated convert_engine.sql to use TYPE instead of ENGINE to be compatible with Mysql 4 installations.
- case_sensitive is now off by default due to performance issues.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 21:18:09 +00:00
skotlex
c6142c3f39 - Added manual deletion of sc_data entries when deleting a character (char-SQL)
- Updated main.sql to use pure MyISAM tables, removed all foreign keys.
- Added Jaguar's sql script to convert all tables to MyISAM. It's located in sql-files/convert_engine.sql
- Removed convert_guild_tables.sql as we don't use InnoDB anymore.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-12 18:22:54 +00:00
Playtester
c12d13fd06 Added D-Kalck's fix of the TXT -> SQL converter
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8702 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-11 10:31:49 +00:00
Playtester
05831ec6a7 Sql file...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8694 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 22:33:48 +00:00
Playtester
7fcc044420 Updated item_db.sql and mob_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8690 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-10 09:59:21 +00:00
skotlex
6db8420f3c - Added upgrade_svn8675.sql in case, for some reason, your guild table still has the emblem_data field as a 'blob' with "NOT NULL" specified.
- Some minor cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8675 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-08 16:36:48 +00:00
skotlex
e7b86b1deb - Fixed connect_until field being a smallint rather than int in the login table (upgrade with upgrade_svn8630.sql)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-09-05 14:29:51 +00:00
skotlex
9f8cee903c - updated (more or less) the sql-files/item_db2.sql file.
- Some insignificant cleanups.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 14:54:29 +00:00
toms
c96183c9d4 Added SQL update which should remove \' from guild names
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8423 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-22 11:56:41 +00:00
Playtester
592cf6ab28 * Gospel can't stack anymore
* Updated SQL files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8328 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-17 23:15:30 +00:00
skotlex
6f3c9a6dc7 - Fixed two instances in the login-sql server where the ip in the log-login table was being stored backwards.
- Now when a skill's range is 0 and the skill is NOT casted on self, it will take the basic weapon's range (without Vulture/Snake Eye bonus).
- Now when a duration is not specified, sc_start/sc_start2/sc_start4 will try to guess the duration by extracting it from the skill_db (it uses skill_get_time on whatever skill is associated to the status-change using val1 as skill-level)
- Corrected that extra comma at the end of the Kaensin layout setup.
- Some cleanups on trade_tradeaccept to prevent packets being resent when they shouldn't.
- Corrected that ALLOW NULL thingie on main.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8229 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-10 14:25:32 +00:00
toms
c0f0a50c79 Fixed syntax error in 'guild' create table statement
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-10 13:11:06 +00:00
skotlex
ee59874725 - Fixed yet again AS_SPLASHER doing full damage on all characters. Now you can use the NK split damage value in the skill_db if you want damage divided by the amount of targets rather than by 2.
- Fixed crash on the battle_drain functions.
- Cleaned up HAMI_CASTLE, HLIF_AVOID, HAMI_DEFENCE so that it's usable by other types of objects other than Homunculus. 
- Cleaned up the Asura Strike code so that the SP/Spheres/States is not consumed when the skill fails due to Fog of Wall.
- When a negative delay for a skill is specified, this delay is now added on top of the character's amotion rather than adelay
- Modified main.sql to make the guild table allow NULL on the emblem data.
- Added file conf-tmpl/Changelog.txt


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8185 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-08 15:07:29 +00:00
toms
52745debe5 Reupdated item_db.sql to latest (forgot to update before -_-)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8155 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-06 21:35:10 +00:00
toms
35b7140aec Updated item_db.sql to latest.
Little fixes on homunc (hp/sp are now saved and init stats changed)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8154 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-08-06 21:28:14 +00:00
skotlex
a74b39c5c6 - Corrected Combat Knife reducing damage from DemiHumans by 10% instead of increasing damage against them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-27 16:18:52 +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
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
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
77a985acbe - Updated mob_db.sql to latest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-23 03:51:18 +00:00
DracoRPG
f6d32063cf SQL fix for Homunc skills
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-20 16:40:22 +00:00
skotlex
6abed14141 - Updated mob_db.sql to current mob_db.txt data.
- Some cleaning on chrif.c
- The char-server will allow off-line character saves when said char is tagged for final-save (this is the scenario when the char-map reconnect).


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-18 02:41:10 +00:00
skotlex
98484bf874 - Updated mob_db.sql to current mob_db.txt data.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7708 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 03:17:14 +00:00
DracoRPG
15dd140846 Orn's and Albator's Homunculus system, finally, YAY!!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7706 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-17 00:15:33 +00:00
skotlex
5251ce7944 - Fixed the char table having party/guild_id as smallint when they need int there. Thanks to hermematon for pointing it out (use svn_ugprade7580.sql)
- Applied k3dt fixes to pet-hatching, ice-wall check, and wedding skills.
- Fixed endow skills calling the skill no damage packet twice.
- Fixed a crash on warpwaitingpc when the chat-room is empty.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-07-08 17:13:39 +00:00
skotlex
92cecbdfce - Fixed an error on the item_db.sql file... GOSH I HATE THOSE COMMENTS, they make it HARD to correctly update the sql file >.<''
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7327 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-24 04:08:23 +00:00
skotlex
022268134e - Updated mob_db.sql and item_db.sql to latest.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7324 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-24 00:36:32 +00:00
skotlex
ef3e22db87 - Implemented correct script for "12038,Lotto_Box_04"
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7228 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-17 17:20:24 +00:00
skotlex
974277a787 - Modified the bNoMagicDamage/bNoWeaponDamage bonuses to be a 0-100 setting. Meaning you can do bonus bNoMagicDamage,50; To make all magic damage be reduced by half. This bonus stack, so two cards with bNoMagicDamage,50 will give magic immunity.
- Removed setting gtb_pvp_only and replaced it with gtb_sc_immunity which specifies the threshold before the bNoMagicDamage starts blocking support statuses as well. ie: gtb_sc_imunity: 75 will mean that "bonus bNoMagicDamage,70;" reduces magic damage by 70%, but does not blocks heal or support status, while "bonus bNoMagicDamage,80;" does.
- Updated GTB's card script to be "bonus bNoMagicDamage,100;"


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7212 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-06-16 19:35:27 +00:00