FDS Crash [message #484487] |
Mon, 18 November 2013 15:12 |
Neijwiert
Messages: 124 Registered: October 2009
Karma:
|
Recruit |
|
|
Order of Crash:
- Join game
- Purchase refill
- Crash
Crash Type: Access violation
Crash points to: Scripts.dll
I know that it must have been my code, but I really can't find it. This is the code that I have that should get executed on refill:
// Not sure if it executes OnObjectCreate, but just in case
void NTC::OnObjectCreate(void *data, GameObject *obj)
{
Console_Output("A");
NTCPC->OnObjectCreate(obj);
}
bool NTC::OnRefill(GameObject *purchaser)
{
Console_Output("Refill\n");
return true;
}
It doesn't hit either of the Console_Output lines.
I'm out of ideas, can you please help me? I'm willing to hand over the complete source code I use.
I tried:
- Debug Text
- Attaching debugger
- Looking in the crashdump
[Updated on: Mon, 18 November 2013 15:13] Report message to a moderator
|
|
|