Can't play localhost if computer isn't connected to internet

Requests for assistance and other HOWTOs.

Moderator: Board moderators

One Salient Oversight
Luser
Posts: 19
Joined: Wed Jan 05, 2005 2:44 am
Location: Newcastle, Australia

Can't play localhost if computer isn't connected to internet

Post by One Salient Oversight »

My 8 year old son loves crossfire, so I have installed it on my wife's laptop so he can enjoy it rather than him eat up time on my PC.

The problem is that I can't seem to get it to run unless it is connected to the internet. As soon as it is connected, I can run crossfire - but I want to be able to run it without it being connected to the net.

When I start crossfire, the gtk client hangs - it just sits there blankly doing nothing. I can't type in "localhost" in the space provided because it's hanging. Of course, when I'm connected to the net, the client doesn't hang and I can connect to the localhost (as well as external servers but that isn't the point).

I'm sure there's a simple way to solve this. Here's some information on the laptop:

Dell Centrino Laptop
Intel T6400 Dual core 2ghz
3gb Memory
Xubuntu 9.04
(Crossfire server IS installed)
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

When launching the client, try including a|the server you want to connect to.

For instance:

./crossfire-client-gtk2 -server 127.0.0.1
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
One Salient Oversight
Luser
Posts: 19
Joined: Wed Jan 05, 2005 2:44 am
Location: Newcastle, Australia

Post by One Salient Oversight »

That's probably what I need to do.

However the command I put in doesn't seem to like being added to.

The idea is that I create a "launcher" in Xfce and then give it the command. The command I give is '/usr/games/gcfclient'.

This is a screenshot of the process I'm talking about.

So if I need to add something else to the command line, what should it be? I've tried adding 'localhost' and '127.0.0.1' but it doesn't seem to work. If you know what should be in the command line (as per the screenshot above, not an open terminal) can you please paste it below. It should probably read '/usr/games/gcfclient' with something added after it.[/url]
One Salient Oversight
Luser
Posts: 19
Joined: Wed Jan 05, 2005 2:44 am
Location: Newcastle, Australia

Post by One Salient Oversight »

Got it. The command line is:

'gcfclient' -server localhost -popups
Post Reply