diff options
author | shennetsind <ind@henn.et> | 2013-03-09 00:04:28 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-03-09 00:04:28 -0300 |
commit | d2d734ce0983fbed72e69f555f57f29de04f30b3 (patch) | |
tree | a3332e1eea882a9df5a2253d9a63153a9197851a /sql-files | |
parent | bb0f807d0683fcb2c0e9fdd6a5d1e54686dfc816 (diff) | |
download | hercules-d2d734ce0983fbed72e69f555f57f29de04f30b3.tar.gz hercules-d2d734ce0983fbed72e69f555f57f29de04f30b3.tar.bz2 hercules-d2d734ce0983fbed72e69f555f57f29de04f30b3.tar.xz hercules-d2d734ce0983fbed72e69f555f57f29de04f30b3.zip |
Hercules Renewal'd Pin Code
Feature is not, I repeat, NOT complete. the decryption is not fully functional which leads to dial values different from the ones the player used.
Credits:
lemongrass3110 for the base
yommy for the packets
LightFighter for the decrypt function (altho its not stable :P)
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'sql-files')
-rw-r--r-- | sql-files/main.sql | 6 | ||||
-rw-r--r-- | sql-files/upgrades/2013-03-06--00-00.sql (renamed from sql-files/upgrades/upgrade_svn17178.sql) | 4 | ||||
-rw-r--r-- | sql-files/upgrades/2013-03-09--01-56.sql | 4 | ||||
-rw-r--r-- | sql-files/upgrades/index.txt | 4 |
4 files changed, 15 insertions, 3 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql index 3270bf7e2..b7b3e5226 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -438,7 +438,9 @@ CREATE TABLE IF NOT EXISTS `login` ( `lastlogin` datetime NOT NULL default '0000-00-00 00:00:00', `last_ip` varchar(100) NOT NULL default '', `birthdate` DATE NOT NULL DEFAULT '0000-00-00', - `character_slots` TINYINT( 3 ) unsigned NOT NULL, + `character_slots` TINYINT( 3 ) unsigned NOT NULL default '0', + `pincode` varchar(4) NOT NULL default '', + `pincode_change` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`account_id`), KEY `name` (`userid`) ) ENGINE=MyISAM AUTO_INCREMENT=2000000; @@ -648,6 +650,8 @@ CREATE TABLE IF NOT EXISTS `sql_updates` ( INSERT INTO `sql_updates` (`timestamp`) VALUES (1360858500); INSERT INTO `sql_updates` (`timestamp`) VALUES (1360951560); INSERT INTO `sql_updates` (`timestamp`) VALUES (1362445531); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000); +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218); -- -- Table structure for table `sstatus` diff --git a/sql-files/upgrades/upgrade_svn17178.sql b/sql-files/upgrades/2013-03-06--00-00.sql index 02c4c1475..844e3d8a8 100644 --- a/sql-files/upgrades/upgrade_svn17178.sql +++ b/sql-files/upgrades/2013-03-06--00-00.sql @@ -1,7 +1,9 @@ --- This script resets all quests that were done by your users before this revision +#1362528000 +-- This script resets all dewata quests that were done by your users before this revision -- Author: Euphy DELETE FROM `quest` WHERE `quest_id` > 5034 AND `quest_id` < 5055; DELETE FROM `quest` WHERE `quest_id` > 9154 AND `quest_id` < 9166; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_gatti'; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_legend'; DELETE FROM `global_reg_value` WHERE `str` = 'dewata_oldman'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362528000);
\ No newline at end of file diff --git a/sql-files/upgrades/2013-03-09--01-56.sql b/sql-files/upgrades/2013-03-09--01-56.sql new file mode 100644 index 000000000..43811ee33 --- /dev/null +++ b/sql-files/upgrades/2013-03-09--01-56.sql @@ -0,0 +1,4 @@ +#1362794218 +ALTER TABLE `login` ADD COLUMN `pincode` varchar(4) NOT NULL DEFAULT ''; +ALTER TABLE `login` ADD COLUMN `pincode_change` int(11) unsigned NOT NULL DEFAULT '0'; +INSERT INTO `sql_updates` (`timestamp`) VALUES (1362794218);
\ No newline at end of file diff --git a/sql-files/upgrades/index.txt b/sql-files/upgrades/index.txt index bd835414c..a803adffc 100644 --- a/sql-files/upgrades/index.txt +++ b/sql-files/upgrades/index.txt @@ -1,3 +1,5 @@ 2013-02-14--16-15.sql 2013-02-15--18-06.sql -2013-03-05--01-05.sql
\ No newline at end of file +2013-03-05--01-05.sql +2013-03-06--00-00.sql +2013-03-09--01-56.sql
\ No newline at end of file |