Author |
Message |
Tommyhawk Newbie
Joined: Jul 14 2004 Posts: 14 Offline
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Mon Jul 26, 2004 11:14 pm Post subject: |
 |
|
|
|
Something is likely going out of bounds in the object_array[] or countdown[]. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Mon Jul 26, 2004 11:16 pm Post subject: |
 |
|
|
|
Meh, I was seeing if that could be the problem, pfft.  |
|
Back to top |
|
 |
Guest
Offline
|
Posted: Tue Jul 27, 2004 2:08 am Post subject: |
 |
|
|
|
post the entire source |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Tue Jul 27, 2004 3:08 am Post subject: |
 |
|
|
|
i wonder why you'd need 2000 Player objects anyways?
Definately post up your source code so we can take a better look at it. _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Tue Jul 27, 2004 4:33 am Post subject: |
 |
|
|
|
yah, there is no way you need that many pointers. THere will never be 2k people in one arena. Use a linklist |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Tue Jul 27, 2004 4:39 am Post subject: |
 |
|
|
|
CypherJF wrote: | i wonder why you'd need 2000 Player objects anyways?
Definately post up your source code so we can take a better look at it. |
50% Packetloss wrote: | yah, there is no way you need that many pointers. THere will never be 2k people in one arena. Use a linklist |
Pay attention guys, the player objects are just dummy memory fillers.
Not really adding anything here, but I'd agree with Ekted in that it's most likely an out of bounds. Take a look at where you're accessing them, and if you can't find a problem post your spawn.cpp (and command.cpp?) too _________________
 |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Tue Jul 27, 2004 8:39 am Post subject: |
 |
|
|
|
Or maybe the header files you have don't match the version of merv that you run your plugins with.
Since nothing is a pointer, you could just do 'void *dummy[2000]' which would take the same amount of memory. |
|
Back to top |
|
 |
Tommyhawk Newbie
Joined: Jul 14 2004 Posts: 14 Offline
|
Posted: Tue Jul 27, 2004 4:26 pm Post subject: |
 |
|
|
|
Well I was having this problem for MONTHS and now its gone and I don't know why. I'll probably let you know if it happens again. Thanks for the help anyway. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Tue Jul 27, 2004 5:24 pm Post subject: |
 |
|
|
|
.shrug.
I knew they were just dummy pointers; but still... |
|
Back to top |
|
 |
|