How are you going to assign anything into the last parameter its a const.?
const out array<byte> FileContents
when you make a call to that function and input the id and name what do you log in the last parameter coming out, does it already have info in it if the right id and name is put into it?
I think if you put in the id and the name it’s going to spit out the proper info in the out parameter?
However the problem with this is if the file contents is greater than 1,000,000 characters long, it will trip-up the infinite-loop protection and crash the engine.
Any ideas? There must be some native handling for this somewhere…
@ there’s a setting somewhere that lets you tell the engine how many calls to the same function to tolerate. I had to increase that to stabilize my pathfinding algo.
And thanks for telling us about the CloudStorageBase class. I was thinking about doing cloud saves, but I just didn’t want to mess with that yet. I’m sure this will help when I get around to it.
when you make a const out parameter, you’re actually just telling the engine “Don’t make another copy of this variable. I’m not going to change the information held inside it. I just want to look at the data while this function is running.” It’s a best practice for minimizing memory usage and making the game run faster.
That’s pretty amazing that one of your players made that. It feels good to see people having fun with something you made.
I responded to your other post about this. But I’ll post here too just in case some future UE3 user needs the answer: You need to set RUNAWAY_LIMIT and RECURSE_LIMIT in UnCorSc.cpp.