TM-FORUM

The TrackMania universal forum ^_^
It is currently Sun Apr 20, 2014 8:51 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: GbxRemote modules updated
PostPosted: Sun Apr 10, 2011 9:15 pm 
Offline
Pit Crew
Pit Crew

Joined: Sun Aug 19, 2007 3:58 pm
Posts: 5431
Owned TM-games: TMN, TMU, TMF, TM²C
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:

Quote:
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


Top
 Profile  
 
 Post subject: Re: GbxRemote modules updated
PostPosted: Sun Apr 10, 2011 10:38 pm 
Offline
solid chaser
solid chaser

Joined: Fri Jun 08, 2007 9:48 pm
Posts: 1390
Owned TM-games: all
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


Top
 Profile  
 
 Post subject: Re: GbxRemote modules updated
PostPosted: Sun May 22, 2011 6:22 pm 
Offline
Pit Crew
Pit Crew

Joined: Sun Aug 19, 2007 3:58 pm
Posts: 5431
Owned TM-games: TMN, TMU, TMF, TM²C
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:

Quote:
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


Top
 Profile  
 
 Post subject: Re: GbxRemote modules updated
PostPosted: Sun May 22, 2011 9:20 pm 
Offline
speedy pilot
speedy pilot

Joined: Sun Sep 03, 2006 9:20 pm
Posts: 550
Location: Naples - Italy
Owned TM-games: ALL
Thx Xymph :thumbsup:


Top
 Profile  
 
 Post subject: Re: GbxRemote modules updated
PostPosted: Sun Dec 04, 2011 4:40 pm 
Offline
Pit Crew
Pit Crew

Joined: Sun Aug 19, 2007 3:58 pm
Posts: 5431
Owned TM-games: TMN, TMU, TMF, TM²C
As per this and this discussion, the GbxRemote modules received a small update to cover an incompatibility with some PHP versions:

Quote:
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group