Desire
-
Posts
93 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Desire
-
-
Oh, ok. Thank you!
-
I'll try that, but I have a Antihack where you can spawn permanent buildings, and I can't seem to find the barracks.. Thank you though
-
So, I have been trying to add barracks onto my server so that I can make a Outpost that has decent loot, and I can't seem to find "land_mil_barracks_i" in my infiSTAR building section, anyway to find it?
Also, is there a addon that can spawn pre-made outposts or something? I've been looking everywhere and can't find one.
-
Ok, so I was look for my server on dayz commander and noticed that it wasn't bright like all the others.. Now, I have a up-to date version of epoch and stuff, but it still isn't bright. I hovered over the version of my server and another one, and noticed that his / hers said 1.0.4.2 ... I'm pretty sure I have 1.0.4.2 epoch on my server.. What's wrong..
Here are the images :
Other persons server : http://gyazo.com/701ae8d6f0a33d0096b9a619d1f097b0
Mine.. : http://gyazo.com/21d213bee71f69b69643a51477812db6
Not sure what is wrong..
Btw, I use vilayer.
-
Lately, I have been hearing about R3F tow.. Is this the best addon for towing? Where do I get it?
-
hi there, to comment out something is actually pretty easy:
There are 2 ways to do so:
1.) // Everything after // is commented out but only in this Line!
//This line is commented out _code = player distance _object; //Text after Code is Commented out
2.) Comment out serveral lines using /* at the beginning and */ at the end. Everything inbetween of them is commented out
/* INBETWEEN COMMENTED OUT LINE 1 INBETWEEN COMMENTED OUT LINE 1 INBETWEEN COMMENTED OUT LINE 1 INBETWEEN COMMENTED OUT LINE 1 */
You can observe both methods in your mentioned Block:
//Towing with tow truck /* if(_typeOfCursorTarget == "TOW_DZE") then { if (s_player_towing < 0) then { if(!(_cursorTarget getVariable ["DZEinTow", false])) then { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""]; } else { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true, "",""]; }; }; } else { player removeAction s_player_towing; s_player_towing = -1; }; */
To insert something below the Block means to insert it right under/after the mentioned code.
In your case it would look like this:
//Towing with tow truck <- Commented out /* <- Begin comment out if(_typeOfCursorTarget == "TOW_DZE") then { if (s_player_towing < 0) then { if(!(_cursorTarget getVariable ["DZEinTow", false])) then { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""]; } else { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true, "",""]; }; }; } else { player removeAction s_player_towing; s_player_towing = -1; }; End comment out -> */ // MF-Tow Script by Matt Fairbrass (matt_d_rat) <- commented out again call compile preprocessFileLineNumbers 'addons\mf-tow\init.sqf'; //<- Actual Code with my commented out comment xD
Ahh, thank you so much! I'm going to go try this right now! So basically, what you're saying is that the towing with tow truck code is already commented out, and the only code I really need for the mf-tow is
call compile preprocessFileLineNumbers 'addons\mf-tow\init.sqf'
?
-
So, I have been wanting to add MF-TOW to my server for about a day now, but I have been stuck on something... It says " This is the built in DayZ Epoch towing call, ensure that it is commented out so that it doesn't interfear with MF-Tow. Below this block of code, add the following line to initiate the MF-Tow script. " How do I comment out a code... It's also asking to put the following line below the block of code, how would I do that? I'm new to all this, so please help me, as I plan to get better. Here is the code by the way.
Comment out this
//Towing with tow truck /* if(_typeOfCursorTarget == "TOW_DZE") then { if (s_player_towing < 0) then { if(!(_cursorTarget getVariable ["DZEinTow", false])) then { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""]; } else { s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true, "",""]; }; }; } else { player removeAction s_player_towing; s_player_towing = -1; }; */
Then add this below the block..
// MF-Tow Script by Matt Fairbrass (matt_d_rat) call compile preprocessFileLineNumbers 'addons\mf-tow\init.sqf';
Thanks
-
_vehicle_5 = objNull; if (true) then { _this = createVehicle ["MAP_b_betulaHumilis", [4048.9565, 7805.9746], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setPos [4048.9565, 7805.9746]; };
to
_vehicle_5 = objNull; if (true) then { _this = createVehicle ["fiberplant", [4050.6616, 7809.3203], [], 0, "CAN_COLLIDE"]; _vehicle_5 = _this; _this setPos [4050.6616, 7809.3203]; }; Do the usual changes for a building file and save it as weedfarm.sqf then go to your server.pbo and put it in buildings folder.
What are the usual changes for a building file? :3 -
This servercleanup.fsm or whatever it's called (Been a while since i hosted an Epoch server) is killing you cause it thinks you scripted the bike (which you technically did), you have to add an exception to the bikes classname.
See for the answer.
Good luck :)
So basically, I read the post.. Now I don't quite understand 1 thing.. am I supposed to put like the vehicle name in near the Mission part?
if(vehicle _x != _x && (vehicle _x getVariable ["Mission",0] != 1) && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then {
-
So, I have been trying to add a Action Menu to my server.. It works perfectly fine, but when I deploy a bike, it kills me.. I am using This Action Menu and the infiSTAR anti hack.. Now, I think I know the problem, but I can't get it to work.. In my AHconfig.sqf there is a line like this.
/* ALLOWED CMDMenus */ _cMenu =
Now, it says on the action menu read me, to add this
,'#USER:ActionMenu','#USER:ActionMenua','#USER:SkyMenu','#USER:FogMenu','#USER:SkyMenu2','#USER:FogMenu2','#USER:_DeployMenu'
Now, I tried doing that, but it doesn't work.. What am I doing wrong.. Excuse my noobiness. ;/
-
What is the BecError log saying?
In the error log it said.. 16:36:09 : Warning, Unexpected error in verified check. Processing info later.
-
What is the BecError log saying?
00:30:00 : RCon admin #1 (216.231.138.224:53407) logged in00:41:27 : RCon admin #0: (Global) BEC : ServerIP: 123.123.123.123:2342 | Website: domain.com | Teamspeak: myawesomets3.com01:00:00 : RCon admin #1 (216.231.138.224:62292) logged in01:30:00 : RCon admin #1 (216.231.138.224:53043) logged in01:41:27 : RCon admin #0: (Global) BEC : ServerIP: 123.123.123.123:2342 | Website: domain.com | Teamspeak: myawesomets3.com02:00:01 : RCon admin #1 (216.231.138.224:49607) logged in02:26:27 : RCon admin #0: (Global) BEC : Server Restart in 10 minutes02:30:00 : RCon admin #1 (216.231.138.224:51584) logged in02:31:27 : RCon admin #0: (Global) BEC : Server Restart in 5 minutes02:35:27 : RCon admin #0: (Global) BEC : Server Restart in 60 seconds, logout to avoid gear loss02:35:57 : RCon admin #0: (Global) BEC : Server Restart in 30 seconds02:36:17 : RCon admin #0: (Global) BEC : Server Restart in 10 seconds02:36:28 : Lost Connection!02:36:28 : Closing socket & exiting!02:44:24 : Rcon client logging in02:44:24 : RCon admin #0 (216.231.138.224:64375) logged in03:00:00 : RCon admin #1 (216.231.138.224:51397) logged in03:30:00 : RCon admin #1 (216.231.138.224:58200) logged in03:49:21 : RCon admin #0: (Global) BEC : ServerIP: 123.123.123.123:2342 | Website: domain.com | Teamspeak: myawesomets3.com04:00:00 : RCon admin #1 (216.231.138.224:50736) logged in04:30:00 : RCon admin #1 (216.231.138.224:51979) logged in -
So, I set up BEC earlier and waited 3 hours to see if the server restarts with the messages and everything. Now the server restarted, but it didn't come back up.. What's wrong? I use Vilayer.. The messages work btw.
<?xml version="1.0"?> <Scheduler> <!-- See: http://ibattle.org/install-and-configure/setting-up-the-scheduler --> <!-- Restart Messages --> <job id="0"> <time>025000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server Restart in 10 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>025500</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server Restart in 5 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>025900</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server Restart in 60 seconds, logout to avoid gear loss</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>025930</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server Restart in 30 seconds</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>025950</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Server Restart in 10 seconds</cmd> <cmdtype>0</cmdtype> </job> <!-- run every 1h with a 5min delay on startup --> <job id="5"> <time>010000</time> <delay>000500</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 ServerIP: 123.123.123.123:2342 | Website: domain.com | Teamspeak: myawesomets3.com </cmd> <cmdtype>0</cmdtype> </job> <!-- RESTART SERVER --> <job id="6"> <time>030000</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> </Scheduler>
-
No, it has nothing to do with AH, don't worry. Those are BEC messages.
Yes, I know they are. But i use vilayer and it has Battleye Extended Controls. am I able to use the server messages addon that they provide me with, with your code?
-
Thanks, I saw this earlier and was wondering if it would mess anything up with my admin tool / anti hack ( infiSTAR ) Does it break anything?
-
Hey, I was wondering if someone could help me with the restart messages. I currently have the server restart every 2 hours. Thank you <3
Adding Barracks
in Scripting
Posted
Disregard this comment.. lol.