mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
added db launch args and improved import time on gamedata_actor_class.sql
This commit is contained in:
parent
dcaad5729d
commit
a2a30003e0
5 changed files with 59 additions and 12 deletions
|
@ -70,7 +70,22 @@ namespace FFXIVClassic_Map_Server
|
|||
if (UInt16.TryParse(val, out port) && (legit = true))
|
||||
OPTIONS_PORT = val;
|
||||
}
|
||||
|
||||
else if (arg == "user" && (legit = true))
|
||||
{
|
||||
DATABASE_USERNAME = val;
|
||||
}
|
||||
else if (arg == "p" && (legit = true))
|
||||
{
|
||||
DATABASE_PASSWORD = val;
|
||||
}
|
||||
else if (arg == "db" && (legit = true))
|
||||
{
|
||||
DATABASE_NAME = val;
|
||||
}
|
||||
else if (arg == "host" && (legit = true))
|
||||
{
|
||||
DATABASE_HOST = val;
|
||||
}
|
||||
if (!legit)
|
||||
{
|
||||
Program.Log.Error("Invalid parameter <{0}> for argument: <--{1}> or argument doesnt exist!", val, arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue