Jump to content

js2k6

Member
  • Posts

    209
  • Joined

  • Last visited

Posts posted by js2k6

  1. thanks for your help guys

    the steam id tip is a really good one. 

    i tend to give benefit of the doubt for the most part, but if anyone comes up with a global ban we watch them a lot more closely. 

    i'd just rather not assume guilt until i've witnessed something with my own eyes. 

     

    but seeing the crap we get on our heavily populated server, and seeing how populated your servers are MGT. I think we'd do the same 

  2. for WAI you are going to have to edit each of the mission sqf files

     

    _position = [getMarkerPos "center",0,5500,10,0,2000,0] call BIS_fnc_findSafePos;  

     

    you would have to adjust those values after the word "center" 

    for DZMS, these values are stored in DZMSFunctions.sqf

    	switch (DZMSWorldName) do {
    		case "chernarus":{_centerPos = [7100, 7750, 0];_mapRadii = 5500;};
    		case "utes":{_centerPos = [3500, 3500, 0];_mapRadii = 3500;};
    		case "zargabad":{_centerPos = [4096, 4096, 0];_mapRadii = 4096;};
    		case "fallujah":{_centerPos = [3500, 3500, 0];_mapRadii = 3500;};
    		case "takistan":{_centerPos = [8000, 1900, 0]};
    		case "tavi":{_centerPos = [10370, 11510, 0];_mapRadii = 14090;_isTavi = true;};
    		case "lingor":{_centerPos = [4400, 4400, 0];_mapRadii = 4400;};
    		case "namalsk":{_centerPos = [4352, 7348, 0]};
    		case "napf":{_centerPos = [10240, 10240, 0];_mapRadii = 10240;};
    		case "mbg_celle2":{_centerPos = [8765.27, 2075.58, 0]};
    		case "oring":{_centerPos = [1577, 3429, 0]};
    		case "panthera2":{_centerPos = [4400, 4400, 0];_mapRadii = 4400;};
    		case "isladuala":{_centerPos = [4400, 4400, 0];_mapRadii = 4400;};
    		case "smd_sahrani_a2":{_centerPos = [13200, 8850, 0]};
    		case "sauerland":{_centerPos = [12800, 12800, 0];_mapRadii = 12800;};
    		case "trinity":{_centerPos = [6400, 6400, 0];_mapRadii = 6400;};
    		//We don't have a supported map. Let's use the norm.
    		default{_pos = [getMarkerPos "center",0,5500,60,0,20,0] call BIS_fnc_findSafePos;_mapHardCenter = false;};
    	};
    

    for WAI, you could open the editor for your custom map. and place markers in the all the places you want missions to spawn at

    and then change the _position line to look like this

     

    _positionarray = [[17380.426,5279.2412,0],[8467.2363,7764.6978,0],[15444.671,8667.6758,0],[8463.8125,5510.5239,0],[16104.994,15535.804,0],[7729.2627,7001.7979,0],[15078.381,15698.128,0],[5759.5493,9423.253,0],[13809.14,19294.951,0],[6098.1333,8610.5947,0],[10285.479,19396.813,0],[4265.5854,7978.0996,0],[8594.7168,19659.965,0],[2260.0608,6925.2681,0],[12143.011,14925.385,0],[4775.9395,6315.7642,0],[12676.353,12593.693,0],[14468.995,10629.646,0],[8412.1973,3045.4038,0],[10173.31,5819.1787,0],[9473.5557,2013.2627,0],[9421.4414,5169.317,0],[9845.7949,3310.0532,0],[10864.61,620.55743,0]];
    _position = _positionarray call BIS_fnc_selectRandom;
    

    (^ this is what i use for taviana)

     

    or in DZMS you would edit DZMSConfig and edit these lines

     

    DZMSStaticPlc = false;
    
    
    // Array of static locations. X,Y,Z
    DZMSStatLocs = [
    [0,0,0],
    [0,0,0]
    ];

    change the dzmsstaticplc to true,

    and add the coordinates for each spawn location to the dzmsstatlocs array

  3. also something else to do, 

    if you're using the default veteran settings for your epoch/overpoch server

     

    go into the servers user folder and edit the arma2oaprofile file

    eg. mine is D:\overpochcherno\users\overpoch\overpoch.arma2oaprofile
     

    and change it to look like this

    http://pastebin.com/QDa4bbdf

     

    this changes the veteran settings to have vonID=1, so anyone using sidechat will have their name display in blue so you can easily discipline them.  

  4. can't remember where i got this from, it was quite some time ago.

     

    but this is the script i'm using. it slaps after the 2nd warning

     

    [] spawn {
    	disableSerialization;
    	DS_really_loud_sounds = {[60,15] call fnc_usec_pitchWhine;for "_i" from 1 to 15 do {playSound format ["%1",_this select 0];};};
    	DS_double_cut = {1 cutText [format ["%1",_this select 0],"PLAIN DOWN"];2 cutText [format ["%1",_this select 0],"PLAIN"];};
    	DS_slap_them = {_randomnr = [2,-1] call BIS_fnc_selectRandom;(vehicle player) SetVelocity [_randomnr * random (4) * cos getdir (vehicle player), _randomnr * random (4) * cos getdir (vehicle player), random (4)];};
    	while {true} do {
    		waitUntil {sleep 1;((!isNull findDisplay 63) && (!isNull findDisplay 55))};
    		if (ctrlText ((findDisplay 55) displayCtrl 101) == "\ca\ui\textures\mikrak.paa") then {
    			if (ctrlText ((findDisplay 63) displayCtrl 101) == localize "STR_SIDE_CHANNEL") then {
    				[] spawn {
    					if (isNil "reset_timer") then {
    						reset_timer = true;
    						sleep 90;
    						disconnect_me = nil;
    						warn_one = nil;
    						warn_two = nil;
    						warn_three = nil;
    						warn_last = nil;
    						reset_timer = nil;
    					};
    				};
    				if (isNil "disconnect_me") then {disconnect_me = 0;} else {disconnect_me = disconnect_me + 1;};
    				if (disconnect_me == 0) then {
    					if (isNil "warn_one") then {
    						warn_one = true;
    						systemChat ("Please do not use voice on sidechat, this is your first warning.");
    						["NO VOICE ON SIDE"] spawn DS_double_cut;
    					};
    				};
    				if (disconnect_me == 1) then {
    					if (isNil "warn_two") then {
    						warn_two = true;
    						systemChat ("Please do not use voice on sidechat, this is your second warning..");
    						["NO VOICE ON SIDE"] spawn DS_double_cut;
    					};
    				};
    				if (disconnect_me == 2) then {
    					if (isNil "warn_three") then {
    						warn_three = true;
    						systemChat ("PLEASE DO NOT USE VOICE ON SIDECHAT!! This is your LAST warning!");
    						systemChat ("You will be frozen and then disconnected!");
    						[] spawn DS_slap_them;
    						["beat04"] spawn DS_really_loud_sounds;
    						["NO VOICE ON SIDE! This is your LAST warning!"] spawn DS_double_cut;
    					};
    				};
    				if (disconnect_me >= 3) then {
    					if (isNil "warn_last") then {
    						warn_last = true;
    						playMusic ["PitchWhine",0];
    						[] spawn DS_slap_them;
    						["beat04"] spawn DS_really_loud_sounds;
    						["We warned you..."] spawn DS_double_cut;
    						1 fademusic 10;
    						1 fadesound 10;
    						disableUserInput true;
    						startLoadingScreen ["You are being disconnected", "DayZ_loadingScreen"];
    						progressLoadingScreen 0.2;sleep 2;
    						progressLoadingScreen 0.4;sleep 2.25;
    						progressLoadingScreen 0.6;sleep 2;
    						progressLoadingScreen 0.8;sleep 2.25;
    						progressLoadingScreen 1.0;sleep 2;
    						endLoadingScreen;sleep 0.5;
    						disableUserInput false;
    						endMission "LOSER";
    					};
    				};
    			};
    		};
    		sleep 1;
    	};
    };
    

  5. If you guys are interested,

    here's a simple script i wrote up the other day for use with these tools

     

    This will allow you to check a player's gear by pointing on them and selecting the option in your tools

    the contents will then display in a hint dialog on your screen. 

    particularly useful if you suspect a player to be spawning in gear. 

    /* 
    showPlayerGear.sqf 
    by JakeHekesFists
    for use with Epoch Admin Tools 
    http://epochmod.com/forum/index.php?/topic/7501-release-epoch-admin-tools-v182/
    */
    
    private ["_weapons","_mags","_target","_uid","_name","_srvName","_tgtBackpack","_bpWeps","_bpMags"];
    _srvName = "21DMD"; // change this to your server name 
    _target = cursorTarget;
    _weapons = weapons _target;
    _mags = magazines _target;
    _uid = getPlayerUID _target;
    _name = (name _target);
    _tgtBackpack = unitBackpack _target;
    _bpWeps = getWeaponCargo _tgtBackpack;
    _bpMags = getMagazineCargo _tgtBackpack;
    
    if (_target isKindOf  "man") then {
    		Hint parseText format ["
    		<t align='center' size='1.2' color='#FF00FF'>%5<br/></t><t size='1.1'>Gear Checker<br/></t>
    		<t color='#1E90FF'>
    		PUID:</t><t> %1 <br/>
    		<t color='#1E90FF'>Name: </t><t>%2<br/>
    		<t color='#FFFFFF'>-----------------------------</t><br/>
    		<t color='#1E90FF'>Weapons: <br/></t><t>
    		%3<br/><br/>
    		<t color='#1E90FF'>Magazines: <br/></t><t>
    		%4 <br/><br/>
    		<t color='#1E90FF'>Backpack: <br/></t><t>
    		%7 <br/> %8
    		</t>",
    		_uid, //1
    		_name,//2
    		_weapons,//3 
    		_mags, //4
    		_srvName, //5
    		_tgtBackpack, //6 does not work as intended
    		_bpWeps, //7
    		_bpMags //8
    		];
    	} else {
    		hint "not a valid target"
    	};
    

    then add the following line to one of the menus in admintoolsmain.sqf

    ["Show Player's Gear",[],"",-5,[["expression",'[] execVM "admintools\tools\showPlayerGear.sqf"']],"1","1"],
    

    point at target, select option. and robert's your mother's brother.

  6. Hi all, this isn't really server installation help i require,

    Just a question to other people who run servers

     

    I have instances of players joining my server, getting booted for global ban

    then minutes later rejoining with a different GUID

     

    now i assume these are people who have hacked on a previous cd key 

    and have connected using the wrong steam account or something

     

    but as a server owner, is there any tools or website available where i would be able to check the reason for the ban? 

    just in case this is someone who literally just got caught and is spoofing their guid

  7. further to my previous post... knowing that i can use the argb format in the vehicle init. 

    has just given me some wild ideas. i should be able to fix my awful salmon mi17 haha thanks for posting this Sven2157

     

    http://i.imgur.com/VjQAZiA.png <- some look oh-so bad, but at least the salmon chopper can be fixed to look red now, and shave some kbs off the mission pbo 

  8. I saw some code in the wasteland files when i was hosting A3 wasteland Altis for a while, but i've never been able

     

    I don't feel comfortable sharing code that

    a ). i didn't write, and

    b ). i don't fully understand how it works.

    so if you want to go hunting for it yourself, that would be a good place to look. 

     

    but basically they use a switch case, with some values in brackets (i assume this is where the game tells you to apply the colour)

    eg. 

    _paintVehicles = switch (true) do {
    case (_vehicle isKindOf "Mi17_base"): {[0,1]};
    case (_vehicle isKindOf "Lada_base"): {[0,2]};
    default {[0]}; 
    };
    you would also need to define the colours, using argb format
    and i guess you would use another switch case linked to your dialog menu, 
    case "Black":       { _colorString = "#(argb,8,8,3)color(0.1,0.1,0.1,0.1)" };
    case "Blue":        { _colorString = "#(argb,8,8,3)color(0,0.2,1,0.75)" };
    case "Green":       { _colorString = "#(argb,8,8,3)color(0,1,0,0.15)" };
    case "White":       { _colorString = "#(argb,8,8,3)color(1,1,1,0.5)" };
    

    these are some snippets i have saved from my failed attempts to get this working on my server, 

     

     

    however, there is another way, which i did manage to get working. (it makes the mission file quite large though, but this doesnt work like a respray shop. it just retextures existing vehicles)

    using

    http://opendayz.net/threads/release-remove-weapons-ammunition-thermal-from-vehicle-epoch-version.18044/

     

    then add lines like

    // RETEXTURE VEHICLES
    // pony suv for the /b/ronies in server #1 
    if (_object isKindOf "SUV_Pink") then {
    _object setVehicleInit "this setObjectTexture [0, ""addons\textures\mlpSUV.jpg""]";
    };
    
    // make the ah6j look awful and rem hydras.
    if (_object isKindof "AH6J_EP1") then {
             _object magazinesTurret [-1];
    _object removeMagazinesTurret ["14Rnd_FFAR",[-1]];
    _object WeaponsTurret [-1];
    _object removeWeapon "FFARLauncher_14";
    _object addMagazine "4000Rnd_762x51_M134";
    _object addMagazine "60Rnd_CMFlareMagazine";
    _object addMagazine "60Rnd_CMFlareMagazine";
    _object setVehicleInit "this setObjectTexture [0, ""addons\textures\greentiger.jpg""]";
    };
    

     

     

    l8CAYvh.jpg

    /b/ronie suv

    zFD0CBR.jpg

    hideous green tiger chopper (i secretly love it) 
     

    the problem with this method, is that the mission file size increases exponentially with each texture you add, and you need to find a balance between texture quality and size. any compression artefacts look much much worse in game, and often the colours dont look the same in game, eg. my pure, bright red mi17 looks like it's a salmon pink colour. 

     

    to get the base vehicle textures to edit, de-pbo some of the files from the addons folder in your arma 2 directory and go looking through the .paa files. 

  9. ok my testing is complete. with regards to ebays no group esp solution

    yes it works, and it works with group management

     

    all you need to do is copy the entire contents of this http://pastebin.com/durgw4iu

     

    paste it into admintoolsmain.sqf

     

    and then add a line like this

    ["Toggle NoGroup ESP", [0],  "", -5, [["expression", "[] spawn adminESPicons"]], "1", "1"],
    

    into one of the menus, 

     

    example 

    if ((getPlayerUID player) in AdminList) then { // Admins
    	epochmenustart =
    	[
    	["",true],
    		["-- Epoch Admin Tools (Level: Admin) --", [], "", -5, [["expression", ""]], "1", "0"],
    		["Admin Menu >>", [], "#USER:AdminMenu", -5, [["expression", ""]], "1", "1"],
    		["Spawn Starter Vehicle",[],"",-5,[["expression",format[_EXECscript8,"StarterPack\spawnVeh.sqf"]]],"1","1"],
    		["Toggle NoGroup ESP", [0],  "", -5, [["expression", "[] spawn adminESPicons"]], "1", "1"],
    		["Base Destruction Menu >>", [], "#USER:BaseDestructionMenu", -5, [["expression", ""]], "1", "1"],
    		["Vehicle Menu >>",[],"#USER:VehicleMenu",-5,[["expression",""]],"1","1"],	
    		["Crate Menu >>",[],"#USER:CrateMenu",-5,[["expression",""]],"1","1"],
    		["Epoch Menu >>", [], "#USER:EpochMenu", -5, [["expression", ""]], "1", "1"],			
    		["Weapon Kits >>", [], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
    		["Skin Change Menu >>", [], "#USER:AdminSkinsMenu", -5, [["expression", ""]], "1", "1"],
    		["Weather/Time Menu (Local Only) >>", [], "#USER:WTMenu", -5, [["expression", ""]], "1", "1"],
    		["", [], "", -5, [["expression", ""]], "1", "0"],
    			["Main Menu", [20], "#USER:epochmenustart", -5, [["expression", ""]], "1", "1"]		
    	];};
    
    // attempting to add ebays no group esp to menu 
    adminESPicons =
    {
            xdistance = 2500;
            if (isNil "adminxtags") then
            {
                    adminxtags = 0;
                    fn_esp =
                    {
                            disableSerialization;
                            if (isNil "BIS_fnc_3dCredits_n") then {BIS_fnc_3dCredits_n = 2733;};
                            BIS_fnc_3dCredits_n cutRsc ["rscDynamicText", "PLAIN"];
                            BIS_fnc_3dCredits_n = BIS_fnc_3dCredits_n + 1;
                            _ctrl = ((uiNamespace getvariable "BIS_dynamicText") displayctrl 9999);
                            _ctrl ctrlShow true; _ctrl ctrlEnable true; _ctrl ctrlSetFade 0;
                            _unit = _this select 0;
                            while {(alive _unit) && ((player distance _unit) < xdistance) && (adminxtags == 1)} do
                            {
                                    _pos = [(getPosATL _unit) select 0, (getPosATL _unit) select 1, ((getPosATL _unit) select 2) + 2];
                                    _pos2D = worldToScreen _pos;
                                    if (count _pos2D > 0) then
                                    {
                                            _ctrl ctrlSetPosition [(_pos2D select 0) - (safezoneW / 2), (_pos2D select 1), safezoneW, safezoneH];
                                            _text = parseText format ["<t size='0.35' color='#FFFFFF'>%1 (%2m)</t>", name _unit, round (player distance _unit)];
                                            _ctrl ctrlSetStructuredText _text;
                                            _ctrl ctrlCommit 0;
                                    };
                                    uiSleep 0.01;
                            };
                            _ctrl ctrlShow false;
                            _ctrl ctrlEnable false;
                    };
            };
            if (adminxtags == 0) then
            {
                    adminxtags = 1;
                    hint "ESP Enabled";
                    _a = [];
                    while {adminxtags == 1} do
                    {
                            _count = count ((position player) nearEntities [["AllVehicles"], xdistance]);
                            {
                                    if (((_x in _a) && !(alive _x)) or ((_x in _a) && ((player distance _x) > xdistance))) then {_a = _a - [_x];};
                                    if ((_x != player) && (getPlayerUID _x != "") && (name _x != "") && !(_x in _a) && ((player distance _x) < xdistance)) then
                                    {
                                            _a = _a + [_x];
                                            [_x] spawn fn_esp;
                                            uiSleep 1;
                                    };
                            } forEach playableUnits;
                            waitUntil {_count != count ((position player) nearEntities [["AllVehicles"], xdistance])};
                    };
            }
            else
            {
                    adminxtags = 0;
                    hint "ESP Disabled";
            };
    };
    // no group ESP end
    
    
    

  10. I reported this issue with DZGM breaking ESP a few pages ago.

    it's because these admintools esp uses groupicons, 

    each player in dayz epoch is assigned to it's own group, once players start grouping up in dzgm, only the leader shows

     

    i was able to modify the esp somewhat and got it to display the name of every player in the group, above the head of the leader. 

    but nothing better than that unfortunately. so i have left dzgm off 2 of my servers as a result. 

     

    I dont want to take it away from the guys that already have it, but i wont add it until i have a solution for it, especially not when one of the servers is regularly heavily populated and full of trouble makers.

     

    in the official support thread for DZGM, ebay pasted this link

     

    http://pastebin.com/durgw4iu

     

    I assume this is probably for people using infi, I have not had any real success making it work with admin tools. 

  11. i was hit with this today, on 1 of my 3 servers.

    luckily i have automated regular backups. could see in the .7z archive full of backups for each server that 4pm backup was 1.2mb, 4.30pm backup was 360kb. 

     

    checked through logs and could see suspicious activity around 4.25pm. 

    rolled back cherno's db to 4pm and it was all good again. 

     

    I wish there was something more that we could do about this. 

  12. thanks, i'll try using your method to see if that works without throwing an error. 

    I was just using the method my debug monitor uses to get a players humanity. 

     

    edit: changed to 

    _getHumanity = player getVariable "Humanity";
    

    no joy unfortunately, the error must be coming from somewhere else?

    22:01:49 Error in expression <y = player getVariable "Humanity";
    
    if((_getHumanity > -4999) && (_getHumanity <>
    22:01:49   Error position: <_getHumanity > -4999) && (_getHumanity <>
    22:01:49   Error Undefined variable in expression: _gethumanity
    22:01:49 File mpmissions\__cur_mp.Lingor\scripts\DMDloadouts.sqf, line 44
    22:01:49 "[AGN] Starting Trader City Safezone Commander!"
    

    it does state that the error is on line 44? 

    is there something wrong with this if statement?

    if((_getHumanity > -4999) && (_getHumanity < 4999)) then {
    
  13. yeah it should be fine, as far as i can tell i didnt use any of the overwatch items in the building. just need to make some adjustments to the server traders.sqf to make sure it doesnt include any of the overwatch stuff. 

     

    as always, back up your existing files. 

    put this on to a test server, try it out. if it works. cool. if not, revert to your original build and try something else. 

  14. Hi everyone, having an issue with one of my scripts,

    I have a loadout randomiser / humanity based loadout on my overpoch lingor server.

     

    It seems to function exactly as it should, however it is throwing an error in my servers rpt that i would like to resolve.

    20:59:07 Error in expression < player getVariable["humanity",0];
    
    if((_getHumanity > -4999) && (_getHumanity <>
    20:59:07   Error position: <_getHumanity > -4999) && (_getHumanity <>
    20:59:07   Error Undefined variable in expression: _gethumanity
    20:59:07 File mpmissions\__cur_mp.Lingor\scripts\DMDloadouts.sqf, line 44
    

    this is the file in question

    http://pastebin.com/aXSJmPym

     

    thanks. 

  15. unfortunately i wasn't able to get this to work on my current build. 

    i use epoch admin tools, and i had to make several changes to one of the .hpp files to even get my test machine to start.

    and then i got the server running, but nothing appeared to function. so no doubt i messed something up.

    or theres a conflict with one of the many mods i'm running

     

    i was able to get it working on a clean epoch p4l/snap pro build.

    but right now i cbf re-writing 3 mission files one for each server.

     

    but i gotta say, you've done a really good job with this addon. 

  16. this isn't some new issue, 

    i was doing this when i was just a player, mid-late last year. going back further than 1.0.3 (if i recall correctly) 

     

    because epoch puts keys in the weapon slots

    we used to use this glitch, coupled with the delay on locking vehicles for storing our keys in the locked vehicle before taking on AI missions or getting into clan fights,

    so you'd die, come back to your vehicle and 9/10 times you can get your key back out by scrolling.

  17. to update on my dedicated server i just used steamCMD

     

    installed steamcmd,

    created a batch file, saved it in the steamCMD folder 

     

    and ran it

    @echo off
    steamcmd +login "steamusername" "steampassword" +force_install_dir f:\arma2\ +app_update "33910" validate +quit
    steamcmd +login "steamusername" "steampassword" +force_install_dir f:\arma2oa\ +app_update "33930" validate +quit
    echo ----------------------------------------
    echo Download Complete
    echo ----------------------------------------
    pause
    

    then use the arma2oaserver.exe that is in the root of the operation arrowhead folder, not the one thats in expansions\beta

  18. if i was to guess..

    it's because you're using build 112555,  a beta version

     

     

    1. 11:55:16 BattlEye Server: IMPORTANT: Effective immediately BattlEye is no longer
     
    the message cuts off. but what it says
    IMPORTANT: Effective iummediately BattlEye is no longer providing protection for servers using outdated non-Steam versions of the game. 
     
    you're stuck at wait for host, and it is unable to verify your guid with battleye
     
    so you've got two options here, update to the latest version of arma 2 oa server. -OR- disable battleye protection. 
     
    11:52:47 GameSpy QR2 error: 5, No challenge value was received from the master server.
    

    also you might want to update your config to include the steam and steamquery ports

    add 

     

    steamport = 2300;
    steamqueryport = 2301;
     
    to the top of your config. (if its not already there)
×
×
  • Create New...