Page 1 of 1

GbxRemote modules updated

Posted: 10 Apr 2011 18:15
by Xymph
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.

Re: GbxRemote modules updated

Posted: 10 Apr 2011 19:38
by nocturne
Sounds nifty... will certainly help out a bit with startup scripts. :thumbsup:

Re: GbxRemote modules updated

Posted: 22 May 2011 15:22
by Xymph
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.

Re: GbxRemote modules updated

Posted: 22 May 2011 18:20
by Gekko
Thx Xymph :thumbsup:

Re: GbxRemote modules updated

Posted: 04 Dec 2011 13:40
by Xymph
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.