(11-08-2011, 12:48 PM)rs2k Wrote: [ -> ]Is Squirrel not compatible with 64 bit systems?
Yes it is, but I think you need to compile with different arguments
Hey,
Client still crashes doesnt seem to be anything in my code so far i can see.
Code:
void cChicken::KilledBy( cEntity* a_Killer )
{
//1 raw chicken
cPickup* pRawChicken = new cPickup( (int)(m_Pos->x*32), (int)(m_Pos->y*32), (int)(m_Pos->z*32), cItem( E_ITEM_RAW_CHICKEN, 1 ) );
pRawChicken->Initialize( GetWorld() );
//0 to 2 feather.
int rFeather = rand() % 3;
if (rFeather != 0) {
cPickup* pFeather = new cPickup( (int)(m_Pos->x*32), (int)(m_Pos->y*32), (int)(m_Pos->z*32), cItem( E_ITEM_FEATHER, rFeather ) );
pFeather->Initialize( GetWorld() );
}
cMonster::KilledBy( a_Killer );
}
I have a feeling E_ITEM_RAW_CHICKEN might be crashing the client, try replacing it with another feather to see if it's the code or not causing it.
Well its not just for chicken but for all animals/mobs that drop multi loot.
With multi loot i mean 2 dif items.
Edit and how can i set the health of a mob/animal ?
Well,
thats true, But still would love to see a build for Big or Crash fixes.No crash for me yet but some small bugs.
Running server on windows xp sp3 btw.