lewisclark / glua-steal

Retrieves client-sided Lua files from Garry's Mod game servers
GNU General Public License v3.0
154 stars 15 forks source link

After downloading .dll file and following instructions, I've noticed that I don't have "gluasteal" file at all. #20

Closed CubicalMayhem closed 3 years ago

CubicalMayhem commented 4 years ago

I am so f*cking angry that I do third try to play with cheats in a row, and I am getting random issues again. As I undestand, "/username/" means your nickname in OS (my name is user). https://youtu.be/tP2ZWv09898

lewisclark commented 4 years ago

Can you give all the information you can?

CubicalMayhem commented 4 years ago

I didn't meet any crashes during injecting. I didn't find the way how to see game's version (but my OS is 64bit). Latest version and 64 bit. Process Hacker 2 Gluasteal v1.9 .

CubicalMayhem commented 4 years ago

Shall I speak with you at any social platform? I'd like to show you up my screen with discord because I really want to solve it. What can I do to solve it? Will it work if I recreate all folders with my hand to trick system?

lewisclark commented 4 years ago

Try this first:

CubicalMayhem commented 4 years ago

And watch if file appeared?

CubicalMayhem commented 4 years ago

ggggggg Yay. I leave this discussion open because I want to finish it till the end. Thank you

CubicalMayhem commented 4 years ago

What if I have only "log" folder inside?

lewisclark commented 4 years ago

There is only a single log file. All logs go into the same file. A 'servers' folder will be created when you join a server.

lewisclark commented 4 years ago

https://github.com/lewisclark/glua-steal#lua-loader-load-before-autorun Create a file called gluasteal.lua in your gluasteal directory, where the log file is.

lewisclark commented 4 years ago

No. Create a file, not a folder called gluasteal.lua in your gluasteal directory, where the log file is. Put all of the Lua code you want to run in gluasteal.lua.

CubicalMayhem commented 4 years ago

Will it work if I rename cheat lua file in "gluasteal.lua"? asdasdasdasdasdasdasdasdasda

lewisclark commented 4 years ago

Yes. That is the only file that is loaded.

CubicalMayhem commented 4 years ago

Thanks, it works. Hope I will not have surprises like viruses from DLL, however I hope that I picked right man.

CubicalMayhem commented 4 years ago

Last question. Can this dll bypass server's anticheat?

lewisclark commented 4 years ago

You can always compile the dll from source code if you're worried. No, any trivial anti-cheat can detect this. However, it is possible to write an anti-cheat bypass in the gluasteal.lua file because it loads before the anti-cheat does.

CubicalMayhem commented 4 years ago

Welp, my cheat launches automaticly (I think it is work of your dll). Does it mean that I can join to server freely? However I don't see any signs of loading cheat in lobby.

CubicalMayhem commented 4 years ago

Also I found a bug, that dll loads cheat to many times and it forces cheat to open a lot of client settings windows. Could you help me? Also loader is great, but my soul is still worried about no to get ban on my favorite server.

x4fx77x4f commented 4 years ago

Also I found a bug, that dll loads cheat to many times and it forces cheat to open a lot of client settings windows.

This is because the gluasteal.lua file is run every single time any Lua code is executed.

Using the gluasteal global functions documented in README.md, you could check that the current file is includes/init.lua, which is the first file that will be executed when you join a server according to this article on the Garry's Mod Wiki.

You could also abort if a certain global variable exists, and then create it once you've loaded. Keep in mind that any anti-cheats on the server will be able to detect the foreign global variable, and also that the environment your script will run in is recreated every time it's run, so you'll need to use _G to do it that way.

You should really only be using glua-steal if you are familiar with Lua, but since I feel like being nice:

if gluasteal.SCRIPT == "includes/init.lua" then
    -- your code here
end

I haven't tested this, but it should work.

Also loader is great, but my soul is still worried about no to get ban on my favorite server.

If it's your favorite server, don't cheat on it. glua-steal is easily detectable by default (if you are using the Lua loader), it's only made undetectable if your code is able to hide itself from the anti-cheat. Even if your cheat is undetectable, why would you want to cheat on your favorite server? I totally understand the interest in cheating, but it might be your downfall.

CubicalMayhem commented 4 years ago

Thank you! I am bad at lua because I am new here. I am sorry for such stupid for you questions (I am really bad at it sphere and I didn't find any guides about it).

Where should I put this script? Which folder? if gluasteal.SCRIPT == "includes/init.lua" then -- your code here end

Is "-- your code here" means my cheat name (i renamed my cheat in gluasteal.lua)?

Does anticheat detects dll cheats (I think they are different)? I must put this text with cheat lua name in Could DLL cheats "hide" you from anticheat?

I don't think that anticheat can see non lua based cheats.

I want to say that it might be my last questions and I will close this title (when I solve them). I apologize for pain which I dealt while I was speaking with you.

x4fx77x4f commented 4 years ago

I am bad at lua because I am new here.

By chance, Lua is a good choice for a first programming language to learn. Lua is simple in comparison to other languages, and Lua scripts vaguely resemble plain English due to the use of keywords instead of, say, braces.

Is "-- your code here" means my cheat name (i renamed my cheat in gluasteal.lua)?

I'm not sure if "cheat name" is supposed to refer to the cheat's code or literally its name. https://en.wiktionary.org/wiki/name#Noun https://ru.wiktionary.org/wiki/name#Значение

Put your code there. Either put everything in your cheat file there, or use gluasteal.include to run it that way. Again, you should really know Lua before using a tool like this, but since my patience hasn't run out for today: If your cheat is in gluasteal.lua, then put if gluasteal.SCRIPT == "includes/init.lua" then at the very top before everything else, and end at the end after everything else. If your cheat file is in some other file (for example: example_filename.lua), your gluasteal.lua file should look like this:

if gluasteal.SCRIPT == "includes/init.lua" then
    gluasteal.include("example_filename.lua")
end

Does anticheat detects dll cheats (I think they are different)?

If you don't use the Lua injection feature of glua-steal, glua-steal is undetectable (as far as I know). If you do use the Lua injection feature, it is detectable unless the cheat has code specifically to prevent detection.

Could DLL cheats "hide" you from anticheat?

An external tool like this could do all of the hard work of making your Lua code undetectable for you, but this particular tool does not.