diff --git a/.gitignore b/.gitignore index 9be79d14..7bb065de 100644 --- a/.gitignore +++ b/.gitignore @@ -117,4 +117,7 @@ src/servers/Scripts/*/ScriptLoader.cpp # cotire generated files/folders cotire/ -*_cotire.cmake \ No newline at end of file +*_cotire.cmake + +*objects.txt +*exports.def \ No newline at end of file diff --git a/bin/config/global.ini.default b/bin/config/global.ini.default index 90adfc7c..072d3f7c 100644 --- a/bin/config/global.ini.default +++ b/bin/config/global.ini.default @@ -2,7 +2,7 @@ Host = 127.0.0.1 Port = 3306 Database = sapphire -Username = sapphire +Username = root Password = SyncThreads = 2 AsyncThreads = 2 @@ -12,6 +12,7 @@ ServerSecret = default DataPath = C:\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn\\game\\sqpack [GlobalNetwork] +; Values definining how Users and other servers will access - these have to be set to your public IP when running a public server ZoneHost = 127.0.0.1 ZonePort = 54992 diff --git a/bin/config/lobby.ini.default b/bin/config/lobby.ini.default index 8d81d75d..077e947c 100644 --- a/bin/config/lobby.ini.default +++ b/bin/config/lobby.ini.default @@ -1,4 +1,8 @@ [Lobby] WorldID = 67 AllowNoSessionConnect = false -WorldName = Sapphire \ No newline at end of file +WorldName = Sapphire + +[LobbyNetwork] +ListenIp = 0.0.0.0 +ListenPort = 54994 \ No newline at end of file diff --git a/bin/config/rest.ini.default b/bin/config/rest.ini.default index 564a6cee..d51b4967 100644 --- a/bin/config/rest.ini.default +++ b/bin/config/rest.ini.default @@ -1,2 +1,6 @@ [CharacterCreation] -DefaultGMRank = 255 \ No newline at end of file +DefaultGMRank = 255 + +[RestNetwork] +ListenIp = 0.0.0.0 +ListenPort = 80 \ No newline at end of file diff --git a/bin/config/zone.ini.default b/bin/config/zone.ini.default index 3dba125d..7631e9eb 100644 --- a/bin/config/zone.ini.default +++ b/bin/config/zone.ini.default @@ -9,6 +9,10 @@ HotSwap = true [Network] DisconnectTimeout = 20 +[ZoneNetwork] +ListenIp = 0.0.0.0 +ListenPort = 54992 + [General] ; Sent on login - each line must be shorter than 307 characters, split lines with ';' MotD = Welcome to Sapphire!;This is a very good server;You can change these messages by editing General.MotD in config/zone.ini \ No newline at end of file diff --git a/src/servers/Scripts/action/ActionReturn6.cpp b/src/servers/Scripts/action/ActionReturn6.cpp new file mode 100644 index 00000000..7afc07e1 --- /dev/null +++ b/src/servers/Scripts/action/ActionReturn6.cpp @@ -0,0 +1,15 @@ +#include