5nine Posted March 6, 2015 Report Share Posted March 6, 2015 What is it?- An admin controlled mission. Admins can, whenever they like, start an Admin Hunt which puts a marker on the admin and tells other player about it using a hint similar to #SEM announcements. If the Admin feels threatened he can call for reinforcements which spawns 3 AI's which will then follow him around.What is currently included/what are the features? - Called by any admin specified in the admin list- Gives players a marker on the map named "Adminhunt: (admin name)" - Admins can call for reinforcements which spawns in 3 AI helpers. - Can, at any time, be stopped by the admin who started it. - Gives players different hints depending on mission status ("started", "called for reinforcements", "stopped" and "admin killed") - Supports multiple missions run in parallel (each admin can start their own mission) Why Re-release? What has changed? the old version was completely client side, which made it much harder to get it to work, with BE filter etc. In this version the AI's spawn serverside. This also includes a better function to get the scroll option to stay. Known Issues? None, but it is not tested on a server with high player count. BE filters? Included in the Readme. Epoch Anti Hack? This has been tested and works with Epoch AH. Install instructions: https://github.com/5nine/NibbleGaming_AdminHunt Still dont get what this is? (sry about the lag/choppy video, I had my recording settings too high) Support or questions? Post a reply in this topic. please don't PM me. Credits: BetterDeadThanZed: for coming up with this great Idea! KiloSwiss: for creating #SEM. where i got some ideas for AI functions and hints. rems_be: for having a different solution The Entire NibbleGaming community: for help with testing, testing and testing. They also helped me alot with testing.... celticwarrior06 and ShunOn 2 Link to comment Share on other sites More sharing options...
5nine Posted March 7, 2015 Author Report Share Posted March 7, 2015 note: this is running completely clientside, so any errors that might occur will only show up in your client rpt log. edit: This is no longer true, see first post Link to comment Share on other sites More sharing options...
SpiRe Posted March 7, 2015 Report Share Posted March 7, 2015 I needed add following to scripts.txt BE filters. 7 removeAllWeapons !"this" 7 removeAllItems !"this" 7 removeBackpack !"this" 7 createGroup !"_AIGroup = createGroup RESISTANCE;" 7 deleteMarker !="_markeradmin" 7 setMarker "_markeradmin" publicvariable.txt 5 !="NibbleHint" And i stucked in remoteexec.log with this: 07.03.2015 10:05:19: xx - #0 "removeUniform this; removeHeadgear this; removeBackpack this; removeallitems this; removeAllWeapons this; this forceAddUniform 'U_NikosAgedBody'; this addVest 'V_Press_F'; this addHeadgear 'H_Hat_grey'; this addMagazines ['11Rnd_45ACP_Mag', 3]; this addWeapon 'hgun_Pistol_heavy_01_F'; this addHandgunItem 'optic_MRD'; this addMagazines ['1Rnd_HE_Grenade_shell', 2]; this enableAI 'TARGET'; this enableAI 'AUTOTARGET'; this enableAI 'MOVE'; this enableAI 'ANIM'; this enableAI 'FSM'; this call EPOCH_server_savePlayer; EPOCH_TEMPOBJ_PVS = this; publicVariableServer 'EPOCH_TEMPOBJ_PVS'; Machinegunner = this; this addWeapon 'LMG_Zafir_F'; this addMagazines ['150Rnd_762x51_Box_Tracer',3]; this addPrimaryWeaponItem 'optic_Arco'; this selectWeapon 'LMG_Zafir_F';" Link to comment Share on other sites More sharing options...
5nine Posted March 7, 2015 Author Report Share Posted March 7, 2015 I needed add following to scripts.txt BE filters. 7 removeAllWeapons !"this" 7 removeAllItems !"this" 7 removeBackpack !"this" 7 createGroup !"_AIGroup = createGroup RESISTANCE;" 7 deleteMarker !="_markeradmin" 7 setMarker "_markeradmin" publicvariable.txt 5 !="NibbleHint" And i stucked in remoteexec.log with this: 07.03.2015 10:05:19: xx - #0 "removeUniform this; removeHeadgear this; removeBackpack this; removeallitems this; removeAllWeapons this; this forceAddUniform 'U_NikosAgedBody'; this addVest 'V_Press_F'; this addHeadgear 'H_Hat_grey'; this addMagazines ['11Rnd_45ACP_Mag', 3]; this addWeapon 'hgun_Pistol_heavy_01_F'; this addHandgunItem 'optic_MRD'; this addMagazines ['1Rnd_HE_Grenade_shell', 2]; this enableAI 'TARGET'; this enableAI 'AUTOTARGET'; this enableAI 'MOVE'; this enableAI 'ANIM'; this enableAI 'FSM'; this call EPOCH_server_savePlayer; EPOCH_TEMPOBJ_PVS = this; publicVariableServer 'EPOCH_TEMPOBJ_PVS'; Machinegunner = this; this addWeapon 'LMG_Zafir_F'; this addMagazines ['150Rnd_762x51_Box_Tracer',3]; this addPrimaryWeaponItem 'optic_Arco'; this selectWeapon 'LMG_Zafir_F';" were you logged in as infi admin at that moment? I might have to do a serverside function for spawning the AI.. Link to comment Share on other sites More sharing options...
SpiRe Posted March 7, 2015 Report Share Posted March 7, 2015 I was an ADmin.... but i plan to alter the functionality to just Survivor Hunt without reinforcements... I have pretty good private action menu framework for it Link to comment Share on other sites More sharing options...
5nine Posted March 7, 2015 Author Report Share Posted March 7, 2015 I see Link to comment Share on other sites More sharing options...
horbin Posted March 7, 2015 Report Share Posted March 7, 2015 For those running a headless client, this ability is already included with FuMS. Nice work putting together a non-hc version. Link to comment Share on other sites More sharing options...
R4ziel Posted March 8, 2015 Report Share Posted March 8, 2015 For those running a headless client, this ability is already included with FuMS. Nice work putting together a non-hc version. Horbin, can you elaborate on that a bit, do you mean the admin hunt ability is part of FUMS? If so how do we enable that? Link to comment Share on other sites More sharing options...
rhughes945 Posted March 8, 2015 Report Share Posted March 8, 2015 Installed this on my server at midnight and gave it a quick test, really like it so far. Seems like it disappears when I die tho, to get the menu back I have to relog. Link to comment Share on other sites More sharing options...
5nine Posted March 8, 2015 Author Report Share Posted March 8, 2015 yep, the addaction on players in Epoch is a bit unreliable. Link to comment Share on other sites More sharing options...
horbin Posted March 8, 2015 Report Share Posted March 8, 2015 R4Ziel, Currently under FuMS, admins (or whomever you grant access too) have the ability to start stop Themes (which can be single missions) and kill individual missions. I sent you a PM to not take this thread off topic. Link to comment Share on other sites More sharing options...
darkclaw4ever Posted March 9, 2015 Report Share Posted March 9, 2015 Ok this may be a really dumb question but I can't seem to figure this one out. I believe I have installed this correctly, but I can't figure out how to access the admin hunt option in the scroll menu. I was able to one time seemingly by a lucky key-smash, but was never able to recreate it. Is there a certain key I need to hold while scrolling? I have added the admins correctly to the list of player ids, I have added the correct lines to init, and I have added the files into the pbo in the correct place. Link to comment Share on other sites More sharing options...
horbin Posted March 9, 2015 Report Share Posted March 9, 2015 With some inputs from Kilo and Face, the following seems to be a pretty reliable way of adding 'addactions'. waitUntil{!isNull (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])}; waitUntil{isNull (uiNameSpace getVariable "EPOCH_loadingScreen")}; //waituntil {!isnull (finddisplay 46)}; //waituntil {player == player}; sleep 10; player addaction [("<t color=""#1376e5"">" + ("FuMS Admin") +"</t>"),FuMS_AdminMenu,"",5,false,true,"",""]; while {true} do { waitUntil {!alive player}; // uh oh... waitUntil {alive player}; player addaction [("<t color=""#1376e5"">" + ("FuMS Admin") +"</t>"),FuMS_AdminMenu,"",5,false,true,"",""]; }; not even sure the sleep 10 is needed, but after adding the wait's to look for the drop in the loadscreen interface, things seem to be a lot more reliable. Of note ***I am told**** addaction is an autoban under most security addons, so if you want this functionality for the general player, there is probably a little more work to be done. darkclaw4ever 1 Link to comment Share on other sites More sharing options...
darkclaw4ever Posted March 9, 2015 Report Share Posted March 9, 2015 Alright well thanks for responding, luckily I only need the addaction for admins. I had to make some modifications as I am not using this for the FuMS admin menu, just the admin hunt. I will test it out tomorrow. In the original code given by 5nine, is it necessary to have "nibblemenu = player addaction" or would it just be easier to do "player addaction"? Edit: I ask this because in the code you have presented it is simply "player addaction" Double Edit: here is the editted version of your code, based off of 5nine's code, does it look correct? waitUntil{!isNull (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])}; waitUntil{isNull (uiNameSpace getVariable "EPOCH_loadingScreen")}; sleep 10; if (getPlayerUID player in [ /*-------specify your admins below -----*/ "7xxxxxxxxxxxxxxx", "7xxxxxxxxxxxxxxx" //no comma at last entry ]) then { nibblemenu = player addaction [("" + ("Admin menu") +""),"scripts\nibbleadmin\adminhunt.sqf","",-97,false,false,"",""]; while {true} do { waitUntil {!alive player}; // uh oh... waitUntil {alive player}; nibblemenu = player addaction [("" + ("Admin menu") +""),"scripts\nibbleadmin\adminhunt.sqf","",-97,false,false,"",""]; }; }; Link to comment Share on other sites More sharing options...
5nine Posted March 9, 2015 Author Report Share Posted March 9, 2015 darkclaw, that looks about right, try it and report back please. You need 'nibblemenu =' because we want to remove the addaction once you click it, if you look inside adminhunt.sqf among the first things that happens is 'player removeAction nibblemenu;' Link to comment Share on other sites More sharing options...
Talib Posted March 9, 2015 Report Share Posted March 9, 2015 were you logged in as infi admin at that moment? I might have to do a serverside function for spawning the AI.. Alright well thanks for responding, luckily I only need the addaction for admins. I had to make some modifications as I am not using this for the FuMS admin menu, just the admin hunt. I will test it out tomorrow. In the original code given by 5nine, is it necessary to have "nibblemenu = player addaction" or would it just be easier to do "player addaction"? Edit: I ask this because in the code you have presented it is simply "player addaction" Double Edit: here is the editted version of your code, based off of 5nine's code, does it look correct? waitUntil{!isNull (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])}; waitUntil{isNull (uiNameSpace getVariable "EPOCH_loadingScreen")}; sleep 10; if (getPlayerUID player in [ /*-------specify your admins below -----*/ "7xxxxxxxxxxxxxxx", "7xxxxxxxxxxxxxxx" //no comma at last entry ]) then { nibblemenu = player addaction [("" + ("Admin menu") +""),"scripts\nibbleadmin\adminhunt.sqf","",-97,false,false,"",""]; while {true} do { waitUntil {!alive player}; // uh oh... waitUntil {alive player}; nibblemenu = player addaction [("" + ("Admin menu") +""),"scripts\nibbleadmin\adminhunt.sqf","",-97,false,false,"",""]; }; }; hello, thank for shared. ;) PB BE #27 " removeBackpack this; removeallitems this; removeAllWeapons this; this forceAddUniform 'U_NikosAgedBody'; :( :( :( Link to comment Share on other sites More sharing options...
Talib Posted March 9, 2015 Report Share Posted March 9, 2015 were you logged in as infi admin at that moment? I might have to do a serverside function for spawning the AI.. were you logged in as infi admin at that moment? I might have to do a serverside function for spawning the AI.. . Link to comment Share on other sites More sharing options...
darkclaw4ever Posted March 9, 2015 Report Share Posted March 9, 2015 I am not currently logged in as infistar admin as we don't have infistar yet :( new server, havent invested in that yet Link to comment Share on other sites More sharing options...
5nine Posted March 9, 2015 Author Report Share Posted March 9, 2015 I am not currently logged in as infistar admin as we don't have infistar yet :( new server, havent invested in that yet Its not something you HAVE to invest in either, I would wait some time, Im sure the epoch devs will open up the entire mod a bit more as soon as they leave alpha Link to comment Share on other sites More sharing options...
darkclaw4ever Posted March 9, 2015 Report Share Posted March 9, 2015 But do I need it to use admin hunt? If not, do I need another mod? So far the only mods I have put into the server are igiload and admin hunt and I am confused how I got the menu to pop up once, but couldn't again even after relogging Link to comment Share on other sites More sharing options...
darkclaw4ever Posted March 9, 2015 Report Share Posted March 9, 2015 Small note: the one time it worked, igiload printed out something like "igiload loaded: civ 1" instead of what it normally does, "igiload loaded, have fun" Link to comment Share on other sites More sharing options...
ulli_123 Posted March 13, 2015 Report Share Posted March 13, 2015 If an update is already provided? Link to comment Share on other sites More sharing options...
DirtySanchez Posted March 13, 2015 Report Share Posted March 13, 2015 After testing this script out, using the built in init file is crap. use/add the on player respawn files and on player killed file in your mission pbo to ensure add and removal. However with this script as is the menus double and triple up allowing for multiple spawning in of reinforcements and if mission canceled only the last 3 ai are deleted and the rest kill you. lol But all in all thanks for the share and I might modify it to work properly and post it up Link to comment Share on other sites More sharing options...
Achmed Posted March 14, 2015 Report Share Posted March 14, 2015 Does the marker stay over the admin all the time or does it refresh every X seconds? Link to comment Share on other sites More sharing options...
Humpabry Posted March 15, 2015 Report Share Posted March 15, 2015 added to server..dont get a scroll option for the admin hunt :/ <--- ignore xD i did not forget to put the ID in the admin id part :P so added admin IDs and still does not work...is this just a mouse scroll option? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now