[GR] Daz

bAdmin

123 posts in this topic

I was granted permissions from the original project leader to continue his work on this menu since he stopped working on it. Original Post

You can find more of my projects here http://repositoryprojects.hol.es/ my community https://gamingreborn.co.uk

dcFWpIB.png

Features:

  • Player Management (Infos, Spectate, Kill)
  • Player Markers
  • Add Poptabs
  • Add Score
  • Teleport Menu (Map Pos, To Player, Player to)
  • Show Server FPS
  • Toggle God-mode
  • Repair / Flip Vehicle
  • No Recoil
  • Delete Cursor Target
  • Fix Target
  • Territory
  • Territory Protection

Admin Levels:

  • Owner(All Options)
  • High Admin(Player Management, Player Markers, Shop Menu, Add Money and Score)
  • Low Admin(Player Management, Player Markers, Shop Menu)

Installation

Step 1: Download all files from mega (link below).)

Step 2: Copy all content of zip to your folder to your mission

Step 3: Also add this to your init.sqf

Spoiler

// bAdmin Exile by Daz & Biabock

#define DEBUG false

[DEBUG] call compile preprocessFileLineNumbers "badmin\globalCompile.sqf";

if (!isDedicated) then
{
	if (hasInterface) then // Normal player
	{
		execVM "badmin\client\init.sqf";
	}
};

if (isServer) then
{
	diag_log "bAdmin - Initializing";
	[] execVM "badmin\server\init.sqf";
};

OPEN_bADMIN_FNC = {
	switch (_this) do {
		//Key U
		case 22: {
			nul = [] execVM "badmin\client\systems\adminPanel\checkAdmin.sqf";
		};
	};
};

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

 

 

Step 4: Add it to your description.ext (not add it inside a class)

//bAdmin dialog includes

#include "badmin\client\gui_base.hpp"
#include "badmin\client\systems\common.hpp"
#include "badmin\client\systems\adminPanel\dialog\adminMenu.hpp"
#include "badmin\client\systems\adminPanel\dialog\modMenu.hpp"
#include "badmin\client\systems\adminPanel\dialog\serverAdminMenu.hpp"
#include "badmin\client\systems\adminPanel\dialog\debugMenu.hpp"
#include "badmin\client\systems\adminPanel\dialog\shopMenu.hpp"
#include "badmin\client\systems\adminPanel\dialog\playerMenu.hpp"

Step 5: Your mission.pbo is already ready, you can pack it.

Step 6: Now copy the bAdmin_settings & bAdmin into mission folder then put bAdmin_settings folder to your server directory(same location as the arma3server.exe).

Step 7: Add your UID at the admins.sqf into bAdmin_settings folder and save it(instructions inside file).

Step 8: BE FILTERS

 Open your scripts.txt and add it:

 

Spoiler

Add to Line 16(showCommandingMenu)


!="5, [["expression", "pselect5 = 'exit';"]], "1", "1"]];\nshowCommandingMenu "#USER:_pmenu";\n};\n_j = 0; _max = 10; if (_max>9) then"

Add to Line 22(onEachFrame)     


!="_start_loop = {\n\ncamera_loop_active =  true;\n["A3W_camera_oneachFrame", "onEachFrame", camera_loop] call BIS_fnc_addStackedEvent"

Add to Line 26(compile)


!="call compile preprocessFileLineNumbers "badmin\globalCompile.sqf";"

Add to Line 28(onMapSingleClick)


!="onMapSingleClick "vehicle player setPos _pos;""

Add to Line 36(setDamage)


!="State) then\n{\nthirstLevel = 100;\nhungerLevel = 100;\nplayer setDamage 0;\nplayer allowDamage false;\nvehicle player setDamage 0;\npl" !=" \n{\n\n\n\nsystemChat "Option Disabled";\n};\ncase 2: \n{\n_target setDamage 1;\n};\ncase 3: \n{\n\n\nsystemChat "Option Disabled";\n};\ncase 4:"

Add to Line 39(playableUnits)


!="then {   _target = nil; };;\n\nprivate["_units"];\n_units = playableUnits;\n_target = if ((isNil {_target} || ({(false ||{   not(isN"

Add to Line 41(isPlayer)


!="l _object) exitWith {nil};\n\nif (_object isKindOf "Man" && {!isPlayer _object}) exitWith {nil};\nif (_object isKindOf "LandVehicle"

Add to Line 43(execVM)


!="execVM "badmin\client\init.sqf";"

Add to Line 44(camCreate)


!=""_camera"];\n_pos = (getPosATL _player);\n_camera = "camera" camCreate [(_pos select 0),(_pos select 1),((_pos select 2) + 3)];\n_c"

Add to Line 46(eventHandler)


!="displayAddEventHandler ["KeyDown","_this select 1 call OPEN_bADMIN_FNC;false;"];"
 or you can replace your scritps.txt for it: http://pastebin.com/raw.php?i=drCkNH74

 

Probably you will get kicked by "setvariable restrciton #0"

I am trying to solve this problem, but the only solution so far is delete the setvariable.txt file from batteye folder

Step 8: Open your server config file .cfg and search for allowedLoadFileExtensions(if you not found it, skip this step), you must enable the sqf file type, the line should be: (very important to load the admins UIDs)

allowedLoadFileExtensions[] 		= {"sqf"};

Step 9(After 1.52 Patch): Add the line below to you server config file .cfg after it you have to add the -filePatching parameter to you start server.

allowedFilePatching = 1;

Step 10: start your server and enjoy!(Press U in-game to open the menu:D:D - Sometimes there is a delay for the script load for client, if you press U and nothing happens, go back to the lobby and sign in again.

Spectate Camera Keybinds:

Spoiler

Camera hotkeys (U.S. keyboard with default Arma 3 keybinds):

  • Shift + > (moves to next player on list)
  • Shift + < (moves to prev player on list)
  • Ctrl + E (exit the camera mode)
  • Control + / (Attaches to target, or detaches from target)
  • Control + H (toggle target HUD)
  • N (cycles through NV, Thermal, and normal camera modes)
  • W,A,S,D (Move the camera in specified direction)
  • Q (Move the camera up, like helicopter)
  • Z (Move the camera down, like helicopter)
  • Mouse Move (Rotate camera naturally)
  • Scroll Wheel Up (Increase camera moving speed by 0.1 m/s, max 1 m/s)
  • Scroll Wheel Down (Decrease camera moving speed by 0.1 m/s, min 0 m/s)
  • Shift + W,A,S,D (Move the camera, but faster, extra 3 m/s)
  • M - Open/Close map (click on map, to move camera to clicked location)

Known Issues:

Spoiler

 

-Player Menu dont show infos.

Download:

Mega: Download

  Github repositories: Soon

Licensing

AgentRev commented 5 hours ago

I hereby grant you the right to use the A3Wasteland admin menu system, and its referenced functions, under the GNU Lesser GPL v3. Since bAdmin is a derivative work of A3W, you must therefore release it under this same license. I have included in this pull request all the changes needed to make your project compliant.

This will allow server owners to implement your addon in Exile Mod without conflict to its CC BY-NC-ND 4.0 license, and without requiring further action on their part.

If you accept these terms, please merge this pull request.

Regards,
AgentRev

Edited by [GR] Daz
Removed @Shix from credits as requested by Shix
5 people like this

Share this post


Link to post
Share on other sites

nice tool am using it on my exile server, but too scared to confirg it bcoz all my players got kicked last time and i had to make server again all nite, is it posible u can access my system by team viwer and do it by ur self, it wil help instead of me to do it and mess up things again

 

wil wait for ur reply thanks

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, dashi.gamer said:

nice tool am using it on my exile server, but too scared to confirg it bcoz all my players got kicked last time and i had to make server again all nite, is it posible u can access my system by team viwer and do it by ur self, it wil help instead of me to do it and mess up things again

 

wil wait for ur reply thanks

Sure pm me your teamviewer details

Share this post


Link to post
Share on other sites

Im using the original release of this tool, its great news to see its now been taken over but a few questions, is the shop menu/spawn vehicle menu planned on being added as i see its been removed? Also does the godmode still switch off when entering/leaving a sz and also any chance to add an invisibility option as that would be very handy at times :)

Share this post


Link to post
Share on other sites
4 minutes ago, Warrior said:

Im using the original release of this tool, its great news to see its now been taken over but a few questions, is the shop menu/spawn vehicle menu planned on being added as i see its been removed? Also does the godmode still switch off when entering/leaving a sz and also any chance to add an invisibility option as that would be very handy at times :)

I'm hardly a code i just added a few easy and simple things i tried adding the shop but it just loads in empty for me unless anyone is willing to help i don't see that happening and i doubt anyone will help so i guess that's a no sorry chap.

Share this post


Link to post
Share on other sites

Just a heads up, I cannot expand "Reveal hidden contents" in your first post. I am going over my install again because "U" doesn't open anything for me in game.

 

 

Edit:  Step 6: Add your UID at the admins.sqf into bAdmin_settings folder and save it(instructions inside file).

 

Do I add my uid to both files in both the mission and root folder? I did just to be safe, yet I nothing happens when I hit "U".

Edited by Omen

Share this post


Link to post
Share on other sites

Ok i forget to mention you must go into \badmin\server\admins.sqf also if you're just the 1 admin use like this     "76561198027539471" // Daz

A lot of people keep making the stupid mistake by putting this , comma behind there uid you only put the comma if you have more than 1 uid there

Share this post


Link to post
Share on other sites

looks like add score works atleast, just tested in game... would have tested cash but im sitting on about 10 bill atm so it doesnt show the correct value

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.