Rislem Posted January 6, 2020 Share Posted January 6, 2020 Hi Everyon I got a little brain scratcher here I cant get my config files to work. If I launch the game with the below command manually bin\AvorionServer.exe --datapath C:\TCAFiles\Users\Admin\794\saves --ip *.*.*.* --galaxy-name myserver It works perfectly, see logs attached, but when I run it using the exact same commandline it complains about a ton of files it all of a sudden cant find, I have made a few config files in the past and I just dont know what is going on here. If anyone has a moment to look please check. I have also attached my config filesBroken Logs.txtAvo - Windows.xml Link to comment Share on other sites More sharing options...
Rislem Posted January 6, 2020 Author Share Posted January 6, 2020 Sorry I was not able to attached more than 2 files, but this is how a "working server" logs look like the start of it Main Thread ID: 1 Enabled Traces: Avorion server Beta 0.29.6 r19037 60436ea95a15 running on Windows 10 starting up in "C:\TCAFiles\Users\Admin\794\saves\myserver" CPU: Intel® Xeon® CPU E5-2620 v4 @ 2.10GHz 32 Cores RAM: 192GB Initializing networking... Starting game server on ip *.*.*.*, 3290983540 Server version, as listed publicly: 0.29.6.19037 SteamGameServer_Init call failed Error starting steam-based networking. Falling back to standard TCP/UDP protocols. The server will not be authenticated via Steam and won't show up in public server lists. WARNING: The fallback TCP/UDP protocols are deprecated and potentially UNSAFE! If you're running a dedicated server, this is HIGHLY discouraged! Use steam networking instead; Enable with --use-steam-networking 1 Warning: No RCON password set. RCON disabled. Loading global variables... Found 0 mods in "C:\TCAFiles\Users\Admin\794\saves\myserver\modconfig.lua". name: Akara seed: cBrpFDPJd9 port: 27015 ip: *.*.*.* max online players: 10 save interval: 600 broadcast interval: 5 max loaded sector time: 300 weak update: yes worker threads: 64 generator threads: 16 script background threads: 8 difficulty: Expert infiniteResources: no collision: 0.25 access list: Blacklist public: yes authentication: yes listed: yes steam networking: yes send crash reports: yes administrators: Warning: Your server does not have an administrator assigned. Initializing sector database... Starting thread [Create Sectors WorkerPool Thread 0]... Started thread [Create Sectors WorkerPool Thread 0] with id 2 Starting thread [Create Sectors WorkerPool Thread 1]... Started thread [Create Sectors WorkerPool Thread 1] with id 3 Starting thread [Create Sectors WorkerPool Thread 2]... Started thread [Create Sectors WorkerPool Thread 2] with id 4 Starting thread [Create Sectors WorkerPool Thread 3]... Started thread [Create Sectors WorkerPool Thread 3] with id 5 Starting thread [Create Sectors WorkerPool Thread 4]... Started thread [Create Sectors WorkerPool Thread 4] with id 6 Starting thread [Create Sectors WorkerPool Thread 5]... Started thread [Create Sectors WorkerPool Thread 5] with id 7 Starting thread [Create Sectors WorkerPool Thread 6]... Started thread [Create Sectors WorkerPool Thread 6] with id 8 Starting thread [Create Sectors WorkerPool Thread 7]... Started thread [Create Sectors WorkerPool Thread 7] with id 9 Starting thread [Create Sectors WorkerPool Thread 8]... Started thread [Create Sectors WorkerPool Thread 8] with id 10 Starting thread [Create Sectors WorkerPool Thread 9]... Started thread [Create Sectors WorkerPool Thread 9] with id 11 Starting thread [Create Sectors WorkerPool Thread 10]... Started thread [Create Sectors WorkerPool Thread 10] with id 12 Starting thread [Create Sectors WorkerPool Thread 11]... Started thread [Create Sectors WorkerPool Thread 11] with id 13 Starting thread [Create Sectors WorkerPool Thread 12]... Started thread [Create Sectors WorkerPool Thread 12] with id 14 Starting thread [Create Sectors WorkerPool Thread 13]... Started thread [Create Sectors WorkerPool Thread 13] with id 15 Starting thread [Create Sectors WorkerPool Thread 14]... Started thread [Create Sectors WorkerPool Thread 14] with id 16 Starting thread [Create Sectors WorkerPool Thread 15]... Started thread [Create Sectors WorkerPool Thread 15] with id 17 Starting thread [save Sectors WorkerPool Thread 0]... Started thread [save Sectors WorkerPool Thread 0] with id 18 Initializing faction database... Starting thread [save Factions WorkerPool Thread 0]... Started thread [save Factions WorkerPool Thread 0] with id 19 Initializing galaxy... Link to comment Share on other sites More sharing options...
LFA Posted January 6, 2020 Share Posted January 6, 2020 In the game's settings try changing Relative Working Dir from bin\ to blank. In the game server's service settings the working directory should be the same as the root directory. Link to comment Share on other sites More sharing options...
Rislem Posted January 6, 2020 Author Share Posted January 6, 2020 Hi LFA thanks I figured it was that but I changed it a few times in the template with no effect, but since what you said made sense I checked my actual server, and it seems even though I updated the template it didnt update the server it was still using working directory as bin\ which yes, had no data folder inside of it thank you very much problem solved lesson learned Link to comment Share on other sites More sharing options...
Rislem Posted January 6, 2020 Author Share Posted January 6, 2020 Since your so helpfull, the opens a console and to stop teh server you need to type in the console /stop Now I turned on console input but logs show it just kills the process, also, I turned web console on, ticked console under web console output source I put console output and web console input, I put console commands, So if I open web console in the server I can see the server, I can type console commands at the bottom but they dont seem to actually type in the console menu. Any ideas? Link to comment Share on other sites More sharing options...
LFA Posted January 6, 2020 Share Posted January 6, 2020 Try with this config. The /stop command works. This shows up in the web console when I stop the game server: Server is shutting down. Saving settings... Saving script values... Saving factions... Saving sectors... Saving jumping ships... scheduled save for sector (0:0), 0x14ae490, entities: 0 saving sector (0:0) sector (0:0) saved to "saves\myserver\jumps.dat" Saving groups... Saving galaxy script data... Saving settings... waiting for unfinished sector generation jobs... waiting for unfinished sector save jobs... shutting down rcon... Thread [RCON] with id 2 exiting... Thread [RCON] with id 2 exited shutting down networking... Thread [steam Networking Receive] with id 17 exiting... Thread [steam Networking Receive] with id 17 exited Thread [uDP Connection Receive] with id 15 exiting... Thread [uDP Connection Receive] with id 15 exited UDP closed Server UDP: Connection closed cleaning up communicators... waiting for unfinished sector generation jobs... waiting for unfinished sector save jobs... shutting down galaxy... Thread [Lua WorkerPool Thread 4] with id 12 exiting... Thread [Lua WorkerPool Thread 4] with id 12 exited Thread [Lua WorkerPool Thread 5] with id 13 exiting... Thread [Lua WorkerPool Thread 5] with id 13 exited Thread [Game WorkerPool Thread 0] with id 7 exiting... Thread [Game WorkerPool Thread 0] with id 7 exited shutting down faction database... Thread [save Factions WorkerPool Thread 0] with id 6 exiting... Thread [save Factions WorkerPool Thread 0] with id 6 exited shutting down sector database... Thread [save Sectors WorkerPool Thread 0] with id 5 exiting... Thread [save Sectors WorkerPool Thread 0] with id 5 exited Thread [Create Sectors WorkerPool Thread 0] with id 3 exiting... Thread [Create Sectors WorkerPool Thread 0] with id 3 exited Thread [Create Sectors WorkerPool Thread 1] with id 4 exiting... Thread [Create Sectors WorkerPool Thread 1] with id 4 exited cleaning up timers... Server shutdown successful.Avo - Windows (1).xml Link to comment Share on other sites More sharing options...
Khurune Posted March 25, 2020 Share Posted March 25, 2020 Anyone had any luck getting player query count to work? Link to comment Share on other sites More sharing options...
jungleNZ Posted November 11, 2020 Share Posted November 11, 2020 Something I had an issues with, other may/may-not have: I used the config LFA made to run servers. Games were not showing on in-game browser list but you could connect using IP etc... Found the ports for query and steam need to be read in commandline (overwrites to default 27003 etc..). Add this to your commandline if you have or had issues. --port $[Service.GamePort] --query-port $[Service.QueryPort] --steam-master-port $[Service.CustomPort1] --steam-query-port $[Service.CustomPort2] This will allow games to show in browser list. Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 10, 2021 Share Posted April 10, 2021 ill re-awaken this thread when using mods, i get this error: 2021-04-10 17-27-54| Main Thread ID: 1 2021-04-10 17-27-54| Enabled Traces: 2021-04-10 17-27-54| Starting thread [Networking 1 WorkerPool Thread 0]... 2021-04-10 17-27-54| Started thread [Networking 1 WorkerPool Thread 0] with id 2 2021-04-10 17-27-54| Starting thread [Networking 2 WorkerPool Thread 0]... 2021-04-10 17-27-54| Started thread [Networking 2 WorkerPool Thread 0] with id 3 2021-04-10 17-27-54| Avorion server 1.3.7 173601587d20 running on Windows 10 starting up in "D:\Servers\TCAFiles\Users\public\8\saves\myserver" 2021-04-10 17-27-54| Version Hash: -8116498662636825463 2021-04-10 17-27-54| CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz 24 Cores 2021-04-10 17-27-54| RAM: 48GB 2021-04-10 17-27-54| 2021-04-10 17-27-55| Initializing networking... 2021-04-10 17-27-55| Server version, as listed publicly: 1.3.7.28105 2021-04-10 17-27-55| Server connected to Steam successfully 2021-04-10 17-27-55| Server is VAC Secure! 2021-04-10 17-27-55| Game Server Steam ID: 90145169060406280 2021-04-10 17-27-55| Game Port: 27000 2021-04-10 17-27-55| Steam Port: 27021 2021-04-10 17-27-55| Steam Query Port: 27020 2021-04-10 17-27-55| Query Port: 27003 2021-04-10 17-27-55| 2021-04-10 17-27-55| Steam Networking initialized. 2021-04-10 17-27-55| Installed Steam exception handler 2021-04-10 17-27-55| Starting RCON server...Starting thread [RCON]... 2021-04-10 17-27-55| Started thread [RCON] with id 4 2021-04-10 17-27-55| RCON server started. Port: 27015 2021-04-10 17-27-55| ok 2021-04-10 17-27-55| Loading global variables... 2021-04-10 17-27-56| Found 15 mods in "D:\Servers\TCAFiles\Users\public\8\saves\myserver\modconfig.lua". 2021-04-10 17-27-56| Synchronizing workshop items ... 2021-04-10 17-27-56| Downloading missing workshop items to 'D:\Servers\TCAFiles\Users\public\8\saves\myserver\workshop' 2021-04-10 17-27-56| Acquiring workshop item 1691539727 2021-04-10 17-27-56| Acquiring workshop item 1691591293 2021-04-10 17-27-56| Acquiring workshop item 1735185469 2021-04-10 17-27-56| Acquiring workshop item 1930188056 2021-04-10 17-27-56| Acquiring workshop item 1991691736 2021-04-10 17-27-56| Acquiring workshop item 2017677089 2021-04-10 17-27-56| Acquiring workshop item 2021277562 2021-04-10 17-27-56| Acquiring workshop item 2042702736 2021-04-10 17-27-56| Acquiring workshop item 2085305223 2021-04-10 17-27-56| Acquiring workshop item 2087266240 2021-04-10 17-27-56| Acquiring workshop item 2090446289 2021-04-10 17-27-56| Acquiring workshop item 2091059429 2021-04-10 17-27-56| Acquiring workshop item 2100084493 2021-04-10 17-27-56| Acquiring workshop item 2109258268 2021-04-10 17-27-56| Acquiring workshop item 2289497873 2021-04-10 17-28-00| An exception occurred: N5boost10filesystem16filesystem_errorE: boost::filesystem::weakly_canonical: Access is denied my modconfig.lua is attached game config is the one LFA posted, with JungleNZ's commandline added if i run the game outside of TCAdmin, it launches fine, what gives? modconfig.lua Link to comment Share on other sites More sharing options...
jungleNZ Posted April 10, 2021 Share Posted April 10, 2021 (edited) try this. (read and adjust your lua) strange, I setup and ran your modconfig and server worked/started fine through tcadmin. Are the server files updated? (dumb question I know). Edited April 10, 2021 by jungleNZ Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 11, 2021 Share Posted April 11, 2021 (edited) Avo - Windows.xml try my config directly, i dont think i changed anything, unless something in my panel got goofed and yes, game is updated, it auto-updates after install (option checked in service config as well) for whatever reason too, ~sometimes~ i get this error that the service could not be started :S Edited April 11, 2021 by DevilzEye1 answered last post Link to comment Share on other sites More sharing options...
jungleNZ Posted April 11, 2021 Share Posted April 11, 2021 (edited) Works fine on my server and with modconfig. On your server you created please try the following: steam update (to ensure new files are there) then run your server and see if still doing it. (sorry see you had already done that. If so try my config. avo - Windows.xml Edited April 11, 2021 by jungleNZ Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 11, 2021 Share Posted April 11, 2021 (edited) heres what the console output is i overwrote my config (via update) and saved/updated existing services, ill EDIT this post with the results of a fresh install Installed exception handler: 13159488 Previous: 13868368 Enabled Traces: Avorion server 1.3.7 173601587d20 running on Windows 10 starting up in "D:\Servers\TCAFiles\Users\public\8\saves\myserver" Version Hash: -8116498662636825463 CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz 24 Cores RAM: 48GB Server version, as listed publicly: 1.3.7.28105 Server connected to Steam successfully Server is VAC Secure! Game Server Steam ID: 90145176439786500 Game Port: 27000 Steam Port: 27021 Steam Query Port: 27020 Query Port: 27003 Steam Networking initialized. Installed Steam exception handler Starting RCON server...RCON server started. Port: 27001 ok Found 14 mods in "D:\Servers\TCAFiles\Users\public\8\saves\myserver\modconfig.lua". Synchronizing workshop items ... Downloading missing workshop items to 'D:\Servers\TCAFiles\Users\public\8\saves\myserver\workshop' Acquiring workshop item 1691539727 Acquiring workshop item 1691591293 Acquiring workshop item 1735185469 Acquiring workshop item 1930188056 Acquiring workshop item 1991691736 Acquiring workshop item 2017677089 Acquiring workshop item 2021277562 Acquiring workshop item 2042702736 Acquiring workshop item 2085305223 Acquiring workshop item 2087266240 Acquiring workshop item 2090446289 Acquiring workshop item 2091059429 Acquiring workshop item 2100084493 Acquiring workshop item 2109258268 An exception occurred: N5boost10filesystem16filesystem_errorE: boost::filesystem::weakly_canonical: Access is denied src\tier1\fileio.cpp (4913) : Assertion Failed: s_bExit src\tier1\fileio.cpp (4913) : Assertion Failed: s_bExit src\tier1\fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 src\tier1\fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread' src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread' src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited Setting breakpad minidump AppID = 445220 src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited Installed exception handler: 13159488 Previous: 13868368 Enabled Traces: Avorion server 1.3.7 173601587d20 running on Windows 10 starting up in "D:\Servers\TCAFiles\Users\public\8\saves\myserver" Version Hash: -8116498662636825463 CPU: Intel(R) Xeon(R) CPU X5680 @ 3.33GHz 24 Cores RAM: 48GB Server version, as listed publicly: 1.3.7.28105 Server connected to Steam successfully Server is VAC Secure! Game Server Steam ID: 90145176440184840 Game Port: 27000 Steam Port: 27021 Steam Query Port: 27020 Query Port: 27003 Steam Networking initialized. Installed Steam exception handler Starting RCON server...RCON server started. Port: 27001 ok Found 14 mods in "D:\Servers\TCAFiles\Users\public\8\saves\myserver\modconfig.lua". Synchronizing workshop items ... Downloading missing workshop items to 'D:\Servers\TCAFiles\Users\public\8\saves\myserver\workshop' Acquiring workshop item 1691539727 Acquiring workshop item 1691591293 Acquiring workshop item 1735185469 Acquiring workshop item 1930188056 Acquiring workshop item 1991691736 Acquiring workshop item 2017677089 Acquiring workshop item 2021277562 Acquiring workshop item 2042702736 Acquiring workshop item 2085305223 Acquiring workshop item 2087266240 Acquiring workshop item 2090446289 Acquiring workshop item 2091059429 Acquiring workshop item 2100084493 Acquiring workshop item 2109258268 An exception occurred: N5boost10filesystem16filesystem_errorE: boost::filesystem::weakly_canonical: Access is denied src\tier1\fileio.cpp (4913) : Assertion Failed: s_bExit src\tier1\fileio.cpp (4913) : Assertion Failed: s_bExit src\tier1\fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread' src\tier1\fileio.cpp (4915) : Assertion Failed: m_vecRegisteredWriters.Count() == 0 src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'Thread(0x00007FFBAA8BF600/0x000' src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'CFileWriterThread' src\tier0\threadtools.cpp (3553) : Assertion Failed: Illegal termination of worker thread 'Thread(0x00007FFBAA8BF600/0x000' src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited src\tier1\fileio.cpp (4975) : Assertion Failed: CFileWriterThread already exited ---------------------------- EDIT: deleted the server, created brand new, and got the same error using your config big sadface Edited April 11, 2021 by DevilzEye1 Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 11, 2021 Share Posted April 11, 2021 i found the problem: outside of TCAdmin, these mods work fine. inside of TCAdmin however, they give the error -- {workshopid = "2085305223"}, -- Weapon Engineering Station -- req 2017677089 -- {workshopid = "2017677089"}, -- Weapon Engineering **error so simply put, ill leave them permanently disabled/deleted **** For future searches for the community, if you get the error mentioned above on the mod section, check the mods 1 at a time to ensure they work within TCAdmin, otherwise, disable them. The mod listed above "Weapon Engineering Station" is clearly mentioned on the info page of the mod to "use at your own risk" because it wasnt designed for multiplayer **** Thank you for your help JungleNZ! I'm keeping your config, and adding a variable to it for the commandline for --admin ###### Link to comment Share on other sites More sharing options...
jungleNZ Posted April 11, 2021 Share Posted April 11, 2021 Glad you got it sorted (although your modconfig worked fine on mine). Link to comment Share on other sites More sharing options...
DevilzEye1 Posted April 11, 2021 Share Posted April 11, 2021 i dunno, maybe my tcadmin install itself is a little wonky because it does work outside of TCA... a couple games are giving me some issues so the community can live without those two mods though Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now