Page 1 of 1

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

Posted: Sat May 23, 2009 5:46 am
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)

Posted: Thu May 28, 2009 6:11 pm
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

Posted: Fri May 29, 2009 5:25 am
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]

Posted: Sat May 30, 2009 2:19 am
by One Salient Oversight
Got it. The command line is:

'gcfclient' -server localhost -popups