mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
Slightly adjust some of the ServerScript pull down logic in world
This commit is contained in:
parent
c4d7fb8724
commit
898ec8fcf1
@ -110,15 +110,16 @@ int main(int argc, char** argv) {
|
|||||||
LogSys.LoadLogSettingsDefaults();
|
LogSys.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
/* Download EQEmu Server Maintenance Script if doesn't exist */
|
|
||||||
CheckForServerScript();
|
|
||||||
|
|
||||||
/* If eqemu_config.json does not exist - create it from conversion... */
|
/* If eqemu_config.json does not exist - create it from conversion... */
|
||||||
if (!std::ifstream("eqemu_config.json")) {
|
if (!std::ifstream("eqemu_config.json")) {
|
||||||
CheckForServerScript(true);
|
CheckForServerScript(true);
|
||||||
/* Run EQEmu Server script (Checks for database updates) */
|
/* Run EQEmu Server script (Checks for database updates) */
|
||||||
system("perl eqemu_server.pl convert_xml");
|
system("perl eqemu_server.pl convert_xml");
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
/* Download EQEmu Server Maintenance Script if doesn't exist */
|
||||||
|
CheckForServerScript();
|
||||||
|
}
|
||||||
|
|
||||||
/* Database Version Check */
|
/* Database Version Check */
|
||||||
uint32 Database_Version = CURRENT_BINARY_DATABASE_VERSION;
|
uint32 Database_Version = CURRENT_BINARY_DATABASE_VERSION;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user