Peter Shepherd
Member
Hey blue Phoenix my friend who was also experiencing the lag had only the Debug Monitor on and nothing else.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
the reason it did not show the crash sites after you added that line is because they both have the same variable name2) Only Uh_1Y crash sites are viewable via the ESP addon.
-I tried editing the dayzesp.sqf (~Line 73)
helicrashes = nearestObjects [[maphalf,maphalf],["UH1Wreck_DZ"],mapscanrad];
helicrashes = nearestObjects [[maphalf,maphalf],["UH60_Wreck_EP1"],mapscanrad];
-Clearly all i did was copy+pasted the line entered for the UH1 wreck and changed it to the UH60_Wreck_EP1 for the new model of crashes, but now neither of them show up. Any idea's here would also be greatly appreciated. I quickly skimmed through all previous posts and didn't see anything about this. Apologies if it was a question that was already answered...There's a lot of stupidity in previous posts so it was hard to go through them all thoroughly
Thank you in advance!
helicrashes = nearestObjects [[maphalf,maphalf],["UH1Wreck_DZ"],mapscanrad];
helicrashes1 = nearestObjects [[maphalf,maphalf],["UH60_Wreck_EP1"],mapscanrad];
Hey another question for you phoenix, i hope you can answer this! What prog. language do I need to learn to start scripting/mission editing. Im Pretty sure this is C++ but i could be wrong.the reason it did not show the crash sites after you added that line is because they both have the same variable name
tryCode:helicrashes = nearestObjects [[maphalf,maphalf],["UH1Wreck_DZ"],mapscanrad]; helicrashes1 = nearestObjects [[maphalf,maphalf],["UH60_Wreck_EP1"],mapscanrad];
Okay so I load up my server I log in I click continue. I load up and then when the bar is full my screen freezes But I can hear Birds chirping.I have no clue what is causing this and I probably made some retarded mistake, but if you could please help me by taking a quick look at my mission.pbo I would greatly appreciate it
playerstats = compile preprocessFileLineNumbers "debug\playerstats.sqf";
player_spawn_2 = compile preprocessFileLineNumbers "debug\player_spawn_2.sqf";
C# and for help use a combination of Google and http://community.bistudio.com/wiki/Category:Scripting_CommandsHey another question for you phoenix, i hope you can answer this! What prog. language do I need to learn to start scripting/mission editing. Im Pretty sure this is C++ but i could be wrong.
if (isnil ("hotkey_hitme")) then {
hotkey_hitme = 0;
};
if (hotkey_hitme == 1) then {
hotkey_hitme = 0;
titleText ["Debug Monitor Deactivated","PLAIN DOWN"];titleFadeOut 2;
} else {
hotkey_hitme = 1;
titleText ["Debug Monitor Activated","PLAIN DOWN"];titleFadeOut 2;
};
hotkey_hitme = 1;
while {sleep [B]1[/B];hotkey_hitme == 1} do {
yeah im testing the code now to find out whyI am testing out the new activation method and it is not pulling up the tools menu in my scroll options at any point in time. I am using the same UID I used that worked perfectly on the hotkey method, however, it's not working with this new code.
what did you have activated when this occurred?
i might modify and add this a secondary execution method thanksOk,
Unzip config.hpp from config.zip (it wouldn't let me upload a .hpp file)
Edit config.hpp - #define ADMINS [ "PUT UID HERE" ]
put your UID in that part
place it in your admintools folder in your mission.pbo
place initspec.sqf and initspeckey.sqf in your main directory of your mission.pbo
edit your init.sqf and put this code in below dayz_previousID = 0;
//start admintools
execVM "initSpec.sqf";
you still need the compile line for admintoolsmain.sqf, but you don't need anything else in your init.sqf like hotkey or the new change for hotkey.
To activate the Admin Tools menu in game YOU HAVE TO BE SIGNED IN AS ADMIN IN GAME, press the letter O
player_spawn_2 = compile preprocessFileLineNumbers "debug\player_spawn_2.sqf";
player_spawn_2 = compile preprocessFileLineNumbers "debug\playerstats.sqf.sqf";
delete this lineAlright so I deletedbut Im still getting the same error.Code:player_spawn_2 = compile preprocessFileLineNumbers "debug\player_spawn_2.sqf";
EDIT: Was I just supposed to change it toCode:player_spawn_2 = compile preprocessFileLineNumbers "debug\playerstats.sqf.sqf";
call compile preprocessFileLineNumbers "debug\compiles.sqf";
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
line #20Hey phoenix, when i try to join it gives me script restriction #19 before even spawning in. Here is my mission pbo and scripts.txt (BTW: Im really new to scripting)
5 createMine !"\"createMine\","