Page 2 of 12
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 14:50
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.
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 14:55
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
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 15:03
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.
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 15:20
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
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 15:40
by gaz.v
yeh ty changing From:
server.host = 'local.host'
To:
server.host = '127.0.0.1'
worked for me
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 15:50
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
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 16:22
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?
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 16:41
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?
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 16:53
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.
Re: Trackmania Beta3 Dedicatedserver, v2011-08-16
Posted: 17 Aug 2011, 17:19
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.