[B3.1][MS] 'wait' calls cause time incoherences if finishing

Moderator: NADEO

Locked
User avatar
TGYoshi
Posts: 795
Joined: 15 Mar 2011, 16:59

[B3.1][MS] 'wait' calls cause time incoherences if finishing

Post by TGYoshi »

The 'wait' statement in maniascript ( wait(condition); ) causes time incoherence if a player crosses a finish (mainly), or at least a multilap start/finish block. The player gets banned right after.
This can be fixed by using while(condition) { yield; }, which does not ban the player if this occurs.

This occured in my case when a match ends, all players are being unspawned but because of lag the player still crosses a CP in the meantime, causing those bans.
=3
User avatar
haenry
Halloween Mapper 2011
Posts: 1642
Joined: 15 Jun 2010, 12:18

Re: [B3.1][MS] 'wait' calls cause time incoherences if finis

Post by haenry »

This is very annoying! A fix would be nice :thumbsup:
A nice person is a better person!
Did you participate in a Monthly Track Contest yet?
My Maniaplanet maps!
aborttrap
Posts: 54
Joined: 03 Oct 2011, 01:52
Location: NSW, Australia
Contact:

Re: [B3.1][MS] 'wait' calls cause time incoherences if finis

Post by aborttrap »

Happened to me while testing my own mode script on a friend's server with lag - a fix would be lovely :)
Locked

Return to “Trackmania² Canyon Reports”

Who is online

Users browsing this forum: No registered users and 0 guests