Dedicated Server API Client Communication

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Dedicated Server API Client Communication

Post by The_Big_Boo »

Fixed! I should have looked closer to xmlrpc_encode_request options, as utf-8 charaters were wrongly escaped... Thanks for reporting :thumbsup:

@TMarc: Unicode is a character set, not an encoding. ;)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
TheM
Posts: 1379
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: Dedicated Server API Client Communication

Post by TheM »

The_Big_Boo wrote:Fixed! I should have looked closer to xmlrpc_encode_request options, as utf-8 charaters were wrongly escaped... Thanks for reporting :thumbsup:

@TMarc: Unicode is a character set, not an encoding. ;)
Yep, that did the trick! Thanks :)
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Dedicated Server API Client Communication

Post by TMarc »

The_Big_Boo wrote:Fixed! I should have looked closer to xmlrpc_encode_request options, as utf-8 charaters were wrongly escaped... Thanks for reporting :thumbsup:

@TMarc: Unicode is a character set, not an encoding. ;)
:roll: I know, but you also know what was meant... :thumbsup:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
Thanks for fixing it this fast :thumbsup:
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: Dedicated Server API Client Communication

Post by Jojo_44 »

I´ve used cdata as escaping option for the last 2 years which is a pretty cool trick I think. If you use /verbose_rpc_full it´s waaay better to read instead of the entities. Would be cool if you can change that.

Jojo
Image
my english sounds very unfriendly but it isn´t ;)
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Dedicated Server API Client Communication

Post by The_Big_Boo »

Yep, I saw you were using that option ^^ And it seems it's also a good idea to lower request size when sending manialinks! I pushed the change, I hope it doesn't break anything as I don't have the time to test this a lot (I just checked that ManiaLive and ManiaControl were launching fine and that manialinks were showing ingame).

@TMarc: you should thank him, otherwise I wouldn't have been this fast ^^


Btw, I'm out for a few days and I won't be able to work on this. I'll still check if you report bugs, but won't be able to fix them (or at least, won't be able to test fixes ^^). Happy testing :)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Dedicated Server API Client Communication

Post by The_Big_Boo »

kremsy wrote:Edit: found out that it should be no problem in 5.3, was just something different in mind.
Indeed it is 5.3 compatible. Moreover, I almost didn't change anything in the Connection class (the goal being the Xmlrpc itself) so this was written before 5.4 anyway ^^
kremsy wrote:And it would be nice if you can delete the instance by an method which you give the reference to the client object as parameter -> makes much more sence, wrote that into another topic long time ago already.
Yep, that's a nice idea. I was also thinking about fixing a flaw in the factory: if you ask first for a connection with User or Admin level then ask one to the same server with a higher level, you'll still have only the lower level. That's not a common case though.


Edit: thanks for the fix in GbxRemote :)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Dedicated Server API Client Communication

Post by The_Big_Boo »

That's why I said it's not a common case. This is just because I know it's there and it doesn't cost me anything to fix it ^^
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest