Server Help

ASSS Questions - Ball and shipchange

Dr Brain - Thu Jul 28, 2005 10:03 pm
Post subject: Ball and shipchange
Players can warp with the ball if they shipchange right as they get the ball. It ends up with them when they spawn back to the center of the map.
BlueGoku - Thu Jul 28, 2005 10:50 pm
Post subject:
That's not an ASSS bug, that's a Continuum bug. Hopefully priit will fix it with the .39 full release.

Something that can probably be done is adding a module that doesn't allow a player with the ball to ship change.
Mine GO BOOM - Fri Jul 29, 2005 12:20 am
Post subject:
BlueGoku wrote:
Something that can probably be done is adding a module that doesn't allow a player with the ball to ship change.

The real problem is, is that you request a ship change, but it takes ~100-300 ms on a normal player. During that time, you could request to pickup the ball, and the server will give it to you.

There are three practical ways this can play out.
  1. You ship change, and while waiting to get the accepted packet, you pickup the ball. Before you get the accepted ball, you change ships, and at your new location, you'll have the ball.
  2. You pickup the ball, then decide that you don't like your ship, and change ships. You'll be at a new location, but the ball will be where you were.
  3. You try to do either of the above, but because of out-of-order packets, the other happens.

The best solution is to wait for a client change. Whoops, thats not happening. Its not on the MUST DO list that Priit has for getting 0.39 out. The second best is to have the server deny or correct one of the above actions. After a ship change, you could ignore ball/flag requests for X amount of time. But during that X amount of time, that person could have technically done right (change ships, at new location, flag/ball there). A way to fix this is to check positions. You know that if he ship changed, he can't be up at J4 that fast. Oh wait, he could (attachment, spawn location, etc). You could wait for him to issue a position packet, but that will cause the ball to phase for 100-300 ms, or however long his lag or your waiting time is.

In any case, you are either screwing players, screwing the ball game itself, or causing lag time of the ball (or flags, same applies to them in all these cases, turf or warzone) for however long you have a timer or for however long a player lags for. You could setup an option so a server operator could choose, which would be the second best fix, since fix #1 isn't happening anytime soon.
Bak - Fri Jul 29, 2005 1:05 am
Post subject:
I solved this by having an alternate spawn location where players are warped first, then warped to their real spawn location. If a player who's carring a ball is in this location, set the ball back to where he said he picked it up from. The quickness of the warping (after the first position packet from it is received) is hardly noticable, and since it's ASSS and not bots it's not like players will end up trapped in the spawn area.
BlueGoku - Fri Jul 29, 2005 9:57 am
Post subject:
Can you set that up in ASSS HZ too, Bak?
Anonymous - Mon Aug 01, 2005 3:29 am
Post subject:
I suppose...
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group