Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Topic started by: T3RR0R15T on January 01, 2011, 06:19:44 PM
-
I've tested tripping on our speed server, but it doesn't worked. No message, no function.
It is a build 31 linux server with 26 players.
-
I don't remember, but I may have gotten rid of it because it was a setting nobody used or cared about.
-
Hm, I guess it's still in there. I just tried it locally and it appeared to work.
-
I tested it with bots and players.
25 bots + me: works
26 players: doesn't work
-
I don't see anything that would cause it not to work when there are other players. The logic is pretty simple:
if (tripping->value)
{
xyspeed = sqrt(ent->velocity[0]*ent->velocity[0] + ent->velocity[1]*ent->velocity[1]);
if (ent->groundentity && !pm.groundentity && xyspeed > 450 && CanInteract(ent))
{
if (!ent->client->always.verbpref) // jit - verbose
safe_cprintf(ent, PRINT_MEDIUM, "You've tripped... (Slow down!)\n");
ent->velocity[0] = 0;
ent->velocity[1] = 0;
ent->velocity[2] = 0;
if (pm.cmd.upmove > 0)
pm.cmd.upmove = 0;
}
}
-
At the moment it works with a b32 server. I'll have a look at it in the next time.
Maybe it was the same thing, that made the global login not working on the speed server, a few weeks ago (where we played on sphouse). That was away after 3 or 4 server restarts.