TM-FORUM

The TrackMania universal forum ^_^
It is currently 08 Aug 2016 21:53

All times are UTC + 1 hour




Post new topic Reply to topic  [ 66 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Dedicated server for TMF, version 2009-10-09
PostPosted: 08 Oct 2009 20:20 
Offline
Developer
Developer

Joined: 12 Aug 2005 15:42
Posts: 452
hi all!

Here's a new release to fix once for good (hopefully) the player's authentication.
Summary of the previous episodes: a few additional checks were added to the server to detected players that were changing login or using other people logins or fake logins. But they were only fixing the issue on the surface, and were easily circumvented.
So in this new version, we've introduce the correct fix (tm) for the issue, using rsa signature and the like, to make sure that people trying to connect with some login were actually validated and trusted by the master server.


Dedicated server for TMF, version 2009-10-09
You can download it from
http://files2.trackmaniaforever.com/Tra ... -10-09.zip
or
http://files2.trackmaniaforever.com/Tra ... -10-09.tgz

Changes:
  • don't ban players when using a mix-mapped challenge with two checkpoints on the same spot. (not that this means it's supported, but at least it will hopefully not ban for no apparent reason people in good faith)
  • ChatEnableManualRouting() can now take a additional boolean to enable a mode where only the player's message go through the routing callback but not the server ones. (This is to both avoid useless work, and to work around the issue that it is anyway impossible to make the server messages work correctly given that the callback doesn't give the recipient of the message)
  • when the config was <p2p_cache_size>0</p2p_cache_size> (or in some other cases where the cache was too small), the server crashed at start time.
  • ChooseNextChallengeList() and ChooseNextChallenge() now set IsListModified == true in the ChallengeListModified() callback
  • Added more checks on invalid packets or invalid challenges to avoid crashes.
  • New connection protocol with a signature check on the player login before allowing the connection, (if the client supports it.)
  • New configuration to only allow recent client to connect:
    add <minimum_client_build>2009-10-08</minimum_client_build> to the <system_config> section to only allow client supporting the new connection protocol.


And so, there's also a new fix for the game available if you want to test a bit:
nations: http://files2.trackmaniaforever.com/TmN ... _Setup.exe
united: http://files2.trackmaniaforever.com/TmU ... _Setup.exe

It's mostly useful for the new login validation, but it includes some fixes too:
  • fix for the crash when in multiplayer mode, the mouse is over a image in a server manialink page and the map changes.
  • fixed the rumble on speedlink joypads
  • issue with degraded texture quality for graphic cards with lots of RAM.
  • issue with too restrictive access rights on the shared data folder, under vista.
  • support for the new connection protocol with login signature checks
  • clipping issues with the launcher and Japanese characters
  • some little optimisations with load times
  • add a few more fixes carried over from the dedicated server (crashes on invalid data or packets,..)
(and of course all the changes from previous fixes are also included)

The new protocol is supposed to allow a smooth transition (new clients can still connect to old servers, old clients can still connect to the new servers (if not forbidden via the config option).

The plan is to give those some testing, and if all goes fine (no regressions...), make it a more official patch.

(edit: As no problems are being reported, I remove the "beta" tag, and upload setups for the fix, with no changes to the actual files)


Last edited by xbx on 15 Oct 2009 14:54, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 08 Oct 2009 20:35 
Offline
happy cruiser
happy cruiser
User avatar

Joined: 24 Apr 2008 19:20
Posts: 149
Location: Grenoble - France
Owned TM-games: TMN,TMUF,TMO,TMS
Manialink(s): shark
good i try the dedicated server on Nations Speed Addition Server :thumbsup:

_________________
[SA.fr]JS

http://www.thesharkteam.com


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 08 Oct 2009 20:37 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 23 May 2007 08:20
Posts: 1466
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
+1 on the fix for Speedlink rumble.

I think if you made it for all rumble gamepads then alot of people would be statisfied.

The rumble reacts on crashes and jumps as also crash finishes.

+1 on that Nadeo.

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 08 Oct 2009 23:33 
Offline
Pit Crew
Pit Crew

Joined: 19 Aug 2007 13:58
Posts: 5586
Owned TM-games: TMN, TMU, TMF, TM²
xbx wrote:
[*] New configuration to only allow recent client to connect:
add <minimum_client_build>2009-10-08</minimum_client_build> to the <system_config> section to only allow client supporting the new connection protocol.

Would this setting allow checking for any older build date, or does it work purely with the new (and future) clients because of the changed protocol?

There's a bug in the beta client when it connects to a server with a build before 2009-10-08: the ClientVersion string in the player's GetDetailedPlayerInfo data is empty. This affects my client checks in XAseco.

Meanwhile, I've updated my version table and the Methods site with the new build(s).

_________________
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: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 07:54 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 23 May 2007 08:20
Posts: 1466
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
In united the launcher tells me:

Quote:
2.11.19


and not noted elsewhere 2.11.21

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 08:48 
Offline
Pit Crew
Pit Crew

Joined: 19 Aug 2007 13:58
Posts: 5586
Owned TM-games: TMN, TMU, TMF, TM²
w1lla wrote:
In united the launcher tells me:

Quote:
2.11.19

and not noted elsewhere 2.11.21

I can't confirm that, for both TMNF and TMUF the beta launcher shows me 2.11.21 like it should.

_________________
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: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 08:58 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: 23 May 2007 08:20
Posts: 1466
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
ok i will recheck it later. But isnt that data saved in nadeo.ini?! and in the .exe??

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 09:12 
Offline
Pit Crew
Pit Crew

Joined: 19 Aug 2007 13:58
Posts: 5586
Owned TM-games: TMN, TMU, TMF, TM²
w1lla wrote:
ok i will recheck it later. But isnt that data saved in nadeo.ini?! and in the .exe??

I presume the version is defined in one place in the .exe, and used everywhere else. It seems a little far-fetched to scan the .exe for that, but when the launcher and the ClientVersion upon a connect to the beta server show the same version, as they do for me, it's alright. And my TMNF nadeo.ini file also shows 2.11.21 (I reverted my TMUF client because of the aforementioned bug).

_________________
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: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 10:18 
Offline
swift roadking
swift roadking
User avatar

Joined: 16 Feb 2007 02:40
Posts: 692
Location: Between DisneyLand and Paris
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Thanks xbx, i'm going to test this asap.

xbx wrote:
[*] issue with degraded texture quality for graphic cards with lots of RAM.

Is that relevant to my 90% framerate drop when driving on grass when i have AA enabled?

_________________
Zelectrify!


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 13:38 
Offline
Developer
Developer

Joined: 12 Aug 2005 15:42
Posts: 452
Knutselmaaster wrote:
Thanks xbx, i'm going to test this asap.

xbx wrote:
[*] issue with degraded texture quality for graphic cards with lots of RAM.


Is that relevant to my 90% framerate drop when driving on grass when i have AA enabled?

I don't think so, I'm afraid.
I think (the graphics guy isn't here today to confirm), the bug was that when people had a big AGP aperture and big video RAM, the sum was overflowing 2GB (or 4GB?), and the game was thinking that they had very little memory and used very low resolution textures...


Last edited by Xymph on 09 Oct 2009 13:44, edited 1 time in total.
Changed French 'Go' into English 'GB' ;-)


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 13:42 
Offline
Developer
Developer

Joined: 12 Aug 2005 15:42
Posts: 452
Xymph wrote:
Would this setting allow checking for any older build date, or does it work purely with the new (and future) clients because of the changed protocol?

Unfortunately, I'm affraid "it work purely with the new (and future) clients" is the correct one.
The client build is sent much earlier in the new protocol, and tested much earlier.
the olders client client version isn't known until sometime *after* the connection -> so I can't prevent their connecting...

Xymph wrote:
There's a bug in the beta client when it connects to a server with a build before 2009-10-08: the ClientVersion string in the player's GetDetailedPlayerInfo data is empty. This affects my client checks in XAseco.

oups.. broken descending compatibility. I'll fix it.


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-08 beta
PostPosted: 09 Oct 2009 14:54 
Offline
swift roadking
swift roadking
User avatar

Joined: 16 Feb 2007 02:40
Posts: 692
Location: Between DisneyLand and Paris
Owned TM-games: TMO/TMN/TMNF/TMU
Manialink(s): intr
Ok, thanks for the fast answer xbx.
Maybe it's something ATI driver or crossfire related but since an earlier clientupdate solved a lot of graphics problems on ATI cards i was hoping ;)

ps, i understood Go, they all talk that way over here :lol:

_________________
Zelectrify!


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-09 beta
PostPosted: 09 Oct 2009 15:29 
Offline
Developer
Developer

Joined: 12 Aug 2005 15:42
Posts: 452
Updated the first post with an updated version 2009-10-09 which fixes this backwards compatibility issue.
And add an extra fix in the dedicated server:

  • ChooseNextChallengeList() and ChooseNextChallenge() now set IsListModified == true in the ChallengeListModified() callback


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-09 beta
PostPosted: 11 Oct 2009 14:02 
Offline
happy cruiser
happy cruiser

Joined: 03 Jul 2006 16:31
Posts: 188
Owned TM-games: TMS, TMN, TMU, TMUF
Well, tried the update (client version), but it also shows for me version 2.11.19 in the launcher. Running Windows Vista Ultimate x64, Dutch.


Top
 Profile  
 
 Post subject: Re: Dedicated server for TMF, version 2009-10-09 beta
PostPosted: 12 Oct 2009 09:05 
Offline
smooth traffic navigator
smooth traffic navigator

Joined: 18 Jul 2006 15:23
Posts: 256
Location: NED
Owned TM-games: TMN, TMU
TaSo wrote:
Well, tried the update (client version), but it also shows for me version 2.11.19 in the launcher. Running Windows Vista Ultimate x64, Dutch.

I noticed that when you redownload the whole client now its a different (updated) package. Without updates the download version is now 2.11.21.

_________________
DutchTM.nl - The Dutch TrackMania Community!
Dedicated Server Tools


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 66 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


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