Creating A Lua Injector

Apr 16, 2015 at 5:11pm
Hi everyone
I'm still learning C++ and i was wondering whats next after the basics.(What sort of projects)

I have decided after im done with the basics i want to start on a game injector which could potentially inject lua scrips into a game or a application.

How would i go about doing this ?
For example what kind of libaries would i use ?

Also please don't think im trying something illegal as i will be using it on applications where i have permission.
Apr 16, 2015 at 5:11pm
Thank you for any replies or advice
Apr 16, 2015 at 6:49pm
Bump please help
Apr 16, 2015 at 6:52pm
You can't 'inject lua scripts' unless the application actually uses lua scripts in the first place. You are asking to give cancer to plants.
Apr 16, 2015 at 6:57pm
That's what I mean I want to inject lua into a game which already uses it I know a couple.
My only question is how would I get about doing this?
Like the type of libraries I have to use ?
Apr 16, 2015 at 7:09pm
It depends entirely on each specific case. In some cases you need not write any code. In other cases it may still be impossible or increasingly difficult.
Apr 16, 2015 at 7:10pm
http://www.popsci.com/article/science/ask-anything-do-plants-get-cancer

That is all xD

edit: popsci = most legit source
Last edited on Apr 16, 2015 at 7:11pm
Apr 16, 2015 at 9:57pm
That's what I mean I want to inject lua into a game which already uses it I know a couple.


Err... if the game already uses Lua, then there's nothing to inject. Just write some scripts for it.
Apr 17, 2015 at 7:00am
@Disch it's kinda hard to explain
The game uses lua as scripting it's a game where others can make there games for others to play
I want to make a lua injector to inject lua code of my own to a players game such as admin commands

I seen it done before and was lucky enough to look at its source code a it looked like it had to search for its process and hook it up
Apr 17, 2015 at 8:10am
If the player's games are written in Lua, can't you just modify the Lua? I mean it's stored as plain text, right?
Last edited on Apr 17, 2015 at 8:11am
Topic archived. No new replies allowed.