Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » The_Game()->MVPName
Re: The_Game()->MVPName [message #356291 is a reply to message #356287] Wed, 29 October 2008 12:14 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
halo2pac wrote on Wed, 29 October 2008 19:03

if you take out the printf it doesnt crash.

Its just that MVPName is supposed to be null. Becuase there was no mvp. But instead its...

Dante

reading the memory space of where the "mvp name" is supposed to be.



No, actually it's a WideStringClass and cannot be null.

It's crashing at the printf because Data->CurrMap is an std::string. Not a C string.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Edit_
Next Topic: Sound bug
Goto Forum:
  


Current Time: Fri Feb 28 16:40:16 MST 2025

Total time taken to generate the page: 0.01023 seconds