Problem using the lua api
#1
I'm busy working on a channel manager right now to simplify handling custom packets encapsulated within what we call plugin messages. However, I am having trouble with the lua api.

My manual binding, which can be found here, checks to see if the third argument is a valid function, which it is and it passes the check fine. However, when cPlugin::Call tries to use the stored function ref, cLuaState::PushFunction(int a_FnRef) fails because it says it is not a function.

What am I doing wrong?
Reply
Thanks given by:


Messages In This Thread
Problem using the lua api - by SamJBarney - 07-24-2015, 02:09 AM
RE: Problem using the lua api - by SamJBarney - 07-24-2015, 03:02 AM
RE: Problem using the lua api - by xoft - 07-24-2015, 04:48 PM
RE: Problem using the lua api - by SamJBarney - 07-25-2015, 04:32 AM
RE: Problem using the lua api - by xoft - 07-25-2015, 05:08 AM



Users browsing this thread: 2 Guest(s)