Game Development Community

Playing offline : No go

by BusError · in ThinkTanks · 05/14/2003 (5:12 am) · 5 replies

My DSL line went down a few hours yesterday, so being unable to play online I created a an online game offline with a new nasty bots in.

Result is that it's impossible to play. Apparently it tries to contact a master server, fail and *locks up* the game for like 10 seconds every 2 minutes or so. So overrall playing is pretty much impossible.

So, I think we need an urgent "I'm offline" checkbox so it doesn't try to do that! Poeple playing on their iBooks offline must hate that!

#1
05/14/2003 (6:44 am)
hmm, aside from rewriting part of the code (which is always an option), or adding an 'offline' checkbox as you suggest (actually, a don't-contact-master-server checkbox), not sure what else could be done. I'm wondering if there isn't already an option to turn off master-server-pings. Clark or someone, ideas?

d
#2
05/14/2003 (7:24 am)
Try findign the following line in game/server/prefs.cs:

$Pref::Server::DisplayOnMaster = "Always";

And changing it to:

$Pref::Server::DisplayOnMaster = "Never";

This should prevent you from accessing the master server when creating a game. BTW, this is what quick play does automatically, so that's another option (although it also uses the standard bots, so you'd lose your nasty bots).

We did not create a checkbox for this but will consider it in the future.

Thanks.
#3
05/15/2003 (10:16 am)
I actually have been playing on an iBook, and have had no trouble whatsoever playing online games offline with bots.
#4
05/16/2003 (4:29 pm)
Maybe it's the difference of knowing you don't have a physical net connection (ibook) versus thinking you do have a connection and trying (synchronously) to get to a server (DSL).

The code could use revision, though a linux box probably does something similar under similar circumstances (we share a lot of netcode).

That pref should help -- let me know if it doesn't!

Thanks,

- David Chait
Torque Mac Guy
#5
01/08/2004 (12:58 pm)
-BUMP-