Page 2 of 10

Re: Multiplayer Editing Demo

Posted: 09 Jan 2022, 21:10
by Louis
Good evening, Goku. Tell me please. Under Linux, how exactly to run it. We just try to run 0.7.005 ARCH peri there is no connection. There may be an error on the settings side. I specified in the settings /home/tsre/files (MSTS folder), in the point with the route I specified the route I needed, I chose kuban_rts for the test, until the server was started, your script was skipped in lowercase. We started the Linux server in the console, nothing happens, all the components that you specified are installed, when connected from the client side (
workingDir "E:/TSRE5"
"settings.txt"
devicePixelRatio 1
WebSocket server: "ws://95.216.101.57:65534"
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] libpng warning: iCCP: known incorrect sRGB profile
[E] setGeometry: Unable to set geometry 15x13+640+280 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 120x13+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
#Templates - undefined token: "version"
[E] setGeometry: Unable to set geometry 15x13+640+280 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 120x13+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
[E] setGeometry: Unable to set geometry 15x13+640+280 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 120x13+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
WebSocket ddconnected
), the ports on the server via NAT on the VM are open.

Re: Multiplayer Editing Demo

Posted: 09 Jan 2022, 21:28
by Louis
.

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 07:12
by Goku
Show me server log, not client log.

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 08:19
by Goku
If nothing chappens, did you remember to use chmod +x on executable file?

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 13:08
by Louis
Good afternoon. I'm applying log.txt , we are testing it all on our route. We checked the NAT setup, everything is correct there. We use TSRE5_v0.7.005_ARCH since I understood this is the latest version that is built under Linux.
The moment with the lower case was taken into account, done as indicated in the instructions.
The connection to the server comes from the latest version TЕSRE5_v0.7.007.exe . I attach a Log from the Client and server side, as well as NAT and items from setting.txt


------------------Server Log
➜ cat log.txt
workingDir "/home/tsre/files/UTILS/TSRE"
"settings.txt"
devicePixelRatio 1
arg1 "--server"
Run server
# Load Route
Global dir not exist "/home/tsre/files/global"

------------------Client Log
PS C:\RTS\UTILS\TSRE> .\TSRE5_v0.7.007.exe
devicePixelRatio 1
WebSocket server: "ws://10.0.10.36:65534"
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] QLayout: Cannot add a null widget to QGridLayout/
[E] libpng warning: iCCP: known incorrect sRGB profile
[E] setGeometry: Unable to set geometry 18x16+640+281 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 148x16+640+281 (frame: 9, 38, 9, 9, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
#Templates - undefined token: "version"
[E] setGeometry: Unable to set geometry 18x16+640+281 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 148x16+640+281 (frame: 9, 38, 9, 9, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
[E] setGeometry: Unable to set geometry 18x16+640+281 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 148x16+640+281 (frame: 9, 38, 9, 9, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
[I] WebSocket ddconnected


------------------NAT
9 DNAT tcp -- anywhere anywhere tcp dpt:65534 to:10.0.10.36
10 DNAT udp -- anywhere anywhere udp dpt:65534 to:10.0.10.36


------------------chmod +x
➜ ls -ld TSRE5_v0.7.005_ARCH
-rwxr-xr-x 1 tsre tsre 4603864 Jan 9 20:02 TSRE5_v0.7.005_ARCH

------------------setting.txt Server

# main directory of your game data
gameRoot = /home/tsre/files
# route directory name to load on startup by default
routeName = savelovo_2

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 14:53
by Goku
You have answer in the log:
Global dir not exist "/home/tsre/files/global"

global/tsection.dat file is required to run TSRE.

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 16:43
by Louis
It worked perfectly, I didn't see it right away. I have converted the entire RTrainSim folder to lowercase. There is also a question that SHAPES TEXTURES TERTEX are not pulled up from the client side.

Also about renaming folders to lowercase, the advice to use such a command is much faster
find RTS_ROOT -depth -exec rename 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \;

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 17:07
by Goku
In the past I did try one line command but didn't worked for me after first run. If yours works good, then it's great.

Yes, shapes and textures you have to manage separately. As I said, it is not finished feature.

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 17:52
by Louis
How exactly to manage them correctly ? Is it easy to put them in your route ?

Re: Multiplayer Editing Demo

Posted: 10 Jan 2022, 18:37
by Goku
Just remember to share all shapes and tetures between users.
So it, would be good if only one person will add new shapes and textures, and then share the files to other users.
But if something is missing, nothing wrong happens, I think.

Also, don't use terrtex painting in multiplayer, it won't work. I think ..
Definitely don't generate new tiles using multiplayer.