Multiplayer Editing Demo

Forum for discussion about TSRE features.
User avatar
Louis
Posts: 53
Joined: 09 Jan 2022, 11:33
Location: Moscorw
Contact:
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.

User avatar
Louis
Posts: 53
Joined: 09 Jan 2022, 11:33
Location: Moscorw
Contact:
.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
Show me server log, not client log.

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
If nothing chappens, did you remember to use chmod +x on executable file?

User avatar
Louis
Posts: 53
Joined: 09 Jan 2022, 11:33
Location: Moscorw
Contact:
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

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
You have answer in the log:
Global dir not exist "/home/tsre/files/global"

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

User avatar
Louis
Posts: 53
Joined: 09 Jan 2022, 11:33
Location: Moscorw
Contact:
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/' {} \;

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
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.

User avatar
Louis
Posts: 53
Joined: 09 Jan 2022, 11:33
Location: Moscorw
Contact:
How exactly to manage them correctly ? Is it easy to put them in your route ?

User avatar
Goku
Site Admin
Posts: 363
Joined: 15 Jan 2019, 18:10
Location: Poland
Contact:
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.

Post Reply