Rust
Zenthas Jan 22, 2019 @ 3:03am
Server setup help!
Server description and logo are not installed. I tried everything. I wrote settings in serverauto and in a batch file, and with pluses and minuses, brackets. When you start stupidly does not show anything except the name of the server.
< >
Showing 1-15 of 22 comments
Pedro-NF Jan 22, 2019 @ 4:43am 
Put those in the server.cfg file. The serverauto.cfg file is useless, don't know why it's even there. Must be some code leftover from some update from long ago.

server.description "xxxxxx"
server.headerimage "http://www.XXXXX.png"


You can use \n for line breaks in the description string. The image must be in the PNG format.


Last edited by Pedro-NF; Jan 22, 2019 @ 4:45am
Zenthas Jan 22, 2019 @ 5:25am 
I tried and server.cfg, still shows nothing.
Pedro-NF Jan 22, 2019 @ 5:49am 
Make sure the server.cfg file is here

where_rustdedicated.exe_is\server\server1\cfg

and that your server startup line includes

-batchmode +server.identity "server1"

You can rename server1 to whatever you want, as long as you rename the server's directory accordingly.

Do you host the server on a machine you own or do you rent the server?
Last edited by Pedro-NF; Jan 22, 2019 @ 6:46am
Zenthas Jan 22, 2019 @ 5:57am 
server on my computer
Zenthas Jan 22, 2019 @ 6:08am 
see this batch

http://i.piccy.info/i9/fb6c0acc29b8c407998c228e5c6cb84f/1548166080/18427/1296440/notepad_2019_01_22_16_04_23.png

nothing helped


my variables in a batch file

echo off
:start
cd rustds
RustDedicated.exe -batchmode +server.identity "salute" +server.hostname "[UA] Salute Classic | Wipe 20.01" server.description "Hello World!" server.headerimage "http://i.piccy.info/i9/688f3f93786baa02ae7db6015410ee50/1548068295/7100/1296440/ScreenSelector.jpg" +server.port 28015 +server.level "Procedural Map" +server.seed 1234567.173 +server.worldsize 4000 +server.maxplayers 100 +rcon.port 28016 +rcon.password "......" +rcon.web 1 -logFile "output.txt" -autoupdate
cd ../

goto start
Last edited by Zenthas; Jan 22, 2019 @ 6:32am
Pedro-NF Jan 22, 2019 @ 7:16am 
1 - For the sake of simplicity and to make it easier to debug errors, keep the .BAT file that runs the server in the server's base directory (where RustDedicated.exe is). In your example, if the server is installed on a different partition (D: for example), you'd also need to include a line in the BAT. file with D: on it before any commands, to switch to that partition.

2 - server.description and server.headerimage are missing the + character before them.

3 - Add -load to the end of the startup line. I also have -exec server.cfg at the end of my startup line but I'm not sure if Rust needs it. All servers for other games I've managed did, so I thought I'd just keep it there.

4 - Remove the loop and the auto update stuff. Have separate batch files to update the server and to validate server files.

5 - Since you're setting the server's ID to "salute", server.cfg should be placed in

where_rustdedicated.exe_is\server\salute\cfg.

* * *

So, this is what I would recommend. In the RustDedicated.exe directory, create these three .BAT files:

RUSTRUN.BAT

RustDedicated.exe -batchmode +server.identity "salute" +server.ip X.X.X.X +server.port 28015 +rcon.port 28016 +rcon.password "......" +rcon.web true +server.level "Procedural Map" +server.seed 1234567.173 +server.worldsize 4000 -load -exec server.cfg

I'm not sure if the seed value can be a non-integer number. Set max number of players, server name, description and everything else in the server.cfg file.

RUSTUPD.BAT

(...)\steam\steamcmd.exe +login anonymous +force_install_dir "complete path to the dir where rustdedicated.exe is including the drive letter" +app_update 258550 +quit

IMPORTANT: do not install the server in the same directory where steamcmd.exe is installed.

RUSTVAL.BAT

(...)\steam\steamcmd.exe +login anonymous +force_install_dir "complete path to the dir where rustdedicated.exe is including the drive letter" +app_update 258550 validate +quit

* * *

Then in the server.cfg file you'd have these lines:

server.headerimage "http://i.piccy.info/i9/688f3f93786baa02ae7db6015410ee50/1548068295/7100/1296440/ScreenSelector.jpg" <=== needs to be a PNG file + it might not work with all free image host providers. Steam blocks i.piccy.info as a potentially malicious site, for example. Better use imgur.com.
server.hostname "[UA] Salute Classic | Wipe 20.01"
server.maxplayers 100
(...)
Last edited by Pedro-NF; Jan 22, 2019 @ 12:05pm
Zenthas Jan 22, 2019 @ 8:03am 
if with a picture only in png format, but the description why does not appear
Pedro-NF Jan 22, 2019 @ 11:38am 
Originally posted by Zenthas:
if with a picture only in png format

I didn't understand if by that you meant that your pic is showing now or not.

Post the whole description line here. I want to check if any of the characters might be invalid according to the JSON format used by that setting. I can already see an error from the part visible on the screenshot - double quotes inside a JSON string should be preceded by backslashes. So, instead of "Salute Classic", it should be \"Salute Classic\".
Last edited by Pedro-NF; Jan 22, 2019 @ 12:37pm
Zenthas Jan 22, 2019 @ 1:58pm 
Full path to the server folder:

E:\Server\rustds

The description made minimal to check the problem because of the number of characters, it still does not show it. In the batch file I registered the -load -exec server.cfg command and this also did not help. Tried to download even manually via the command line with the command readcfg.


Now prescribed in the batch file looks like this:

echo off

:start
cd rustds
RustDedicated.exe -batchmode -load -exec server.cfg +server.port 28015 +server.level "Procedural Map" +server.seed 1234567.173 +server.worldsize 4000 +server.maxplayers 100 +server.identity "salute" +rcon.port 28016 +rcon.password "....." +rcon.web 1 -logFile "output.txt" -autoupdate
cd ../
goto start
Last edited by Zenthas; Jan 22, 2019 @ 2:04pm
Zenthas Jan 22, 2019 @ 2:00pm 
I uploaded a picture of the required size 512 to 256 png format - does not show
Zenthas Jan 22, 2019 @ 2:02pm 
server.cfg looks like that:

fps.limit "256"
global.perf "0"
server.arrowarmor "1"
server.arrowdamage "1"
server.bleedingarmor "1"
server.bleedingdamage "1"
server.bulletarmor "1"
server.bulletdamage "1"
server.meleearmor "1"
server.meleedamage "1"
server.showholstereditems "True"
server.woundingenabled "True"
server.hostname "[UA] Salute Classic | Wipe 20.01"
server.description "Hello World!"
server.headerimage "https://i.ibb.co/K6BL1RX/Salute.png"
Pedro-NF Jan 22, 2019 @ 2:17pm 
That config file should work. This is probably a path issue.

You didn't actually follow all my instructions. I asked you to place a .BAT file with a single line in the RustDedicated.exe directory. Stop copying those start lines from Steam's dedicated server setup guides, they are all outdated. They were already outdated 4 years ago when I used to run a CS:GO server. Most Rust server setup guides you'll find on the net are at least partially outdated too. Auto updating via steamcmd.exe doesn't work well, and even if it did:

1 - You DO NOT want Windows auto updating.
2 - You DO NOT want any program auto updating.
3 - You definitely DO NOT WANT dedicated servers auto updating, especially when it comes to Rust. Trust me on this.

So, let's start again. Copy my line to start the server and place it in a .BAT file in the directory where RustDedicated.exe is. Do not change the position of the command line arguments, -load and -exec server.cfg are at the end for a reason.

Take a screenshot of the path to the server's config directory and post it here. Like this one:

https://i.imgur.com/31sa2Xi.jpg
Last edited by Pedro-NF; Jan 22, 2019 @ 2:23pm
Zenthas Jan 22, 2019 @ 2:44pm 
Did everything as you said
https://i.imgur.com/TIxSrww.jpg
nothing changed
< >
Showing 1-15 of 22 comments
Per page: 1530 50

Date Posted: Jan 22, 2019 @ 3:03am
Posts: 22