Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Ack server crash

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Sun Oct 29, 2006 11:51 pm Post subject: Ack server crash |

got a weird error with just a simple op code msg STOREP_F 213(?] 730(B546L542) 0.0 any idea what this would be? im thinging its accessing a pointer to a client entity thats invalid, ie. game ends and its in the process of handling data in a link list as a player disconnects ??
:O

Back to top |

Spike Joined: 05 Nov 2004 Posts: 944 Location: UK |

Posted: Mon Oct 30, 2006 7:09 pm Post subject: |

please do three things. 1: give us the sourcecode for the function this occurs in. 2: tell us which qccompiler you are using 3: tell us which engine you are using (not really the engine's fault, but helps for debugging). I believe this most commonly happens as the result of a mismatched type in a function call somewhere, so make sure you fix the warnings your qcc gives (and if it doesn't give any, use frikqcc or fteqcc).
_________________
What's a signature?

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Tue Oct 31, 2006 6:50 am Post subject: |

I'm using Frikqcc, mostly i didnt report the fucntion cause it didnt report on in the error. Though after some tinkering, i have found it to crash again (tonight) in an inbeded linklist like

Code:
xteam = boss.next_team; while (xteam !=world) { player = xteam.next_player; while (player !=world)
{
blah blah
player = player.next_player;
}
xteam = xteam.next_team;
}

i have changed the while to a "for" loop maybe that will help
as the while got runaway loop errors, but only when xteam players were > 5, not sure why cause quake (proquake) crashes after 100,000 iterations for runaway loops

Back to top |

venomus Joined: 24 May 2005 Posts: 44 |

Posted: Wed Nov 01, 2006 11:04 am Post subject: |

Are you sure both linked lists were set up properly? Might help to bprint some info on each iteration and do a condump.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT
Page 1 of 1

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group