Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » FDS Crash
FDS Crash [message #484487] Mon, 18 November 2013 15:12 Go to previous message
Neijwiert is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Did TT make any changes to Flamers vs Infantry?
Next Topic: 4.0 Server settings question
Goto Forum:
  


Current Time: Sun Dec 22 16:39:45 MST 2024

Total time taken to generate the page: 0.00700 seconds