194 Commits

Author SHA1 Message Date
ultramage
10e9228f5d Fix to the sql files, password column length must be 32, to store md5 hashes =_=
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12049 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-10 20:57:56 +00:00
ultramage
fafb4b8476 Another round of login server cleaning
* fixed passwordencrypt on SQL not behaving correctly (since r10753)
 * corrected some column lengths in the login db (username, password,...)
 * fixed some places which used wfifo without first reallocating it
 * removed interserver packet 0x7532 (Request to end connection), as there was no code that actually sent this packet
 * moved RFIFOSKIP actions to execute as soon as possible

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12043 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-10 15:35:23 +00:00
ultramage
e5b0ee65bf Removed the 'create athena.txt' step from athena-start as the server does that automatically.
Removed the 'kill -9' action from athena-start, as it prevents the server from shutting down cleanly. If your process gets stuck, kill it manually (or add a hard-stop option).
Fixed one wrong revision number in changelog.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-17 07:09:10 +00:00
ultramage
1e6922174e Guardian hp handling code removal (see bugreport:342)
- removed guardian hp from the castle data structure, database, savefiles and various script functions (use upgrade_svn11914.sql)
- removed guardian hp calculation and manipulation from the castle manager npc, now the hp values are updated by the server itself (glitch: when castle defense changes, all guardians are healed to full)
- tweaked script function 'guardianinfo' to provide some data needed by the manager npc (currently available are hp, maxhp and visibility); also, it doesn't need a player attached to execute anymore
The whole thing is experimental, use at your own risk (seems to work though...)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-14 23:38:11 +00:00
ultramage
8be1c4d48c * Some preparations for the guild script update
- cleaned up npc event execution code
- cleaned up guild data loading/saving code; to be improved later
- removed dummy 'account name' expulsion list management code
- removed columns 'rsv1' and 'rsv2' from guild member data
- removed columns 'rsv1' 'rsv2' 'rsv3' and 'acc' from guild expulsion data
- added upgrade_svn11895.sql for SQL

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11895 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-12-12 09:55:13 +00:00
zephyrus
0cf565292d - Important fix to Mail System allowing (by a low change) items duple.
- Added picklog to mail.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11721 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-12 08:55:36 +00:00
zephyrus
009ce06822 - Some updates on the mail system packets [Zephyrus]
- Corrected the mail database structure on main.sql
- TODO: find what happens when you cannot receive an emailed item due to weight problems.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11692 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-07 17:16:53 +00:00
Playtester
b4a2a2c9fc Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11669 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-11-05 20:18:04 +00:00
zephyrus
a558a4d2c7 - Updated the mail sql structure in main.sql.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11617 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-30 03:41:23 +00:00
Playtester
e29f5887de Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11602 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-28 23:07:07 +00:00
ultramage
b6bbaef27b Followup fixes to r11583:
* fixed wrong sql upgrade file name, added svn:eol-style native
 * made 'status' variable directly use the mail_status enum
 * replaced some hardcoded numbers in mail queries with references to the enum
 * fixed a query which still used 'read_flag'
 * fixed all new mails being displayed as 'already read'
 * removed sd nullpo checks from parse_ functions as that can never happen
 * fixed mapserver sending (and charserver saving) junk item fields when there is no item attached to a mail
 * fixed wrong mail send packet interpretation saving random memory after message body ('body_len' doesn't include the terminating zero)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 09:48:27 +00:00
zephyrus
284222a415 - Improvements to the mail system.
- Added a sql patch, renaming "read_flag" column to "status" on the mail db.
- Need more testing.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-27 06:34:04 +00:00
ultramage
d091f1cf05 * Cleaned up some messy guild code (more to come)
* Cleaned up the mail code, no more pointless dynamic allocation
* Added upgrade_svn11548.sql to convert the mail table to new format
* Updated vs7 and vs6 project files
* Increased the max. send buffer size to 5M since 1M is not enough
* Please complain if something stops working ^^;

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-24 12:14:18 +00:00
zephyrus
a0b1a582a1 * Removed the inter_athena.conf maildb settings as they are not required anymore.
- MailDB is now an integral part of the MainDB.
- To Server Admins, use mysql tools to move your mail data to the new structure.
- You can get the maildb structure from main.sql.
- Renamed some vars (recomendation of Ultramage :D)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11557 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-23 00:31:37 +00:00
zephyrus
c34325a53b - Added the new mail system. Requires optimization and tests.
- Updated the maildb sql structure.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-22 20:38:26 +00:00
Playtester
3d7e086154 * Added new cards to drops so they can be tested
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-21 16:05:05 +00:00
Playtester
7088251f9e Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11497 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-17 08:20:26 +00:00
ultramage
5a72530983 Reverted / re-did r11426. Someone please update the db converter to properly handle // comments.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-12 20:46:20 +00:00
Playtester
bd056c18f3 Updated sql files (2)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11426 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-12 20:06:16 +00:00
Playtester
5542b30092 * Removed exp of poring stat mobs
- updated Moscovia mob stats
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11421 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-12 00:52:18 +00:00
Playtester
f2fec00952 Added a missing item name thanks to rollopop
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11389 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-09 23:54:37 +00:00
ultramage
fd1f06130c Added upgrade_svn11388.sql to correct some log table column widths (for example, atcommandlog only stored first 50 chars)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11388 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-09 20:09:15 +00:00
Playtester
fc15fdacb8 * Added missing item names in the item_db
- please fix the txt files if there's a bug to begin with next time
- also ingame names shouldn't have "_"
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11372 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-06 12:02:17 +00:00
zephyrus
85723b656a - Bug ID #143: Error In Item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-05 20:39:16 +00:00
Playtester
57a28a2f66 Small sql update
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11339 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 08:20:51 +00:00
Playtester
bbd3dec66d * Reverted the bug that was added in the last update
- official script clearly says 30%
- please don't update db files without official source

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 08:12:31 +00:00
Paradox924X
b470d3ec9c Fixed Gemini-S58 Card.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11335 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-10-01 01:34:55 +00:00
ultramage
2b21f97dba Added missing msg_athena.conf entry for the summer outfit; name 'Summer' used for now.
Removed strange 'svn:executable' attributes from item_db2.sql and mob_db2.sql

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11325 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 14:56:39 +00:00
Playtester
d7a44b3d83 Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11322 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-28 13:34:26 +00:00
Playtester
db7c85336e * Removed Final Strike from skill_cast_db
- also updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11317 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 22:03:53 +00:00
FlavioJS
0498cb19c0 * Reimplemented mmo_char_fromsql using sql statements. (fixes bugreport:93)
* Fixed buildin_gethominfo not being included in the script engine. (bugreport:124)
* homunculus_evolution -> homevolution in script_commands.txt.
* Deleted item DEFAULT from item_db.txt and regenerated item_db.sql. (bugreport:103)
* Skip empty lines and give more feedback (for invalid lines) when reading item_db.txt/item_db2.txt.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11311 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-27 11:18:58 +00:00
ultramage
2076c3d41e Removed unused mobdb2 entries (late followup to 10988 and 10946)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11285 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-24 11:25:50 +00:00
Playtester
ba12271335 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11273 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-22 11:50:28 +00:00
Playtester
4c01114652 * Slightly adjusted some drop rates
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11242 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-19 13:27:14 +00:00
Playtester
b6e795d411 Some more drop rate updates
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11235 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 21:59:27 +00:00
Playtester
67812f3335 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11232 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-17 20:08:44 +00:00
Playtester
5ed058b607 Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-10 18:33:30 +00:00
skotlex
ad2df1c5ce - Modified bonus3 bAddEff/bAddEffWhenHit so that the last parameter is now passed directly as "trigger" flag. The possible trigger values are ATF_LONG, ATF_SHORT, ATF_TARGET, ATF_SELF. Explanation added to doc/item_bonus.txt
- Updated some cards to use the new format of bonus3 bAddEff*


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11157 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-09 18:05:16 +00:00
Playtester
2f4f2ca04d Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11152 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-09 09:15:47 +00:00
Playtester
48752ff63c * Some drop and item fixes
- also updated sql files
- time for players to test all the new stuff now :x

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11128 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-04 23:02:43 +00:00
Paradox924X
f2320ad3b7 Forgot to update base item db sql file! :P
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11108 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-02 15:22:45 +00:00
Paradox924X
fd86ca7633 Updated Refined Sakkat Box to give only 1 Sakkat instead of 10.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11106 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-09-02 15:15:51 +00:00
Playtester
2f4c475e13 Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11098 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-30 17:48:10 +00:00
skotlex
dff80559d4 - Merged and completed Latio's work on server-side hot-key saving (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453)
- Now hotkeys are stored server-side (table hotkey in SQL servers, file save/hotkeys.txt for TXT servers). You can disable this behaviour by commenting out the 'HOTKEY_SAVING' define in mmo.h
- Fixed a few compilation warnings/errors.
- Apply upgrade_svn11018.sql to create the hotkey table.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-15 22:08:30 +00:00
Playtester
b817e7cca2 Updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10976 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-08-10 14:00:00 +00:00
Playtester
fbf4fd5c7c Updated sql files
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-30 23:26:35 +00:00
Playtester
c3b4659aa0 Fixed spiritual ring
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10854 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-04 11:54:36 +00:00
Playtester
e2d995719f * Cursey Abbey mob updates
- fixed some bugs in the item_db
- updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10851 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-07-04 11:09:11 +00:00
ultramage
fdb0636dc3 random fixing
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-23 12:15:58 +00:00
Playtester
c3bc0aa4d2 * Added some official Thor Volcano mob stats
- also updated sql files

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10730 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-06-09 15:31:15 +00:00