241 Commits

Author SHA1 Message Date
ultramage
bae7ecf012 Reverted the "The md5() of their kafra code is now stored in #kafra_code$" change from r13728.
Added md5calc to vs8/vs7/vs6 project files.
Applied svn:eol-style to the new sql upgrade file.

Note that if you already applied the sql upgrade, your kafra passwords are lost.
Also note that txt users will still have to implement their own migration code into the kafra scripts since it was omitted in the previous commits.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13729 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 12:29:54 +00:00
brianluau
53998c9f3d * Added the md5() script command. (follow up to r13719)
- Changed kafra storage password to be stored as md5 hash in #kafra_code$.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13728 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 08:22:53 +00:00
jmanfffreak
072ee7a90b Updated item_db.sql and mob_db.sql from recent changes to both. Thanks to Peter once again!
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-04 01:25:17 +00:00
brianluau
791429c7b0 * Removed the obfuscation of the #kafra_code password. (bugreport:2323)
TODO: add a 'md5()' script command and use that instead.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13719 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-05-03 04:30:20 +00:00
Playtester
94a411d8e5 * Updated item_db.sql with the perl script
* Added missing changelog entries about Moscovia mob changes

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-18 16:47:37 +00:00
jmanfffreak
8f9f43d206 Updated mob_db.sql to latest, thanks to Peter for his auto builds of the db's. [Jguy]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13595 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-17 23:05:36 +00:00
ultramage
5ec23576c6 Corrected the char table's 'manner' column type to match the type used by the server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-03-15 22:48:22 +00:00
ultramage
e362a5ce6f Corrected revision number for the previous upgrade script.
Applied changes made inside the script to main.sql.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-21 10:59:18 +00:00
ultramage
c2cc0763d9 Increased variable size for status/skill points to remove the 65k cap (bugreport:1579).
Added sql upgrade script to adjust the appropriate char table columns.
This is an enhancement to r5762.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2009-02-20 19:47:17 +00:00
Kisuka
f2ba968a5e Fixed typo on item script.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13390 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-29 23:52:24 +00:00
zephyrus
c830a56da3 - Item Rental System.
Script Usage:
- rentitem <itemid>,<seconds>;
- rentitem <itemname>,<seconds>;

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13370 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-11-16 16:14:30 +00:00
ultramage
ab77ae1f2b Partially reverted r13197 to maintain consistency with followup sql update.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13200 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-08 00:13:18 +00:00
zephyrus
d475f7aaff - Removed mer_id from main.sql in char table. (Bug Report 2192)
- Removed 13117 sql patch, not necessary anymore.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13197 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-07 10:56:08 +00:00
zephyrus
5954733c85 - Moved char server's mercenary code to a different file (int_mercenary.*)
- New Sql Patch for create mercenary_owner DB.
- Removed mer_id from char_db.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13166 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-09-01 00:03:10 +00:00
zephyrus
e5e14c14fe - Added column mer_id on char_db
- More mercenary implementations (delete, load, create)
- Some fixes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13117 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-23 14:59:51 +00:00
zephyrus
b6c7de7c00 - Database structure for Mercenary.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13115 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-23 12:14:13 +00:00
ultramage
f4c4ccb9c9 Removed 'DROP TABLE' statements from main.sql (bugreport:1714)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13062 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-10 03:59:44 +00:00
ultramage
dac1c2d2df Removed unused guardian hp columns from the guild castles table in main.sql (should have been done in r11915).
Corrected incorrect use of the datetime column in the `login` table (bugreport:1962). Refreshed txt account savefile.
Cleaned up some random minor source code glitches.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13030 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-08-01 07:05:16 +00:00
akrus
4232eaf3d5 * Fixed: added 'E'-type zenylogs in sql table (bugreport:1957) [akrus]
- added sql file upgrade_svn13025_log.sql


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13025 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 07:19:38 +00:00
akrus
0f18041ac7 * Fixed: commented out loginlog in convert engine sql tables (loginlog table is in logs database now) [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13019 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-31 02:13:20 +00:00
ultramage
f03a7e2413 Corrected upgrade_svn12975_view.sql not assigning default values to the two dummy columns (bugreport:1940).
Please drop the view and re-run the script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13010 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-29 03:06:58 +00:00
ultramage
106b44c1e7 Merged the /loginmerge branch (topic:192754)
* the login server storage, ipban and logging systems have been abstracted and now provide a common interface; the rest has been merged into a single login server core (no more login/login_sql duplicity)
 * storage systems are now added via compiler options (WITH_SQL / WITH_TXT)
 * multiple storage engines can be compiled in at the same time, and the config option account.engine defines which one will be used.
 * due to MySQL autoincrement limitations, accounts with id '0' will not be supported; account IDs from this point on should start from '1'.
 * login_log() functions now again record IP addresses in dotted format, not as 4-byte integers (undo from r6868).
 * removed config options that defined column names in the login table
 * removed `memo` and `error message` columns from login db/savefile
 * moved `loginlog` table to the logs database
 * added sql files upgrade_svn12975.sql and upgrade_svn12975_log.sql
 * due to changes to the login table layout, I added an !optional! sql file (upgrade_svn12975_view.sql) that will provide a certain degree of backwards compatibility with existing software; read the instructions inside carefully!
 * moved third-party includes/libs to a separate directory
 * updated project files / makefiles

Changed the way GM levels are handled
 * removed conf/gm_account.txt
 * added the gm level column to the txt savefile (after 'email' column)
 * gm level information is now transferred along with account data
 
For open problems see bugreport:1889.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13000 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-26 20:45:57 +00:00
akrus
319d9ced3d * Fixed: replaced TYPEs with ENGINEs in SQL files (for better compatibility, TYPE is a synonym) [akrus]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12880 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-23 06:40:25 +00:00
ultramage
189a9ec34e Typo fix for r12758 ><
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12764 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-07 02:54:28 +00:00
ultramage
1aae890f73 Added 'E' type to picklog table's 'type' column (followup to r11721).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12758 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-06-05 12:51:51 +00:00
ultramage
6b904e34cb Increased the allowed packet size for chat messages.
Changed the capacity of the message column in chatlog (see sql update).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12725 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-26 11:25:12 +00:00
toms
4f4cb7515f Updated sql files to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12722 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-24 11:20:16 +00:00
toms
21c53a83f0 Updated mob_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12677 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-05-01 09:43:24 +00:00
toms
bf1e5ff7c6 Updated item_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12652 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-25 19:00:22 +00:00
toms
355d69194a Updated sql files to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12630 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-21 21:11:41 +00:00
toms
45a96330d7 Removed all _ in the second name in item_db.txt and updated item_db.sql
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12601 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 15:20:09 +00:00
toms
6b035c6f00 Updated item_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12597 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-15 08:00:54 +00:00
Kevin
ea96b9da32 Forgot to change main.sql to reflect the update to quest_objective table.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:37:04 +00:00
Kevin
302adbf42a Major updates to the quest system.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-13 22:19:02 +00:00
ultramage
65ea169212 Reverted the login table changes from r12464
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:45:26 +00:00
Kevin
e889fc9d62 Changed eol-style to native for these files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:28:27 +00:00
Kevin
a6b57811f9 New sql definitions for the quest code.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-11 07:24:03 +00:00
Kevin
f5fd71f4be Char server now loads/saves quest information.
Included table definitions for quests and quest objectives.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-10 05:35:04 +00:00
ultramage
f6a6d34640 Replaced the TYPE keyword with ENGINE in all sql files, because this is the preferred alternative.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 21:04:47 +00:00
ultramage
24989df4ce Added login.c to hold most of the common functionality of the login server.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 20:07:53 +00:00
toms
b41dee8fcd Updated mob_db.sql to latest
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-04 13:19:18 +00:00
ultramage
77826dfdf8 Renamed 'connect_until_time' to 'expiration_time'.
Renamed 'ban_until_time' to 'unban_time'.
this also applies to login table columns (see upgrade_svn12464.sql).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-04-03 12:46:55 +00:00
toms
00f560c339 Updated SQL Files (item & mobs)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12444 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-27 21:20:12 +00:00
Paradox924X
61c61b6fe9 Updated Poring Tower to not refinable. (bugreport: 1050)
Renamed custom Stylist to Stylist#customstylist to avoid conflicts with official one. (bugreport: 1042
Updated Airship Typing Challenge to not fail you when you get both strings correct. (bugreport: 1008)
Fixed Job_Change Function to properly jobchange babies. (bugreport: 943)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12368 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-15 18:51:07 +00:00
zephyrus
9f2fcbdb6c - Added the auctiondb structure
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12294 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-05 02:16:34 +00:00
zephyrus
1cbcdaf3f2 - New optimizations for mail system and adjust to use it on Auctions.
- Added a Sql patch to clear all deleted mails. (There is no need to keep that data)
- Added more code for Auctions. Not implemented but just for study.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12278 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-03-02 19:07:14 +00:00
toms
ac123d2304 Updated conversion tools for mob_db & item_db
Updated SQL Files (item & mobs)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12138 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-01-25 16:11:39 +00:00
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