Anmeldungsdatum: Aug 2007
Beiträge: 1957
|
Kategorie: Tools Entwickler: reactiioN'
Beschreibung: Standalone application which allows you to write (external based) hacks in lua and execute them. There will come an overlay with drawing functions and dynamic font wrapper when I have some more free time.
Installation:
- Download the repo
- Extract the lua531_windows_files archive and follow the introductions from readme
- Move the lua5.X.X.dll into your executable path
Github: Um Links zu sehen, musst du dich registrieren
List of supported API's:
TEXT Code: /* - Base API - Type: UserAPI Wrapper */ + RegisterCallbackFunction + int BitBand( Bit, Flag ) + int GetKeyState( Key ) + Include( pfad ) + Sleep( Time ) /* - Class: CVarSystem - Type: Wrapper */ + bool CVar.RegisterCVar( Name, value ) + bool CVar.GetBool( Name ) + float CVar.GetFloat( Name ) + int CVar.GetInt( Name ) + bool CVar.SetValue( Name, value as bool or number ) /* - Class: File - Type: UserAPI Wrapper */ + bool File.GetBool( AppName, KeyName, File, optional default_value ) + float File.GetFloat( AppName, KeyName, File, optional default_value ) + int File.GetInt( AppName, KeyName, File, optional default_value ) + bool File.WriteBool( AppName, KeyName, File, value ) + bool File.WriteFloat( AppName, KeyName, File, value ) + bool File.WriteInt( AppName, KeyName, File, value ) /* - Class: RemoteProcess - Type: Wrapper */ + bool Process.RegisterModule( ModuleName ) + int Process.FindSignature( ModuleName, Signature, ExtraOffset ) + int, int Process.GetModuleData( ModuleName ) + bool Process.SendMessage( Msg, WPARAM, LPARAM ) + bool Process.ReadBool( Address ) + int Process.ReadByte( Address ) + float Process.ReadFloat( Address ) + int Process.ReadInteger( Address ) + bool Process.WriteBool( Address, value ) + bool Process.WriteByte( Address, value ) + bool Process.WriteFloat( Address, value ) + bool Process.WriteInt( Address, value )
Example (for source engine, base module init):
TEXT Code: local firsttick = true function MainCallbackFunction( ) if( firsttick == true ) then print( "print from MainCallbackFunction" ) firsttick = false end end if( Process.RegisterModule( "client.dll" ) == true and Process.RegisterModule( "engine.dll" ) == true ) then local ClientBase, ClientSize = Process.GetModuleData( "client.dll" ) print( string.format( "found client.dll at 0x%X, size: 0x%X", ClientBase, ClientSize ) ) local EngineBase, EngineSize = Process.GetModuleData( "engine.dll" ) print( string.format( "found engine.dll at 0x%X, size: 0x%X", EngineBase, EngineSize ) ) if( ClientBase ~= 0 and EngineBase ~= 0 ) then RegisterCallbackFunction( "MainCallbackFunction" ) end end
Important: for usage you need the lua5.X.X.dll
Download: Lua Script Engine
|