spybug bug
Unfortunately, ive been getting crashes when i shoot up spybugs.
I thought my build fixed it, as i was shooting them freely, but again, my game just crashed when i killed one.
Thoughts? ideas?
// Find all objects in &extents that are of type typeMask
void GridDatabase::findObjects(U32 typeMask, Vector<DatabaseObject *> &fillVector, const Rect &extents)
{
S32 minx, miny, maxx, maxy;
F32 widthDiv = 1 / F32(BucketWidth); //<----ERROR//
minx = S32(extents.min.x * widthDiv);
miny = S32(extents.min.y * widthDiv);
maxx = S32(extents.max.x * widthDiv);
maxy = S32(extents.max.y * widthDiv);
//this was the last action performed before the spybug blew up
this = (Zap::GridDatabase * const) 0x831c0c
typeMask = 4294967295
fillVector = (class TNL::Vector<Zap::DatabaseObject*> &) @0x2e3db0: {mElementCount = 0, mArraySize = 0, mArray = 0x0}
extents = (const Zap::Rect &) @0xbffff31c: {min = {x = -507.039062, y = -655.46875}, max = {x = 692.960938, y = 244.53125}}
Breakpoint 'GridDatabase::findObjects(U32 typeMask, Vector<DatabaseObject *> &fillVector, const Rect &extents) - Line 97' hit with arguments :
// this is me blowing up the spybug
this = (Zap::GridDatabase * const) 0xc
typeMask = 32768
fillVector = (class TNL::Vector<Zap::DatabaseObject*> &) @0x1863f50: {mElementCount = 0, mArraySize = 0, mArray = 0x0}
extents = (const Zap::Rect &) @0x237c98: {min = {x = 0, y = 0}, max = {x = 0, y = 0}}
Program received signal: “EXC_BAD_ACCESS”.
The Bug has nothing to do with the level itself. It happens when you connect to a server, other than your own hosted server. Even your own dedicated server will produce this problem.
Users browsing this forum: No registered users and 6 guests