Dedicated server for TMNF/TMU-F (2011-02-21)

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Slig » 02 May 2008 09:52

Kw4h wrote:I like the xml-rpc thing in the dedicated server, though there's a big drawback. It's not compatible with Java, and its unfortunately not using the 'standard' xml-rpc.
The data itself is xmlrpc. Well... the system.multicall (essentially for the reply if i remember correctly my old tests) is perhaps not done in the most used way, but it's not really and clearly documented anywhere, so... and the callbacks are a little specific too, unavoidable.
The transport is not a http-xmlrpc, that's true, and logical, as it is done on a permanent connected socket and not a by request connection, and also the callbacks would not exist with http-xmlrpc.
I tried to get a sample app to connect to the server, and didn't get much further than to the point where you figure out how the protocol really works (raw binary xml over a tcp connection - doesn't really count as xml-rpc but oh well).
Reason why it doesn't work for Java is that there's no support for the 'pack' method, which translates the xml to some binary form.
So I'm wondering: will it ever get full support for xml-rpc?
Onyx is a java program and do tm dedicated xmlrpc for long time. Perhaps Pagaisu and Vegeta would be ok to share the xmlrpc part, you will have to ask them.
As slly indicated, Flo made recently some work on java, which at least handle the dialog, coding and xml parsing with the dedicated, and he give the source code, so...

TripleT
smooth traffic navigator
smooth traffic navigator
Posts: 193
Joined: 12 Feb 2008 15:14
Owned TM-games: TMNF
Location: Germany

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by TripleT » 02 May 2008 18:07

hi
i have a little question to the autosave replay function
which replays does it save?
only the best for every day?
because when i lock into my autosave folder i see every track only one time a day tough there where 20 players on my server
:ftw:

TripleT

Kw4h
pedestrian
pedestrian
Posts: 7
Joined: 01 May 2008 14:42
Owned TM-games: TMN, TMNF

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Kw4h » 02 May 2008 18:17

Thanks for the response :)
Flo's code is exactly what I needed.

There's a fun thing to this: I can't use my favorite xmlrpc lib because of the socket and callback thing. Will be tricky to get a nice application design for this. Will be interesting to see what I can make of this... :P

TripleT
smooth traffic navigator
smooth traffic navigator
Posts: 193
Joined: 12 Feb 2008 15:14
Owned TM-games: TMNF
Location: Germany

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by TripleT » 02 May 2008 18:19

TripleT wrote:hi
i have a little question to the autosave replay function
which replays does it save?
only the best for every day?
because when i lock into my autosave folder i see every track only one time a day tough there where 20 players on my server
:ftw:

TripleT
so i will quote myself :roflol:
so i should say first try then ask xD
i watched one of those replays my server saved and realized that all replay of each round are saved in ONE replay!
:pil

TripleT

nouseforname
swift roadking
swift roadking
Posts: 840
Joined: 20 Apr 2008 08:58
Owned TM-games: TMUF,TMNF, TMN
Manialink(s): therookies
Location: Germany
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by nouseforname » 03 May 2008 14:24

hi

sometimes there will be no ladder for several rounds (>10) at my server. but after restart the hole server (i don't like to restart, specially if it's full) the ladder is back.
how could i reconnect or sync my server with the ladder again?
or is this a common problem with the ladder/masterserver itself?

thanks
Owner of the Rookie servers and some more. :)
Rookies HP
My Project
Rookies Manialinkcolor>

Mikey
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2006 00:11

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Mikey » 04 May 2008 13:40

*Bug Report

Not that anyone would probably want to use this combination, but ;
warmup in stunts does not work
I believe it tries to set warmup to gold time, but stunts has no gold time so it finishes instantly, it probably needs to be recoded to use stunt play time limit.

User avatar
Phhere
sunday driver
sunday driver
Posts: 65
Joined: 16 Oct 2006 21:01
Owned TM-games: TMS, TMU
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Phhere » 04 May 2008 14:44

Bug Report :
Method: GetSystemInfo
Return:

Code: Select all

Array ( [PublishedIp] => 192.168.178.30 [Port] => 2350 [P2PPort] => 3450 [ServerLogin] => )
ServerLogin: always empty for me. Authed as SuperAdmin
*Sorry for my english*
webSPELL Development
Image

User avatar
gery
pedestrian
pedestrian
Posts: 14
Joined: 30 Dec 2005 19:09
Owned TM-games: all
Manialink(s): gery
Location: france

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by gery » 05 May 2008 17:35

Mikey wrote:*Bug Report

Not that anyone would probably want to use this combination, but ;
warmup in stunts does not work
I believe it tries to set warmup to gold time, but stunts has no gold time so it finishes instantly, it probably needs to be recoded to use stunt play time limit.
yes, same for me, warmup finishes instantly in stunt if I set it to 1*gold time!

in fact, in stunt the score is the milliseconds of gold time
the dedicated limits warmup to 127*gold time.
it is too short for stunt

it will be fixed in next dedicated ?

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Slig » 05 May 2008 18:38

Phhere wrote:Bug Report :
Method: GetSystemInfo
Return:

Code: Select all

Array ( [PublishedIp] => 192.168.178.30 [Port] => 2350 [P2PPort] => 3450 [ServerLogin] => )
ServerLogin: always empty for me. Authed as SuperAdmin
started in internet or lan ?

User avatar
Phhere
sunday driver
sunday driver
Posts: 65
Joined: 16 Oct 2006 21:01
Owned TM-games: TMS, TMU
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Phhere » 05 May 2008 18:47

I think the server was started on internet but i am not sure. at the moment everythink is ok.

lets wait and see ^^
*Sorry for my english*
webSPELL Development
Image

SammySup10
highway camper
highway camper
Posts: 1
Joined: 05 May 2008 13:08
Owned TM-games: TMN, TMU, TMUF

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by SammySup10 » 06 May 2008 10:34

Hi guys, we figured out some errors but we are still getting these two. Anybody knows what we did wrong or what we should change? Thx in advance!!!
Image

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Slig » 06 May 2008 10:44

SammySup10 wrote:Hi guys, we figured out some errors but we are still getting these two. Anybody knows what we did wrong or what we should change? Thx in advance!!!
can't you just read errors and make corresponding changes in your dedicated config file ? ...

Cyrlaur
Pit Crew
Pit Crew
Posts: 889
Joined: 12 Aug 2005 14:49
Owned TM-games: TMO, TMS, TMU
Manialink(s): Cyrlaur
Location: France
Contact:

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Cyrlaur » 06 May 2008 10:55

Slig wrote:
Phhere wrote:Bug Report :
Method: GetSystemInfo
Return:

Code: Select all

Array ( [PublishedIp] => 192.168.178.30 [Port] => 2350 [P2PPort] => 3450 [ServerLogin] => )
ServerLogin: always empty for me. Authed as SuperAdmin
started in internet or lan ?
In fact ServerLogin is empty when you launch dedicated server in LAN for the first time.
Since you start it once in Internet it will always return the ServerLogin (LAN or Internet).

By the way there's no way to know if a started server is a LAN or Internet one if server is not behind a routing device.

Zooz
TM-Patrol
TM-Patrol
Posts: 5326
Joined: 13 Aug 2005 08:58
Owned TM-games: TMO, TMS, TMNF, TMUF
Manialink(s): zooz
Location: The Netherlands

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by Zooz » 08 May 2008 17:36

SammySup10 wrote:Hi guys, we figured out some errors but we are still getting these two. Anybody knows what we did wrong or what we should change? Thx in advance!!!
Image
Maybe a long shot, but could it be that you are using an invalid login?

Heh, just a guess.

wingers
highway camper
highway camper
Posts: 1
Joined: 10 May 2008 16:10
Owned TM-games: TMNF

Re: Dedicated server for TMNF/TMU-F (2008-04-18)

Post by wingers » 10 May 2008 16:18

Can anyone help, have scoured the forums and FAQ's and cannot find an answer.

Dedicated server running with servermania. working 100%.

Remote access working on 2 x pcs running vista ultimate with .net 2.0

Remote access on XPhome pc with .net2.0 runs but after approx 5 seconds user gets kicked with the following error messages.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
at System.Windows.Forms.Form.set_WindowState(FormWindowState value)
at ServerMania.ServerMania.frmController.frmController_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ServerMania
Assembly Version: 0.9.6.3
Win32 Version: 0.9.6.3
CodeBase: file:///C:/Program%20Files/ServerMania/ServerMania.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
NETXP.Controls
Assembly Version: 4.0.5825.2
Win32 Version: 4.0.5825.2
CodeBase: file:///C:/Program%20Files/ServerMania/NETXP.Controls.DLL
----------------------------------------
EasyUpdateDll
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files/ServerMania/EasyUpdateDll.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
NETXP.Library
Assembly Version: 4.0.5825.2
Win32 Version: 4.0.5825.2
CodeBase: file:///C:/Program%20Files/ServerMania/NETXP.Library.DLL
----------------------------------------
NETXP.Win32
Assembly Version: 4.0.5825.2
Win32 Version: 4.0.5825.2
CodeBase: file:///C:/Program%20Files/ServerMania/NETXP.Win32.DLL
----------------------------------------
TMXmlRpcLib
Assembly Version: 1.0.2527.28621
Win32 Version: 1.0.2527.28621
CodeBase: file:///C:/Program%20Files/ServerMania/TMXmlRpcLib.DLL
----------------------------------------
NETXP.Controls.TaskPane
Assembly Version: 4.0.5825.2
Win32 Version: 4.0.5825.2
CodeBase: file:///C:/Program%20Files/ServerMania/NETXP.Controls.TaskPane.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Any help would be greatly appreciated!!

kind regards

Wingers

Post Reply