GbxRemote modules updated

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

Moderators: Pit Crew, TM-Patrol

Post Reply
Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

GbxRemote modules updated

Post by Xymph » 10 Apr 2011 18:15

It's been a long time since the GbxRemote modules, which provide the low-level communication between the dedicated server and most PHP-based server controllers, were discussed, so rather than necro-post in an ancient thread, here's a new one.

There was a long discussion back in 2008 culminating in several fixes, then Nadeo implemented a number of enhancements in 2009, and finally I fixed a CRT warning also in 2009.

Now I've added a new feature that was suggested and prototyped by La beuze in a mail to me earlier this year. This is a timeout mechanism to the InitWithIp method, so that it's possible for server controllers to try and connect to the dedicated even when that is not (fully) started up yet. The timeout parameter is optional, so if absent the method will immediately return with an error, as before. The upcoming XAseco release will utilize this feature.

Here are the change notes from the last two updates:
Release 2009-06-03 - Xymph:
Suppress possible repetitive CRT warning at stream_select

Release 2011-04-09 - Xymph / La beuze:
Added optional timeout mechanism to IXR_Client_Gbx::InitWithIp()
As always, the regular and big-endian versions of the modules can be downloaded from my TMF hub.
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

nocturne
solid chaser
solid chaser
Posts: 1390
Joined: 08 Jun 2007 18:48
Owned TM-games: all
Contact:

Re: GbxRemote modules updated

Post by nocturne » 10 Apr 2011 19:38

Sounds nifty... will certainly help out a bit with startup scripts. :thumbsup:
Chief Janitorial Supervisor of the Let'sRock! TM community : www.LetsRock-TM.com

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: GbxRemote modules updated

Post by Xymph » 22 May 2011 15:22

I've made another handful of mostly minor changes to these GbxRemote modules, both in the code and the error messages and comments. Here are the change notes:
Release 2011-05-22 - Xymph:
Added non-error (true) return status to IXR_Client_Gbx::queryIgnoreResult()
Updated status codes and messages for transport/endian errors
Prevented possible PHP warning in IXR_Client_Gbx::getErrorCode() and getErrorMessage()
As usual, the regular and big-endian versions of the modules can be downloaded from my TMF hub.
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

Gekko
speedy pilot
speedy pilot
Posts: 550
Joined: 03 Sep 2006 18:20
Owned TM-games: ALL
Location: Naples - Italy
Contact:

Re: GbxRemote modules updated

Post by Gekko » 22 May 2011 18:20

Thx Xymph :thumbsup:

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: GbxRemote modules updated

Post by Xymph » 04 Dec 2011 13:40

As per this and this discussion, the GbxRemote modules received a small update to cover an incompatibility with some PHP versions:
Release 2011-12-04 - Xymph:
Prevented possible PHP warning in IXR_Value::calculateType
As usual, they can be downloaded from this Scripts & Tools page.
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

Post Reply