Trackmania Beta3 Dedicatedserver, v2011-08-16

Moderator: NADEO

User avatar
xbx
Nadeo
Nadeo
Posts: 1289
Joined: 14 Jun 2010, 17:35

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by xbx »

a bug in this version has been discovered.
To workaround a potential crash, I recommend that you go no further than 60 players.
gaz.v
Posts: 13
Joined: 17 Aug 2011, 10:39

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by gaz.v »

ok i have followed every thing but i get this error can any one help -> ErrorException with code 0
fsockopen(): unable to connect to localhost:5001 (A connection
attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host
has failed to respond. ???



many thanks
User avatar
Xymph
Posts: 1399
Joined: 15 Jun 2010, 20:35
Contact:

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by Xymph »

xbx wrote:oh and the community developers have been at hard work during the previous beta, updating their plugins and server managers, so I guess they'll post their updated tools soon too.
XASECO will not be released as is for TM2C, too many things changed in the dedicated, and the codebase would suffer from trying to cover all the bases in one system (even more than when TMF support was added to the TMN ESWC original).

Instead I'm working on a cleaned up codebase which will be released as XASECO2. But I've spent a lot of time on actual beta testing, keeping up with the forums, etc. so it is not ready yet. Additionally, unlike around the TMF beta and release, I have a full-time job now, which also adds to the delay.

It may take a few weeks before XASECO2 is released, but it will definitely happen before the full game comes out. Until then, please be patient and don't ask when it'll be ready as that only delays it more. :)

PS. See this thread for my Quick Start Guide.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
qllpBernD
Posts: 4
Joined: 03 Mar 2011, 18:17

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by qllpBernD »

try to chance the server.host line in the config.ini

From:
server.host = 'local.host'
To:
server.host = '127.0.0.1'

and look if you realy got the same "server.port" in the config.ini and dedicated_cfg.txt
gaz.v
Posts: 13
Joined: 17 Aug 2011, 10:39

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by gaz.v »

yeh ty changing From:
server.host = 'local.host'
To:
server.host = '127.0.0.1'


worked for me
gaz.v
Posts: 13
Joined: 17 Aug 2011, 10:39

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by gaz.v »

ok last thing i got it working but its i get still a error

15:47:34] XML-RPC connection established
[15:47:34] Successfully authentified with XML-RPC server
[Attention] Threading disabled - this may cause performance issues!
[15:47:34] Current map: BarrageWestBeta
[PluginHandler] Start plugin load process:

-> ManiaLive\PluginHandler\Exception with code 0
Could not load Plugin '\ManiaLivePlugins\MLEPP\Core\Plugin' !
- in

?????? thanks again
kiyoko
Posts: 8
Joined: 13 Mar 2011, 15:14

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by kiyoko »

Just to mention.
There is a bug in GBXRemote.inc.php witch prevents a script from running more than 0x80000000 (2^31) requests.
Ok that will only happen if you never restart them but it will happen.

Reason: Only response codes witch are greater than 0x80000000 are taken as an Answer.
Every Response below is a Callback. As seen on line 604.
And guess witch number you have after 0xffffffff + 1;

Solution: On line 529. Limit $this->reqhandle to be a minimum of 0x80000000.

Affected Controllers: XAseco, ManiaLive and possible anything else.

Test Cases: on line 478:
set $this->reqhandle to 0x50000000 and the Server can´t connect.
set $this->reqhandle to 0xffffffa0 and the ListMethod.php will fail in the middle.


Wonder why nobody has discovert it jet.
Maybe it was but nobody fixed it?
Or everyone just copy/paste every code they find?
I am nix English so sorry for bad english.
User avatar
Xymph
Posts: 1399
Joined: 15 Jun 2010, 20:35
Contact:

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by Xymph »

kiyoko wrote:Wonder why nobody has discovert it jet.
Because the TMN/TMF dedicated server needed to be restarted every 49 days anyway, as it too ran out of an uint32 somewhere.

Anyway, nice catch, do you have a proposal for the solution too?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
kiyoko
Posts: 8
Joined: 13 Mar 2011, 15:14

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by kiyoko »

after line 529 add.
if($this->reqhandle==0xffffffff) {
$this->reqhandle = 0x80000000;
}

Edit:
just discovered that $this->reqhandle = max(0x80000000,$this->reqhandle+1); won´t work.
$this->reqhandle = ($this->reqhandle+1)&0x80000000;
doesn´t work eather.
Or it was just an timeout of the script.
I am nix English so sorry for bad english.
kiyoko
Posts: 8
Joined: 13 Mar 2011, 15:14

Re: Trackmania Beta3 Dedicatedserver, v2011-08-16

Post by kiyoko »

another post after so many edits sry.
on line 529 it had to be:
$this->reqhandle = ($this->reqhandle+1)|0x80000000;

chose witch one you prefer.
I am nix English so sorry for bad english.
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest