added launch args for ip/port and default config loading

- fixed char create issues by adding default values to fields (todo: fix actual query)
- added post build command to copy scripts folder to bin
This commit is contained in:
Tahir Akhlaq 2016-12-04 21:41:34 +00:00
parent f286922974
commit 4a320d7096
13 changed files with 142 additions and 32 deletions

View file

@ -11,6 +11,7 @@ SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for characters
-- ----------------------------
DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`userId` int(11) unsigned NOT NULL,
@ -30,11 +31,11 @@ CREATE TABLE `characters` (
`currentZoneId` smallint(5) unsigned DEFAULT '0',
`destinationZoneId` smallint(5) unsigned DEFAULT '0',
`destinationSpawnType` tinyint(3) unsigned DEFAULT '0',
`guardian` tinyint(3) unsigned NOT NULL,
`birthDay` tinyint(3) unsigned NOT NULL,
`birthMonth` tinyint(3) unsigned NOT NULL,
`initialTown` tinyint(3) unsigned NOT NULL,
`tribe` tinyint(3) unsigned NOT NULL,
`guardian` tinyint(3) unsigned NOT NULL DEFAULT '0',
`birthDay` tinyint(3) unsigned NOT NULL DEFAULT '0',
`birthMonth` tinyint(3) unsigned NOT NULL DEFAULT '0',
`initialTown` tinyint(3) unsigned NOT NULL DEFAULT '0',
`tribe` tinyint(3) unsigned NOT NULL DEFAULT '0',
`gcCurrent` tinyint(3) unsigned DEFAULT '0',
`gcLimsaRank` tinyint(3) unsigned DEFAULT '127',
`gcGridaniaRank` tinyint(3) unsigned DEFAULT '127',