lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Hello guys!
I really hope that my questions are not too interfering here but I can't seem to get around this issue here. As I already stated in a previous email, I am trying to hack a game in order to extend the built-in functions for game modders.

Although I succeeded in stealing the lua_State object, the problem is that


is always NULL. I've now injected my code into a user-level function (dofile to be specific) as I was being advised on stackoverflow [1]. At this point I would have expected all thing to be properly set but still this particular field of the struct is NULL. The question here is how this could be the case and whether here is somebody who can help me with this issue.

Really hope to hear from somebody who can help me here. Thank you in advance!

BR; Stefan

PS: Don't forget to check out [1]