Page 1 of 2

Client crashs during combat

Posted: Fri Feb 18, 2005 4:12 am
by One Salient Oversight
I've been having a really annoying problem. Quite often the client will crash and freeze up as my character is slicing his way through bad guys. If I keep from combat for about 10 minutes, everything seems okay.

Important info:
* I only play localhost with my PC
* I have been playing for about 2 months so my client and server are relatively recent releases. How do I find out?
* Mandrake Linux 10.1 OS
* P3-500, 384mb RAM, 40gb HDD

ALSO:

Sometimes when I'm playing everything slows down. According to my Gnome system monitor I am using upwards of 50mb of Swap. This is annoying because I have 384mb RAM and only about 277 is used. Why can't it use RAM rather than Swap? Is there any way of modifying the server settings for this?

Re: Client crashs during combat

Posted: Fri Feb 18, 2005 4:37 am
by cavesomething
One Salient Oversight wrote: * I have been playing for about 2 months so my client and server are relatively recent releases. How do I find out?


help-> about
for the client

and

crossfire -v
for the server

unless you compiled from CVS in which case you should know anyway.

As for the rest of your problem, I don't know.

Posted: Fri Feb 18, 2005 5:49 am
by Leaf
Are you playing with sound enabled?

Disable sound (in GTK, client -> configure -> general) and see if that helps.

Posted: Fri Feb 18, 2005 1:15 pm
by cavesomething
Ah yes, /me remembers sound - switched it off months ago.

There is some issue with the sound support atm, haven't really paid much attention to the details personally, but the devel-list thread is archived here

http://shadowknight.real-time.com/piper ... 08138.html

you might find it interesting....

Posted: Fri Feb 18, 2005 3:28 pm
by Mith
slowing down? mmm, some older versions of the client have a memory leak. you likely experience that. (does the memory used by X increase enormously when playing?)

if not, then try to type 'clearinfo on a regular basis. it seems gtk allocates memory dynamically, which cost time and cause the client slowdown when there is a lot of text

Posted: Fri Feb 18, 2005 9:21 pm
by bort
Some people have trouble compiling the newer client.
/me curses linux-isms
I use BSD, and sometime I patch the client to build. Others, dont know how to, and may need to build their own client.

Posted: Fri Feb 18, 2005 9:22 pm
by Mith
i doubt mandrake has your BSD troubles, so he might be able to build his own client :)

Posted: Fri Feb 18, 2005 9:31 pm
by bort
The answer to the swap problem is simple; LEARN HOW MEMORY WORKS.
Also, build SDL image support into the client. That stops the leak.
use a memory management program that allows you to delete the semaphores and unused segments that are in use.

Posted: Fri Feb 18, 2005 9:49 pm
by Rednaxela
bort wrote:Also, build SDL image support into the client. That stops the leak.
My memory still leaks some with SDL turned on. I can cause the system to run out of memory completely (1GB of swap and 512MB ram) by rapidly inscribing in books with a keybinding till the book is full, then repeating for another few books that there goes all my memory :(

Posted: Sat Feb 19, 2005 12:54 am
by Mith
download cvs and compile. its not that hard ;)

my client only slows down when i get spammed by a lot of 'you kill foo' or 'your pet hits bar'
this is not due to a memory leak, but rather due to gtk's memory allocation

@bort most users are users, not ppl that can spent their lives on learning how their system works :twisted: