Lystical Menu v1.0

Posts 166180 of 350 · Page 12 of 24
actually if anyone is hosting a "cracked" server, it is possible to load in game executer through the server onto selected clients ("AKA" admin executers)

just simply add this code into the mission init.sqf

Code:
//player UIDs of all admins (access to executer)
Admin_List = ["STEAMID64_HERE"];

onClientCreated = {
	_agent = _this select 0;

	if(!isDedicated) exitWith {};

	if((getplayeruid _agent) in Admin_List) then {

		(owner _agent) spawnForClient {
			if(isNil "executeMe") then {
				statusChat ['Admin Executer Initialized...',''];
				executeMe = {_text = (ctrlText 1400);[] spawn compile _text;};
				disableSerialization;
				while{true} do {	
					waitUntil{inputAction "moveRight" > 0};
					createdialog "rscdisplaynote";
					ctrlSetText[1600,"Execute"];
					ctrlSettext[1601,"Exit"];
					ctrlSetText[1300,"Bowen's Script Executer"];
					buttonSetAction[1600,"call executeMe;"];
					waitUntil{inputAction "moveRight" == 0};
				};
			};
		};

	};

};

//Initialize onClientCreated Event
[] spawn {
	if(isNil "RunOnce" && isDedicated) then {
		RunOnce = true;
		_UsedAgents = [];
		while{true} do {
			{
				if !(_x in _UsedAgents) then {
					_UsedAgents = _UsedAgents + [_x];
					[_x] spawn onClientCreated;
				};
			} forEach players;
		};
	};
};

//Initialize Client To Server Execution
"ServerExec" addPublicVariableEventHandler {
	_array = _this select 1;
	_sender = _array select 0;
	_code = _array select 1;
	_sender spawn _code;	
};
then in your code you can actually remote execute code by doing

Code:
ServerExec = [player,{_myPlayer = _this;/*ServerSided Code Here*/};];
publicVariableServer "ServerExec";
THIS IS WORKING IN THE LATEST CRACKED PATCH

i wouldnt mind if someone made a thread for this and just placed me in the credits. I dont feel like creating the thread tho
Quote Originally Posted by Lystic View Post
actually if anyone is hosting a "cracked" server, it is possible to load in game executer through the server onto selected clients ("AKA" admin executers)

just simply add this code into the mission init.sqf

Code:
//player UIDs of all admins (access to executer)
Admin_List = ["STEAMID64_HERE"];

onClientCreated = {
	_agent = _this select 0;

	if(!isDedicated) exitWith {};

	if((getplayeruid _agent) in Admin_List) then {

		(owner _agent) spawnForClient {
			if(isNil "executeMe") then {
				statusChat ['Admin Executer Initialized...',''];
				executeMe = {_text = (ctrlText 1400);[] spawn compile _text;};
				disableSerialization;
				while{true} do {	
					waitUntil{inputAction "moveRight" > 0};
					createdialog "rscdisplaynote";
					ctrlSetText[1600,"Execute"];
					ctrlSettext[1601,"Exit"];
					ctrlSetText[1300,"Bowen's Script Executer"];
					buttonSetAction[1600,"call executeMe;"];
					waitUntil{inputAction "moveRight" == 0};
				};
			};
		};

	};

};

//Initialize onClientCreated Event
[] spawn {
	if(isNil "RunOnce" && isDedicated) then {
		RunOnce = true;
		_UsedAgents = [];
		while{true} do {
			{
				if !(_x in _UsedAgents) then {
					_UsedAgents = _UsedAgents + [_x];
					[_x] spawn onClientCreated;
				};
			} forEach players;
		};
	};
};

//Initialize Client To Server Execution
"ServerExec" addPublicVariableEventHandler {
	_array = _this select 1;
	_sender = _array select 0;
	_code = _array select 1;
	_sender spawn _code;	
};
then in your code you can actually remote execute code by doing

Code:
ServerExec = [player,{_myPlayer = _this;/*ServerSided Code Here*/};];
publicVariableServer "ServerExec";
THIS IS WORKING IN THE LATEST CRACKED PATCH

i wouldnt mind if someone made a thread for this and just placed me in the credits. I dont feel like creating the thread tho

Very interested in this. I added that code to my init.sqf and configured all the correct variables, but for some reason the server is glitching out saying it's maxed players when attempting to join.

Edit: And yes I repacked the pbo after modifying it.

Edit2: After further investigation I used a wrong pbo packer. I was able to get it to work; however zombies and loot are not spawning now. Not sure what's going on.
Quote Originally Posted by kaosnye View Post
Very interested in this. I added that code to my init.sqf and configured all the correct variables, but for some reason the server is glitching out saying it's maxed players when attempting to join.

Edit: And yes I repacked the pbo after modifying it.

Edit2: After further investigation I used a wrong pbo packer. I was able to get it to work; however zombies and loot are not spawning now. Not sure what's going on.
1) Place at the end of the init.sqf
2) place inside a [] spawn {};
Quote Originally Posted by Lystic View Post
1) Place at the end of the init.sqf
2) place inside a [] spawn {};
Ah, thanks.

This code you posted can be used in the client sided script to execute server stuff? Like adding new items to inventories or is this required for the server itself?
Quote Originally Posted by Lystic View Post
ServerExec = [player,{_myPlayer = _this;/*ServerSided Code Here*/};];
publicVariableServer "ServerExec";
Does this work for cracked servers v0.46?
Quote Originally Posted by saifessam1 View Post
dose it works on online
Help me
Any working undected injectors / BE bypassers?
How do i install it? Sorry im new to this stuff
Skype: william.stokes46
Is there ever going to be a TP with any menu??????????????
how can i install it?
skype: soeren002
Do I need a bypass?
Posts 166180 of 350 · Page 12 of 24
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?