TGE 1.4 TGE 1.5 hosted multiplayer regression
by Philippe C · in Torque Game Engine · 08/02/2007 (1:15 pm) · 14 replies
With tge 1.4 and starter.fps game it was possible to use in the gui "select mission" the option "host multiplayer" and when you use http://www.gnometech.com/ and "open monitor" and search option : your game will appear.
With TGE 1.5 this functionnality does not work on windows and linux
On windows with TGE 1.5 only the option -dedicated works correctly, if I use in the gui "select mission" the option "host multiplayer" , i got on http://www.gnometech.com/
On linux i have the both versions and I have done a test with TGE 1.4 : i can see my game on http://www.gnometech.com/
On linux with TGE 1.5 i got on http://www.gnometech.com/
what is the solution to solve this issue ?
With TGE 1.5 this functionnality does not work on windows and linux
On windows with TGE 1.5 only the option -dedicated works correctly, if I use in the gui "select mission" the option "host multiplayer" , i got on http://www.gnometech.com/
Server List: # Name Players Version 1 Timed Out -/- -
On linux i have the both versions and I have done a test with TGE 1.4 : i can see my game on http://www.gnometech.com/
Server List: # Name Players Version 1 PhilippeC 1/64 1400
On linux with TGE 1.5 i got on http://www.gnometech.com/
Server List: # Name Players Version 1 Timed Out -/- -
what is the solution to solve this issue ?
#2
08/04/2007 (12:47 pm)
MY 1.5 works fine under SuSE 10.2
#3
"works fine" : this means that you don't reproduce the issue described in my post (you test it and it works ) ?
because 1.5 works also fine on ubuntu except for this function => same issue on windows ....
If it the case could you post the result of ldd as below in order to check the difference ?
../example$ ldd torqueDemo.bin
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7f5e000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7f36000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7efd000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e6e000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e57000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e53000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb7e40000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d56000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d2f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d23000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7be2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7af1000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7a2b000)
libdirectfb-0.9.so.25 => /usr/lib/libdirectfb-0.9.so.25 (0xb79d4000)
libfusion-0.9.so.25 => /usr/lib/libfusion-0.9.so.25 (0xb79ce000)
libdirect-0.9.so.25 => /usr/lib/libdirect-0.9.so.25 (0xb79bf000)
/lib/ld-linux.so.2 (0xb7f75000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7994000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7928000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7914000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb790c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7909000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7904000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb78e3000)
08/04/2007 (12:50 pm)
@richard"works fine" : this means that you don't reproduce the issue described in my post (you test it and it works ) ?
because 1.5 works also fine on ubuntu except for this function => same issue on windows ....
If it the case could you post the result of ldd as below in order to check the difference ?
../example$ ldd torqueDemo.bin
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7f5e000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7f36000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7efd000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e6e000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e57000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e53000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xb7e40000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7d56000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d2f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d23000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7be2000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7af1000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb7a2b000)
libdirectfb-0.9.so.25 => /usr/lib/libdirectfb-0.9.so.25 (0xb79d4000)
libfusion-0.9.so.25 => /usr/lib/libfusion-0.9.so.25 (0xb79ce000)
libdirect-0.9.so.25 => /usr/lib/libdirect-0.9.so.25 (0xb79bf000)
/lib/ld-linux.so.2 (0xb7f75000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7994000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7928000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7914000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb790c000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7909000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7904000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb78e3000)
#4
linux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7fa1000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7f78000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7f5a000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7ec7000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7eae000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eaa000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb7e97000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7db3000)
libm.so.6 => /lib/libm.so.6 (0xb7d8d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d81000)
libc.so.6 => /lib/libc.so.6 (0xb7c52000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b35000)
libaa.so.1 => /usr/lib/libaa.so.1 (0xb7b1a000)
/lib/ld-linux.so.2 (0xb7fd4000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7aef000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7ace000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7a61000)
libz.so.1 => /lib/libz.so.1 (0xb7a4e000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7a45000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a41000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a3b000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb79f3000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb79ec000)
08/05/2007 (4:47 pm)
/example> ldd torqueDemo_DEBUG.binlinux-gate.so.1 => (0xffffe000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb7fa1000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7f78000)
libtheora.so.0 => /usr/lib/libtheora.so.0 (0xb7f5a000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7ec7000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7eae000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eaa000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb7e97000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7db3000)
libm.so.6 => /lib/libm.so.6 (0xb7d8d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d81000)
libc.so.6 => /lib/libc.so.6 (0xb7c52000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b35000)
libaa.so.1 => /usr/lib/libaa.so.1 (0xb7b1a000)
/lib/ld-linux.so.2 (0xb7fd4000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7aef000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7ace000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7a61000)
libz.so.1 => /lib/libz.so.1 (0xb7a4e000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7a45000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7a41000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7a3b000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb79f3000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb79ec000)
#5
08/05/2007 (5:05 pm)
I have never checked with Gnometech, but Im always listed with the master server, how Gnometech and the GG master server talk to each other???
#6
08/05/2007 (5:09 pm)
I just hosted a multiplayer, and was watching Gnometech, it changed from 1 Test App to 2 and then back to 1 when I shut down. Let me know if you would like me to test this some other way.
#7
thanks for the information
Could you do the following test : create a sever and try to connect from a client with the server lan option ?
- launch torque and use the option "host multiplayer"
- in a new console window : rm /tmp/TorqueTest.lock
- launch a 2nd torque session and use "join server"
- use "query lan"
do you see a server ?
08/13/2007 (7:45 am)
@richardthanks for the information
Could you do the following test : create a sever and try to connect from a client with the server lan option ?
- launch torque and use the option "host multiplayer"
- in a new console window : rm /tmp/TorqueTest.lock
- launch a 2nd torque session and use "join server"
- use "query lan"
do you see a server ?
#8
08/16/2007 (6:07 am)
I have been playing a lot with my girlfriend on LAN, It works fine also. She is running Windows XP and me with Suse.
#9
richard@RICHARD:~> rm/tmp/TorqueTest.lock
bash: rm/tmp/TorqueTest.lock: No such file or directory
What is that file??
08/16/2007 (6:16 am)
I was just trying your request, and I dont seem to have a TorqueTest.lock located in tmp.richard@RICHARD:~> rm/tmp/TorqueTest.lock
bash: rm/tmp/TorqueTest.lock: No such file or directory
What is that file??
#10
/tmp/TorqueTest.lock : this file is created when torque is luanched the first time. If you try to launch torque a second time on the same PC you get the following message :
rm /tmp/TorqueTest.lock is a workaround solution in order to test on the same PC the server and the client ( only one pc needed ) , this solution worked with TGE 1.4
08/16/2007 (10:00 pm)
Thanks richard for the information/tmp/TorqueTest.lock : this file is created when torque is luanched the first time. If you try to launch torque a second time on the same PC you get the following message :
... --------- Initializing MOD: PhilippeC: Client --------- Loading compiled script starter.fps/client/ui/customProfiles.cs. Loading compiled script common/client/message.cs. Loading compiled script common/client/mission.cs. Loading compiled script common/client/missionDownload.cs. Loading compiled script common/client/actionMap.cs. Couldn't lock file: /tmp/TorqueTest.lock, Resource temporarily unavailable Lock owned by pid: 5817 Remove the file if lock is stale Fatal-ISV: (console/consoleFunctions.cc @ 765) Copy of Torque is already running; exiting. Nonzero exit code: 1, triggering SIGSEGV for core dump % Erreur de segmentation (core dumped)
rm /tmp/TorqueTest.lock is a workaround solution in order to test on the same PC the server and the client ( only one pc needed ) , this solution worked with TGE 1.4
#11
I just test the solution above "query lan" with TGE 1.4 and it works correctly .... !!!
just one question : do you use TGE 1.5 ? are you sure ?
08/16/2007 (10:27 pm)
@RichardI just test the solution above "query lan" with TGE 1.4 and it works correctly .... !!!
just one question : do you use TGE 1.5 ? are you sure ?
#12
08/17/2007 (12:35 pm)
Yes Im using 1.5.2, and I can start two TGE at the same time on my pc, but they dont see each other. Ive never seen or had a problem with the lock. Im also running a Debug version, and when I compiled I changed the make file so that all my .dso files would not be placed in a hidden file.
#13
ok.
The controle on the lock file is not performed in debug mode ...
For the hidden file : I use the option -nohomedir when I launch torque
I have done a new test this morning and now with tge 1.4 the "query lan" does not work ... I have changed nothing since yesteday ...
What happen ? Huuum, I have to check my configuration carefully.
Richard thanks a lot for your support
08/17/2007 (10:24 pm)
@Richardok.
The controle on the lock file is not performed in debug mode ...
For the hidden file : I use the option -nohomedir when I launch torque
I have done a new test this morning and now with tge 1.4 the "query lan" does not work ... I have changed nothing since yesteday ...
What happen ? Huuum, I have to check my configuration carefully.
Richard thanks a lot for your support
#14
08/18/2007 (5:42 am)
Your welcome, email me if you need any more help.
Torque Owner Philippe C
I confirm : tge 1.4 "host multiplayer" option works with Ubuntu 7.04 Feisty Fawn .