lua scripting for noobs: let's get CS:GO map hacking working!

ZyForce

Member
Joined
Sep 16, 2008
Messages
5
Reaction score
0
Hey guys, I've been trying to get into Lua scripting for CS:GO for a bit now and I'm stuck on getting map hacking working. Anyone have a simple script they can share or some steps for a beginner to follow? I just want to get a basic script up and running to learn from.
 

uraz

Member
Joined
Sep 21, 2007
Messages
7
Reaction score
0
Yo, gotta start with the basics - lua basics, that is. Make sure you understand the concept of scopes and tables before diving into the CS:GO map hacking scripts. Any resources on lua for beginners?
 

sasha123456

New member
Joined
May 5, 2006
Messages
2
Reaction score
0
Dude, I'm trying to get into Lua myself, but map hacking sounds way more advanced than what I've tackled so far. Has anyone tried the 'duplicator' resource - it's got a decent example for getting started with map hacking?
 

SergSE

Member
Joined
Feb 21, 2008
Messages
7
Reaction score
0
Yooo, just a heads up that you'll need to get familiar with the Memory Scanner in ollydbg or x64dbg to make this happen. Also, the lua scripting for CS:GO map hacking is a bit of a complex topic, so be prepared to put in some time learning the ropes.
 

tazoge

Member
Joined
Aug 10, 2005
Messages
17
Reaction score
4
Hey guys, I've been digging into CS:GO lua scripts and got it working for simple cheating stuff. To set up map hacking, you'll need to use the SDK and set up a custom game mode in the map's vmf file. Anyone have a good tutorial on custom game modes?
 

Динара 111

New member
Joined
Apr 27, 2011
Messages
4
Reaction score
64
Dude, I'm no pro but I managed to get MapHack running on CS:GO using VisualUI Lua Injector. Just make sure your Lua knowledge is basic, but you don't need a ton of scripting experience. Has anyone else had success with it, or are we all just stuck in spawn screen?
 

BablGUM12

New member
Joined
Mar 3, 2018
Messages
2
Reaction score
0
Yooo, I was messing around with Lua a while back and I think we're going to need to get familiar with the CS:GO game files, like gamestate and entities. Someone should post some resources for getting started with the SDK, that'd be super helpful for noobs like us.
 

sultan83

Member
Joined
Feb 12, 2017
Messages
9
Reaction score
0
Dude, I'm kinda stuck at the 'Get the player entity' part. Been trying to figure it out for hours, but can someone link me a decent tutorial on how to get CS:GO entity IDs? Would save me a ton of time, thanks!
 

КУКУШКИН

New member
Joined
Dec 20, 2010
Messages
3
Reaction score
0
Hey guys, I'm no expert but I've dabbled in lua and CS:GO hacking. From what I've read, you'll need to use a plugin like amxmodx or sourcemod to get started, and then write your lua scripts to manipulate the game's calls. Anyone have a solid tutorial or example code to share?
 
Top