Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions Installer.bat
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
@ECHO OFF
TITLE Database Installation Tool
TITLE Utilitaire d'installation des Databases
COLOR 0A

:TOP
CLS
ECHO.
ECHO ��������������������������������ͻ
ECHO
ECHO MistCore 5.0.5
ECHO Database Installer
ECHO
ECHO ��������������������������������ͼ
ECHO ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO º º
ECHO º CiyaCore 5.0.5b º
ECHO º Database Installeur º
ECHO º º
ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
ECHO.
ECHO.
ECHO Please enter your MySQL Info...
ECHO Veuillez entrer vos infos Mysql...
ECHO.
SET /p host= MySQL Server Address (e.g. localhost):
SET /p host= Adresse du serveur Mysql (e.g. localhost):
ECHO.
SET /p user= MySQL Username:
SET /p pass= MySQL Password:
SET /p user= Utilisateur Mysql:
SET /p pass= Mot de passe Mysql:
ECHO.
SET /p world_db= World Database:
SET /p world_db= Nom de la Database World:
SET charset=UTF8
SET port=3306
SET dumppath=.\dump\
Expand All @@ -34,18 +34,18 @@ CLS
SET v=""
ECHO.
ECHO.
ECHO 1 - Install 5.0.5 World Database and all updates, NOTE! Whole db will be overwritten!
ECHO 1 - Installation de la Database World 5.0.5b et de toutes ses mises à jour, NOTE! L'ancienne DB sera supprimée!
ECHO.
ECHO,
ECHO W - Backup World Database.
ECHO C - Backup Character Database.
ECHO U - Import Changeset.
ECHO W - Backup de la DB World.
ECHO C - Backup de la DB Characters.
ECHO U - Importer le Changeset.
ECHO.
ECHO S - Change your settings
ECHO S - Changer mes paramètres
ECHO.
ECHO X - Exit this tool
ECHO X - Quitter l'utilistaire
ECHO.
SET /p v= Enter a char:
SET /p v= Entrez une lettre:
IF %v%==* GOTO error
IF %v%==1 GOTO importDB
IF %v%==w GOTO dumpworld
Expand Down Expand Up @@ -177,4 +177,4 @@ ECHO.
PAUSE
GOTO begin

:exit
:exit
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
MC-Database
Ciya-Database
===========

General information
Informations Générales

This database is for MistCore 5.0.5b
It includes auth, characters & world
Cette base de données est optimisées pour CiyaCore 5.0.5b
Sont incluses, les bases de sonnées : auth, characters et world.

===========

MC-Database is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Ces fichiers sont la propriétés de www.garrosh.net. A tous moments ils peuvent être supprimés et / ou modifiés.
Si vous souhaitez participer à la correction, et à l'évolution de nos fichiers, veuillez nous contacter
à cette adresse : contact@garrosh.net
33 changes: 17 additions & 16 deletions auth/auth_database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -152,24 +152,25 @@ CREATE TABLE `realmcharacters` (
/*Table structure for table `realmlist` */

DROP TABLE IF EXISTS `realmlist`;

CREATE TABLE `realmlist` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`port` smallint(5) unsigned NOT NULL DEFAULT '8085',
`icon` tinyint(3) unsigned NOT NULL DEFAULT '0',
`flag` tinyint(3) unsigned NOT NULL DEFAULT '2',
`timezone` tinyint(3) unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`population` float unsigned NOT NULL DEFAULT '0',
`online` int(11) NOT NULL DEFAULT '0',
`gamebuild` int(10) unsigned NOT NULL DEFAULT '16135',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`port` smallint(5) unsigned NOT NULL DEFAULT '8085',
`icon` tinyint(3) unsigned NOT NULL DEFAULT '0',
`flag` tinyint(3) unsigned NOT NULL DEFAULT '2',
`timezone` tinyint(3) unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`population` float unsigned NOT NULL DEFAULT '0',
`online` int(11) NOT NULL DEFAULT '0',
`gamebuild` int(10) unsigned NOT NULL DEFAULT '16135',
`versionclient` varchar(10) NOT NULL DEFAULT '5.0.5b',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Realm System';

INSERT INTO `realmlist` VALUES (1, 'Test', '127.0.0.1', 8085, 0, 2, 0, 0, 0, 0, 16135);
INSERT INTO `realmlist` VALUES (1, 'Yulon', 'logon.garrosh.net', 8085, 0, 2, 0, 0, 0, 0, 16135, '5.0.5b');
INSERT INTO `realmlist` VALUES (2, 'Huolon (PTR)', 'logon.garrosh.net', 8086, 0, 2, 0, 0, 0, 0, 16135, '5.0.5b');

/*Table structure for table `transferts` */

Expand Down Expand Up @@ -212,7 +213,7 @@ CREATE TABLE `uptime` (
`starttime` int(10) unsigned NOT NULL DEFAULT '0',
`uptime` int(10) unsigned NOT NULL DEFAULT '0',
`maxplayers` smallint(5) unsigned NOT NULL DEFAULT '0',
`revision` varchar(255) NOT NULL DEFAULT 'Jadecore',
`revision` varchar(255) NOT NULL DEFAULT 'CiyaCore',
PRIMARY KEY (`realmid`,`starttime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Uptime system';

Expand Down
2 changes: 1 addition & 1 deletion characters/characters_database.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,7 @@ DROP TABLE IF EXISTS `store_level`;

CREATE TABLE `store_level` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`level` int(11) unsigned NOT NULL DEFAULT '80',
`level` int(11) unsigned NOT NULL DEFAULT '90',
`transaction` int(11) unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`transaction`),
UNIQUE KEY `transaction` (`transaction`),
Expand Down
2 changes: 1 addition & 1 deletion main_db/world/version.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS `version` (
-- Dumping data for table world.version: 1 rows
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
INSERT IGNORE INTO `version` (`core_version`, `core_revision`, `db_version`, `cache_id`) VALUES
('MistCore rev. Archived 0000-00-00 00:00:00 +0000 ( branch) (Win32, Debug)', 'Archived', 'TDB 434.02', 2);
('CiyaCore rev. Archived 0000-00-00 00:00:00 +0000 ( branch) (Win32, Debug)', 'Archived', 'TDB 505.1', 2);
/*!40000 ALTER TABLE `version` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
Expand Down