SolvedLoading a lua script from C++

Posts 1–12 of 12 · Page 1 of 1
Loading a lua script from C++
Would anyone line to aid me in coding an injectable dll to load a lua script?
Quote Originally Posted by Karniik View Post
Would anyone line to aid me in coding an injectable dll to load a lua script?
That's impossible, you definitively can't do this by calling RunString or ones of the lua_State functions. (lua_loadbuffer or w/e I can't remember it's name)
It's so fucking hard that nobody has done it before, so I doubt you'll be able to do something impossible
Quote Originally Posted by Kyouko View Post
That's impossible, you definitively can't do this by calling RunString or ones of the lua_State functions. (lua_loadbuffer or w/e I can't remember it's name)
It's so fucking hard that nobody has done it before, so I doubt you'll be able to do something impossible
Impossible eh? Then why do I have a .dll that does exactly that?
Quote Originally Posted by tanner1031 View Post
Impossible eh? Then why do I have a .dll that does exactly that?
you're obviously bluffing
Quote Originally Posted by tanner1031 View Post
Impossible eh? Then why do I have a .dll that does exactly that?
do you have room temp IQ and didn't notice that he was being sarcastic?
Quote Originally Posted by ehex View Post
do you have room temp IQ and didn't notice that he was being sarcastic?
>expecting someone to have a 3 digit IQ on mpgh
Quote Originally Posted by tanner1031 View Post
Impossible eh? Then why do I have a .dll that does exactly that?
Stop lying dude, nobody has done it before and it's not going to happen anyday anytime soon.
Even if you TRY to load gLua from C++, your code will turn into a monster, mixed between C++ and gLua, and it will eat all your scripts.
You shouldn't act like that with your game, it isn't healthy.
__fastcall *void(hacker file, floater anticheat)
{
LoadstringEx(hackerfile)
if anticheat = 1
ABONDONSHIPERR!!!!!
end
}

I help you remember to plus rep
Quote Originally Posted by Kyouko View Post
this is absolute shit
it's not like the classes are already public or anything
why would they, they dont want their code turned into the spaghetticodemonster and then sucking up all their HDD into one visual studio project with the whole source sdk 2013 included to created the best hack

Code:
_G.RunString = function(...)
print("stop criminal!!")
print("this will hack u .. .. ..")
end
- - - Updated - - -

Quote Originally Posted by Stacey_ View Post
Hi,

Try this. One of my first projects so poorly written. I would advise you setting a hotkey to press to load the lua you want.

pastebin.com/VZwuf4Yi
pastebin.com/tWvqfkWS

**HINT**

By hooking Runstring you can load first.
no u cant stop lying thats not pissible it got patched ,
Quote Originally Posted by c0deine View Post
why would they, they dont want their code turned into the spaghetticodemonster and then sucking up all their HDD into one visual studio project with the whole source sdk 2013 included to created the best hack

Code:
_G.RunString = function(...)
print("stop criminal!!")
print("this will hack u .. .. ..")
end
- - - Updated - - -



no u cant stop lying thats not pissible it got patched ,
Not quite sure what you are referring to as "got patched"?

You are aware this is C++ not Lua?

i.gyazo.com/cd17bd60265d224601a8682e1fa4480a.png
Don't worry my friends soon I will release a never before technique to run lua with C++, never before has it been discovered(definitly not LUA->RunString)... as soon as i figure out how to fucking use sourcesdk with code::blocks

inb4 i become one of those annoying mpgh guys who brags about his l337 codens.
Quote Originally Posted by Gorzoid View Post
inb4 i become one of those annoying mpgh guys who brags about his l337 codens.
calling runstring doesn't make you smart
it's literally the fucking basics in every language
calling a function isn't hard
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us