Jump to content

tierrilopes

Premium
  • Posts

    666
  • Joined

  • Days Won

    31
  • Feedback

    0%

Posts posted by tierrilopes

  1. Version check, files to change:

    config.cpp

    input_login.cpp

    input_main.cpp

    And, isnt a good practice, but you dont need to care about tabulations, because thats c++ and not python.

  2. If they dont exist at db:

    DB--> Player --> query

    DROP TABLE IF EXISTS `safebox`;
    CREATE TABLE `safebox` (
      `account_id` int(20) unsigned NOT NULL DEFAULT '0',
      `size` tinyint(3) unsigned NOT NULL DEFAULT '0',
      `password` varchar(6) NOT NULL DEFAULT '',
      `gold` int(30) NOT NULL DEFAULT '0',
      PRIMARY KEY (`account_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    DROP TABLE IF EXISTS `messenger_list`;
    CREATE TABLE `messenger_list` (
      `account` varchar(20) NOT NULL DEFAULT '',
      `companion` varchar(20) NOT NULL DEFAULT '',
      PRIMARY KEY (`account`,`companion`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    DROP TABLE IF EXISTS `player_index`;
    CREATE TABLE `player_index` (
      `id` int(11) NOT NULL DEFAULT '0',
      `pid1` int(11) NOT NULL DEFAULT '0',
      `pid2` int(11) NOT NULL DEFAULT '0',
      `pid3` int(11) NOT NULL DEFAULT '0',
      `pid4` int(11) NOT NULL DEFAULT '0',
      `empire` tinyint(4) NOT NULL DEFAULT '0',
      PRIMARY KEY (`id`),
      KEY `pid1_key` (`pid1`),
      KEY `pid2_key` (`pid2`),
      KEY `pid3_key` (`pid3`),
      KEY `pid4_key` (`pid4`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.