ricky-davis / astrolauncher Goto Github PK
View Code? Open in Web Editor NEWAn easy to use Astroneer Dedicated Server installer and launcher
License: MIT License
An easy to use Astroneer Dedicated Server installer and launcher
License: MIT License
Just loaded the latest astroneer from steamcmd, downloaded v1.7.5 of the astrolauncher and configured my ini files and launched the launcher. Played for about 4 hours and shutdown the launcher/server after forcing save. When i launched it again it made a new game because it found no saves. Started a new world, saved, exited out and it did the same thing, all saves were blown away. I can't tell when it loses the saves, but right now its clearing everything from the Astro/Saved/SaveGames folder.
I have installed a windows server 2022 to run the dedicated server.
I downloaded python and ran python buildexe.py it does create an exe file, but when I run the file it just crashes.
I know it isn't a lot of information but sadly I don't have much to give.
22:21:22 - INFO 'AstroLauncher - Unofficial Dedicated Server Launcher v1.7.6'
22:21:22 - INFO 'If you encounter any bugs please open a new issue at:'
22:21:22 - INFO 'https://github.com/ricky-davis/AstroLauncher/issues'
22:21:22 - INFO 'To safely stop the launcher and server press CTRL+C'
22:21:22 - CRITICAL 'Could not retrieve INI settings!'
22:21:22 - CRITICAL 'Please ensure everything is correctly formatted...'
22:21:22 - CRITICAL 'or delete the INI and allow the launcher to recreate it!'
I have tried deleting the Launcher.ini and doesnt matter, I will get the error above.
Not sure if I am missing something on the setup...
After starting the launcher I am able to connect to the webserver and view the console.
The last message in the output shows Server started! Getting ready....
After waiting over 20 minutes nothing happens.
I have tried running the latest code directly from the repo and the latest compiled release too.
Any help would be appreciated
I'm incorporating your launcher into a container but would really prefer to have Launcher.ini in Astro/Saved so I can use a single volume for simplicity. Thoughts on an argument for the Launcher.ini location?
On a server running since monthes, we changed of game : "Load new save game".
We played for 1 week and then the new game disapeared (replaced by a new empty one). All Backup folder of "steamapps\common\ASTRONEER Dedicated Server\Astro\Saved\Backup\LauncherBackups" contains only backups of the empty game (no longer the valid one).
Since, This occurs every 1 week (more or less) and I started to backup every time we leave the game to restore it.
I tryed to name it as the default one (SAVE_1) or with a custom one and this doesn't affect the behavior.
We updated to 1.8.1 nothing changed.
I stay available if needed and should be available on Discord.
I receive the following error when I navigate to http://localhost:5000 after starting up a server with AstroLauncher
Traceback (most recent call last): File "lib\site-packages\tornado\web.py", line 1701, in _execute File "cogs\AstroWebServer.py", line 104, in get File "lib\site-packages\tornado\web.py", line 856, in render File "lib\site-packages\tornado\web.py", line 1005, in render_string File "lib\site-packages\tornado\template.py", line 361, in generate File "C:\Users\[USERNAME]\AppData\Local\Temp\_MEI68642\assets\login_html.generated.py", line 5, in _tt_execute _tt_tmp = _tt_modules.Template("uimodules/head.html") # C:\Users\[USERNAME]\AppData\Local\Temp\_MEI68642\assets\login.html:2 File "lib\site-packages\tornado\web.py", line 1801, in render File "lib\site-packages\tornado\web.py", line 3295, in render File "lib\site-packages\tornado\web.py", line 3247, in render_string File "lib\site-packages\tornado\web.py", line 1002, in render_string File "lib\site-packages\tornado\template.py", line 445, in load File "lib\site-packages\tornado\template.py", line 476, in _create_template FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\[USERNAME]\\AppData\\Local\\Temp\\_MEI68642\\assets\\uimodules/head.html'
Not sure if I'm jumping the gun but I'm following the guide found here: https://docs.google.com/document/d/1u0BK3wpIQzGqZW3GIeQ6Qtjb1M7NR2yZNS-GuoGqpsE/edit
I have port forwarded UDP 8777 through my firewall and router and turned off my firewall and it still doesnt work. I used the server checker and it is unreachable (playfab and server version are green).
I use win10 to run locally, but my server memory is very small, I want to use win7, or Windows Server 2012, don’t know if it’s possible?
I used Win10 LTSC to run in the previous test, it will crash, and an error saying that it was not found.
Thanks!
Hiya!
I wrote this in some free time I had in an effort to automate installation of the Astroneer Server: https://github.com/alex4108/astroneer-server-deployment/
Does your tool already do this?
If not, may I package your tool inside mine? Your tool won't be modified, I'll simply download dependencies and start it once it's at that point.
Many thanks!
Hi, i have the same problem with v1.7.5. No server info. And with devtools i see this error
Originally posted by @itsero in #68 (comment)
Twice over the past week when my server has restarted my save has been deleted and a new save created in its place. I am not sure why this is happening. Any help is appreciated.
Thank you.
Hi!
This is a question... Is there a way to use a URL instead of an IP? When I write the URL on the AstroServerSettings.ini it gets overwritten with my IP upon launch of AstroLauncher. The flag of OverwritePublicIP is set to false...
I thought maybe the URL on the game's client would point to the same IP as was configured on the server, but it just shows the server as Offline.
Hello! Got a small issue with new version of the Launcher
It stopped at "checking the network configuration"
Tried to remove Launcher.ini to reset it / Same issue
Tried to launch it in same time as basic launcher / Saying another instance is already opened
Also Tried to reinstalled the Astroneer Server from Steam / Changed nothing. Do you have an idea about what is the cause?
Port are well configured for 8777 and 7777 (as the old one was 8777 and was working well)
Is it possible to run this in a docker container?
Thanks
The read operation timed out
17:54:52 - WARNING 'Failed to check if update is available'
The read operation timed out
17:55:30 - WARNING 'Failed to check if update is available'
The read operation timed out
17:56:08 - WARNING 'Failed to check if update is available'
The read operation timed out
17:56:46 - WARNING 'Failed to check if update is available'
The read operation timed out
17:57:25 - WARNING 'Failed to check if update is available'
The read operation timed out
17:58:03 - WARNING 'Failed to check if update is available'
The read operation timed out
17:58:41 - WARNING 'Failed to check if update is available'
This is the message I'm getting over and over and i can't find the solution anywhere for fixing this, I've tried to restart Astrolauncher.exe and run as Administrator but nothing seems to work. The server is up and running and there's no issues in-game etc. but this message pops up over and over so something must be wrong?
Hi,
as the title says, this keeps popping up in the log.
Just wanted to check, does astrolauncher require steamcmd or a path to steamcmd in the ENV variables?
Cheers!
Hi,
I am using launcher on a server VM in Windows 10 with a public IP, so port forward has no sense here.
The below alert is shown even is console port is firewall protected.
For me, it should not.
17:42:37 - WARNING 'SECURITY ALERT: Your console port (1234) is Port Forwarded!'
17:42:37 - WARNING 'SECURITY ALERT: This allows anybody to control your server.'
17:42:37 - WARNING 'SECURITY ALERT: Disable this ASAP to prevent issues.'
Launcher may test if port is fully reachable before throwing an alert.
Regards.
It would be really great to run and control multiple servers (each with their own directory) using the AstroLauncher web interface.
astrolauncher has been placed in the root directory of the game server,
but it will stop when running,
The window will close after running.
if I leave the server on, I can rejoin the game without issues. but if I shut down the server and stop the launcher, then restart the launcher, the next time I join the game, it's like a brand new world. when I join the server, it goes to the main screen where you have to "launch"
Hi, there is a problem when using non standard steam names. E.g. "꧁༺₦Ї₦ℑ₳༻꧂".
What happens is that the name is automatically added to Astroserversettings.ini and that makes it impossible to start the launcher because the python script is crashing.
I have port forward correctly, The server is up and running on the web interface. And it shows up in-game. however, after waiting about 30 seconds it fails to connect. this is not my first time running game servers but my first time encountering this problem. The only trouble code is "SECURITY ALERT: Your console port (1234) is Port Forwarded!'
20:00:50 - WARNING ('SECURITY ALERT: This allows access to the server backend from outside of '
'your network.')
20:00:50 - WARNING 'SECURITY ALERT: Disable this ASAP to prevent issues.'"
which is weird because port 1234 is NOT forwarded on my router.
would this cause a failed connection?
I should also clarify this is running in a VM if that matters.
NEW INFORMATION
server logs after I changed the port to 8777
20:20:02 - INFO 'AstroLauncher - Unofficial Dedicated Server Launcher v1.8.3.0'
20:20:02 - INFO 'If you encounter any bugs please open a new issue at:'
20:20:02 - INFO 'https://github.com/ricky-davis/AstroLauncher/issues'
20:20:02 - INFO 'To safely stop the launcher and server press CTRL+C'
20:20:03 - INFO 'Starting a new session'
20:20:03 - INFO 'Attempting to validate Playfab Certs'
20:20:05 - INFO 'Checking the network configuration..'
20:20:07 - INFO 'Server network configuration good!'
20:20:07 - WARNING 'SECURITY ALERT: Your console port (8777) is Port Forwarded!'
20:20:07 - WARNING ('SECURITY ALERT: This allows access to the server backend from outside of '
'your network.')
20:20:07 - WARNING 'SECURITY ALERT: Disable this ASAP to prevent issues.'
20:20:12 - INFO 'Backup retention started'
20:20:12 - INFO 'Running a web server at http://localhost:5000'
20:20:13 - INFO 'Starting Server process...'
20:20:13 - INFO 'Server started ( 1.25.152.0 )! Getting ready....'
20:20:35 - INFO 'Server ready! Took 21.75 seconds to register.'
20:20:35 - INFO 'Connected to RCON Console!'
20:20:38 - INFO 'Server FPS: 3'
FIXED it was my gaming computers firewall. had nothing to do with the server.
Freeze the frame around 0:03 and you'll see the stack trace: https://screencast-o-matic.com/content/#/video/cYjnhsENrm
My config file was missing some parameters, causing AstroLauncher 1.6.0 to crash.
Hello, can we have this message removed from the Discord webhook?
SECURITY ALERT: Your console port (4321) is Port Forwarded!
SECURITY ALERT: This allows anybody to control your server.
SECURITY ALERT: Disable this ASAP to prevent issues.
We need the port to be forward for external access on our server. But we also need the Discord logging to be set to "All" on the launcher because we want the server Status, Server FPS, Backups and Saves messages & player join/leaves.
Some of the properties in statistics are incorrect.
creativeMode
on my server is not turned on, yet here it says true.
isAchievementProgressionDisabled
as per devs post has been enabled for privately hosted servers.
playersKnownToGame
, this number seems off. There are only 4 people who have connected to my server.
Something happened to the saved game, the fps on the server with connected players is set to 1 fps. It works with newly created games without problems. Is there anything you can do about it?
18:36:19 - Connected to RCON Console!
18:36:24 - Server FPS: 6
18:37:14 - Server FPS: 27
18:37:15 - Player joining: Casper
18:37:20 - Server FPS: 76
18:37:26 - Server FPS: 2
18:37:53 - Server FPS: 85
18:38:13 - Server FPS: 2
18:38:48 - Server FPS: 88
18:39:22 - Server FPS: 2
18:40:07 - Server FPS: 82
18:40:13 - Server FPS: 2
The second time I launched the .exe, I got this error:
11:23:42 - INFO 'AstroLauncher - Unofficial Dedicated Server Launcher v1.7.6'
11:23:42 - INFO 'If you encounter any bugs please open a new issue at:'
11:23:42 - INFO 'https://github.com/ricky-davis/AstroLauncher/issues'
11:23:42 - INFO 'To safely stop the launcher and server press CTRL+C'
11:23:42 - INFO 'Starting a new session'
11:23:42 - CRITICAL ('Error on line 743',
'TypeError',
TypeError("int() argument must be a string, a bytes-like object or a number, not 'list'"))
11:23:42 - CRITICAL TypeError("int() argument must be a string, a bytes-like object or a number, not 'list'")
Traceback (most recent call last):
File "AstroLauncher.py", line 743, in <module>
File "AstroLauncher.py", line 269, in __init__
File "AstroLauncher.py", line 532, in check_ports_free
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'
Can I use this on Mac and also is this a virus?
Astroneer just got a new update.
How to update the server?
Hi, i have my server actually running on a system with dynamic external ip.
It will be great, to set the Option in the launcher.ini for a renew of the IP-Address on server reboot.
I need to use tunneling on my server but every time I start the launcher it set up automatically my public IP despite enabling "OverwritePublicIP".
there is none server recoder after today‘s update,only left Server Info Online Players and Offline Players these three parts
I have been using a server for a friend on PS4 and it is great, until Astro Launcher showed: WARNING 'The server is completely unreachable!' and WARNING 'Please port forward [My ip] UDP and ensure the firewall settings are correct.' I used playit.gg to bypass port forwarding and I would appreciate it if someone could help me. Thanks!
Hi. I want to support multiple server saves to generate different games for different friend groups . I thought maybe changing ActiveSaveFileDescriptiveName=SAVE_1
to ActiveSaveFileDescriptiveName=CUSTOM_NAME
would work but no luck. When I start the server again it will overwrite the name in the config and pick up the other save.
Is this a bug?
Where is the config to decide the web server password?
When starting my server, it throws this error and then immediately closes with no other feedback. Debug log and server log are attached.
debug.log
server.log
I'm using connection through VPN, and at some point server starts to display the following message several times a second.
ERROR Exception in callback BaseSelectorEventLoop._read_from_self()
handle: <Handle BaseSelectorEventLoop._read_from_self()>
Traceback (most recent call last):
File "asyncio\events.py", line 88, in _run
File "asyncio\selector_events.py", line 119, in _read_from_self
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
However the server seems to work just fine, at least for some time.
Still this issue inflates logs enormously until finally the server crashes.
Could you please share any thoughts on this?
was playing and streaming on twitch then all of a sudden no one can get on,
I have closed server restarted the server and then restarted the computer.
Astro checker says server is online and reachable
but no one can connect please help
I get the following error:
20:49:11 - INFO 'Player joining: Morpheus'
20:49:15 - INFO 'Server FPS: 59'
20:49:35 - INFO 'Server saved. SAVE_1$2021.06.24-20.49.34.savegame'
HTTPSConnectionPool(host='servercheck.spycibot.com', port=443): Max retries exceeded with url: /stats (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000173C2A174C8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
20:49:37 - WARNING 'Failed to check if update is available'
HTTPSConnectionPool(host='servercheck.spycibot.com', port=443): Max retries exceeded with url: /stats (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000173C2A1C948>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
20:51:30 - WARNING 'Failed to check if update is available'
HTTPSConnectionPool(host='servercheck.spycibot.com', port=443): Max retries exceeded with url: /stats (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000173C2A30088>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
20:52:26 - WARNING 'Failed to check if update is available'
I have a fresh installed Windows 10 LTSC VM running on my xcp-ng server.
I can play on the server without a problem, but after a couple of minutes I get disconnected from the server.
[/Script/Astro.AstroServerSettings]
bLoadAutoSave=True
MaxServerFramerate=60.000000
MaxServerIdleFramerate=3.000000
bWaitForPlayersBeforeShutdown=False
PublicIP=<redacted>
ServerName=Astroneer Server
MaximumPlayerCount=8
OwnerName=Morpheus
OwnerGuid=0
PlayerActivityTimeout=0
ServerPassword=<redacted>
bDisableServerTravel=False
DenyUnlistedPlayers=False
VerbosePlayerProperties=True
AutoSaveGameInterval=900
BackupSaveGamesInterval=7200
ServerGuid=<redacted>
ActiveSaveFileDescriptiveName=SAVE_1
ServerAdvertisedName=6845DD5029994F29
ConsolePort=1234
ConsolePassword=<redacted>
HeartbeatInterval=0
[URL]
Port=7777
[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=1000000
MaxInternetClientRate=1000000
[/Game/ChatMod/ChatManager.ChatManager_C]
WebhookUrl="http://localhost/api/08f2a63a48a7c5e0dc8fcf7bde261539"
[Core.System]
Paths=../../../Engine/Content
Paths=%GAMEDIR%Content
Paths=../../../Engine/Plugins/Wwise/Content
Paths=../../../Astro/Plugins/Runtime/Analytics/AstroPfAnalytics/Content
Paths=../../../Astro/Intermediate/Plugins/Terrain2CompiledAssets/Windows/Server/Content
Paths=../../../Engine/Plugins/2D/Paper2D/Content
Paths=../../../Engine/Plugins/Developer/AnimationSharing/Content
Paths=../../../Engine/Plugins/Editor/CryptoKeys/Content
Paths=../../../Engine/Plugins/Editor/CurveEditorTools/Content
Paths=../../../Engine/Plugins/Enterprise/DatasmithContent/Content
Paths=../../../Engine/Plugins/Experimental/AutomationUtils/Content
Paths=../../../Engine/Plugins/Media/MediaCompositing/Content
Trying to run Astrolauncher on my WindowsServer2016:
AstroLauncher Version 1.8.1
05:34:13 - INFO 'AstroLauncher - Unofficial Dedicated Server Launcher v1.8.1'
05:34:13 - INFO 'If you encounter any bugs please open a new issue at:'
05:34:13 - INFO 'https://github.com/ricky-davis/AstroLauncher/issues'
05:34:13 - INFO 'To safely stop the launcher and server press CTRL+C'
05:34:14 - INFO 'Starting a new session'
05:34:14 - INFO 'Attempting to validate Playfab Certs'
05:34:14 - CRITICAL FileNotFoundError(2, 'Das System kann die angegebene Datei nicht finden', None, 2, None)
But what file can't be find?
I like to put the server in a ram drive because its the fastest method of storage that my pc can do. The problem is that its volatile memory and windows like to update and reboot at random which deletes everything.
What I'm requesting is to have the server copy itself over to a preset directory (e.g. the ram drive R:\astroserv, or some other drive A:\pain) then run from there and periodically backup the save data to its origin directory (C:\WhereEver\AstroLauncher). so after a reboot it can just launch to the ram drive with a up to date save like nothing happened.
I currently have a mess of batch files doing this, it'd be much nicer to have this as a feature.
As the title states, i moved over to your script to access the WebGUI remotely as the server is a VM. I already had a custom port setup in the file
[URL]
Port=8777
However when running your Launcher it generated a new Port line for Port 7777. If you Restart the server via the WebGUI it will fail to load.
If you restart your Launcher it will throw the following Error
CRITICAL ('Error on line 743',
'TypeError',
TypeError("int() argument must be string, a bytes-like object or number, not 'list'"))
I keep getting this message in the launcher but, I have it port forwarded and it was working. Recently my wifi turned off and I had to pay the bill so I did and all of a sudden its not working anymore I checked my device IP to see if anything changed in the port forwarding on my router but nothing changed. Its still saying it even though I have 7777 port forwarded with UDP please help me I dont want to lose all my progress on my server.
Struggling with this one. Game runs fine for about an hour, then get intermittent "WARNING 'Failed to heartbeat server on attempt:" . Eventually the XAuth token warning... Machine never loosed internet connectivity though. Is this just an Astroneer game issue, or something to do with AstroLauncher
server.log
?
The server says it can support 12, but 8 is the actual max.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.