OutdatedIn-Game Executer

Posts 1–6 of 6 · Page 1 of 1
In-Game Executer
Hey guys, i found myself being annoyed with doing the injection method multiple times so i created a simple script (bashed together from an older one of mine) to make it so you can execute scripts ingame after you inject with cheat-engine

Script
Code:
if (!isnil "keypress_exec") then 
{
	(findDisplay 46) displayRemoveEventHandler ["KeyDown", keypress_exec];
};

hint "Press Insert";

keybindings_exec =
{
	switch (_this) do 
	{
		case 210: // INSERT
		{
			closeDialog 0;
createDialog "RscDisplayPassword";	

sendtxxt = 	
	{
	_Shad0wt3xt = ctrlText 101;
	execVM format["%1",_Shad0wt3xt];
	titleText [format["""%1"" Executed.",_Shad0wt3xt],"PLAIN DOWN"]; titlefadeout 4;
	};	


	
	disableSerialization;
	_Shadowyfaz3d = findDisplay 64;
	_wutzintehb0x =  _Shadowyfaz3d displayctrl 101;
	_Faz3dText =  _Shadowyfaz3d displayctrl 1001;
	_showtxt = _Shadowyfaz3d displayctrl 1;
	_g0b3ck = _Shadowyfaz3d displayctrl 2;
	
	
	_g0b3ck ctrlSetText "Close";
	_wutzintehb0x ctrlSetText "XXX.sqf";
	_wutzintehb0x ctrlSetTextColor [1, 0, 0, 1];
	_showtxt ctrlSetText "Execute";
	_showtxt buttonSetAction "call sendtxxt";
	_Faz3dText ctrlSetText "File Path:";
	
		};
	};
};

waituntil {!isnull (finddisplay 46)};
keypress_exec = (findDisplay 46) displayAddEventHandler ["KeyDown", "_this select 1 call keybindings_exec; false;"];

Steps:

1. Use Lystics Method of injecting with cheat engine

2. In your hint.sqf place the code above

3. Follow lystics instructions to inject in-game

4. When your done, you should see a hint come up saying Press Insert

5. Press Insert and type your script filepath in (ex. menu\spawn.sqf) BE SURE TO INCLUDE .sqf!

ScreenShot:
what does this do ., sry new at these stuff
Quote Originally Posted by abcsefg View Post
what does this do ., sry new at these stuff
Once injected with lystics method this will allow you to execute scripts from in the game instead of tabbing out to use cheat engine again
Well written Fazed.
Didn't had the time to make a post before but well done shadowyfaze! +1
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us