Is your Client Crashing? This might fix it...

Requests for assistance and other HOWTOs.

Moderator: Board moderators

woo
Senior member
Posts: 427
Joined: Tue Jun 15, 2004 10:32 pm
Location: Atlanta, GA
Contact:

Is your Client Crashing? This might fix it...

Post by woo »

If your client is crashing when you first startup it might be due to a problem with the metaserver and bensnoodle -- long story :-)

For now, you can get around this by adding the -server option, so to connect to metalforge it would be:

/path/to/your/client -server crossfire.metalforge.net

This will work for cfclient and gtkclient
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

or you could build a client from latest CVS, MWedel committed a patch that should work around the problem.
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

cavesomething wrote:or you could build a client from latest CVS, MWedel committed a patch that should work around the problem.
*Looks at the CVS* ah, very recent, only 13 hours ago from right now.
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

OR wait for a coder to package the CVS into a .deb or .rpm for you. :P
I prefer source builds myself.
lordyoukai.DA
My wraith is cooler than your dragon.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

That reminds me, I should get round to making myself a client slackbuild script....
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

CVS is not always the best way to get a client. Sometimes code changes, especially with os-specific code, is checked in, and you need to figure a route around the os-specific code. E.G. linux uses getcurrentdirectory() while BSD uses getcwd(). And you have to change it. :?
lordyoukai.DA
My wraith is cooler than your dragon.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Yeah, but BSD people know that, so act accordingly, Linux people don't but it doesn't affect me when *BSD breaks, so I am not overly bothered....
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

'ey,
this is a very common problem. And since when do the FreeBSD'ers actually use CVS on their crossfire-client port? :evil:
lordyoukai.DA
My wraith is cooler than your dragon.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

Still, it is nothing like the changes that need to be made to port to a windows system....

Code: Select all

$grep -iR ifdef\ FREEBSD* * | wc -l
      2

 $grep -iR ifdef\ win32* * | wc -l
     37

certainly I know the 'ifdefs' that are most invasive and distracting when trying to read the source code.....

not to mention

Code: Select all


$wc -l crossfire/include/win32.h
    138 crossfire/include/win32.h

$wc -l crossfire/server/win32.c
    160 crossfire/server/win32.c

bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Perhaps the gtk client should be split up into Unix and Windows? A Windows project because it requires a lot of ifdefs and code changes, Unix because it can be more X oriented, etc,.
lordyoukai.DA
My wraith is cooler than your dragon.
Post Reply