Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: enemy profiles
Re: New feature: enemy profiles[message #323246] Fri, 26 July 2013 00:49 Go to previous messageGo to previous message
silversurfer

 
Messages:2791
Registered:May 2009
I think it crashes because there was more data read into lpcBuffer than fits into pData.

pData.maxArraySize = NUM_SOLDIER_PROFILES; (which was 100 before)

So if there are 101 or more profiles in the XML the game will try to put that into a 100 field array which will overwrite some foreign data.
Maybe you should put a comment in the XMLs so people know where the limit is.

Report message to a moderator

Lieutenant
 
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: Deleted feature: poison system
Next Topic: New feature: Campaign History
Goto Forum:
  


Current Time: Mon Dec 02 17:43:20 GMT+2 2024

Total time taken to generate the page: 0.01248 seconds