(03-17-2018 - 06:31 PM)Wesley_Marcos Wrote: (03-17-2018 - 05:48 PM)marchsofia05 Wrote: Works?. I think we have a problem with 0x10020000... isn't a free memory location. I think it is a BLES free memory space... not for XBOX. Maybe I have a bad assumption. Explain:
At this point:
int *entitiesPoolMemory = (int*)0x10020000;
int count = worldGetAllEntities(entitiesPoolMemory);
... xbox freezes exactly when exec worldGetAllEntities. I tested it, poor xbox restarts are killing her:(
Another idea?
oh yeah
Free Space XBOX: 0x83DBAE00 and 0x83DDCD08 try with this
Free Space PS3: 0x10020000
I was driving to craziness... both was in invoker.h. Sometimes is best to find in the code instead of Google... :(
//The two other addresses here 0x83DBC000 and 0x83DBAE00 are just free space so arguments can be wrote
void ResetArgs()
{
NativeArg->ArgCount = 0;
NativeArg->ReadCount = 0;
NativeArg->ArgValues = (int*)0x83DBAE00;
NativeArg->ReturnValue = NativeArg->ArgValues;
}
Now I will test both, and will confirm. Thanks!!