Hi I have a problem,
I have a client-server game and the server sends bytecode to clients, so that all run the same scripts.
However I can't really make it work because my engine relies on script function hooks like:
asIScriptFunction *func = mModule->GetFunctionByDecl( "void DoSomething()" );
After loading byte code there are no functions to get :/
How do I solve this?
Running functions after LoadByteCode
Oh my BinaryStream function was all wrong, my bad. But I got absolutely no errors or warnings about this. The byte code loader should inform that nothing got loaded.
Can you show me what was wrong? I'd like to add validations in the code to catch this scenario.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement