Jump to content
  • 0

need help understanding where i messed up


FOXHOUND1776

Question

hello, my server went to crap after the update lol and i had to start over. my problem is i have heli liftin and towing and auto refuel installed and they work great, but i followed these instructions http://www.youtube.com/watch?v=aavPbobAMp4#t=119 to install ai on my server and i dont get any conflicting messages when i restart the server but i have no ai on the ground or in the air and i have been over the code several times and cant figure out whats going on. also i tried to add buildings at NWAF,NEAF and the bridge and nothing will not spawn. also im lookin to try to install this http://www.armaholic.com/page.php?id=10857 in my server and was wondering how id go about it.thank you.

 

 

dayz epoch 1.0.2.1

dayz.st

 

files

  https://www.dropbox.com/s/avyno2lmy89y197/dayz_mission.pbo

   https://www.dropbox.com/s/4zjmcc2tqqbvx9p/dayz_server.pbo                                                                                                         

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

The first thing you should do is check the arma2oaserver.RPT log for any errors. Usually it'll tell you what script messed up and what line is causing problems. I can't see anything wrong with your mission file, but something as simple as forgetting a semicolon could potentially break a script.

Link to comment
Share on other sites

  • 0

I don't use dayz.st, so I don't know much about them. Do they have a log viewer? Otherwise use the file manager to look through the server files. It should be in the same folder as your hive log and the Battleye logs. It might be named something else, but I'm pretty sure it'd still have the .rpt extension. It's basically the main log for the server and should be created once the server starts up.

 

 

Edit:

Something that might be the cause. In the init.sqf, try changing this line:

call compile preprocessFileLineNumbers "addons\SHK_pos\shk_pos_init.sqf";

to this:

call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";

That's what is in my file as well as another server I play on with Sarge AI.

Link to comment
Share on other sites

  • 0

sweet i found it in my dayz.st admin control panel    log files/parent directory/arma2aoserver.rpt     ok if im understanding you right, this report will tell me every time my coding is screwed up?  after i restart my server.      btw i changed the shk_pos  and i dont think it did anything cause it doesnt show up in the code. also should i post the code cause im not sure what i should do at this point? 

Link to comment
Share on other sites

  • 0

seccess   lololol   MRTelsla   your my hero bro  tytytytyvvvvm   i tweek and restart and got my ai to work, seems that the 3 building sqfs were in the wrong place in the init.sqf list. gona keep tweekin to see if i can get the buildings to work, also any ideals on how i can add this to my server ?

http://www.armaholic...ge.php?id=10857                 

 

                                                       btw  thank you very much    you saved me from pullin all my hair out on this ai thing    :)  

Link to comment
Share on other sites

  • 0

no i followed the instructions to the letter and alot of luck lol   check this out   hopefully if can help ya.

 

/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
 
//REALLY IMPORTANT VALUES
dayZ_instance = yourinstance; //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
 
//disable greeting menu 
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
 
// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
MaxHeliCrashes= 15; // Default = 5
MaxVehicleLimit = 500; // Default = 50
MaxDynamicDebris = 100; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30 
 
// Default Loadout config
DefaultMagazines = ["","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","7Rnd_45ACP_1911","7Rnd_45ACP_1911"];
DefaultWeapons = ["ItemMap","ItemWatch","ItemCompass","NVGoggles","Colt1911","ItemGPS"];
DefaultBackpack = "DZ_ALICE_Pack_EP1";
DefaultBackpackWeapon = "";
 
EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"]];
dayz_fullMoonNights = true;
 
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 1.0;
 
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
 
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
 
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
 
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
 
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
 
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
 
if ((!isServer) && (player != player)) then
{
  waitUntil {player == player}; 
  waitUntil {time > 3};
};
 
if (isServer) then {
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
 
// Add trader citys
_nil = [] execVM "mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
 
if (!isDedicated) then {[] execVM "Scripts\kh_actions.sqf";
[] ExecVM "custom_monitor.sqf";
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
 
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
 
//Lights
//[] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
};
#include "\z\addons\dayz_code\system\REsec.sqf"
 
//R3F Towing and shit (or whatever you want to title it)
[]execVM "R3F_ARTY_AND_LOG\init.sqf"
 
call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
 
call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";
 
[] execVM "addons\SARGE\SAR_AI_init.sqf";
Link to comment
Share on other sites

  • 0

btw ive been at this coding thing about 5 months with my server,  not sure if its all the hours sitting lookin at the same dam code or its thats its driving me insane but its starting to make sence lol.   and thank god for these guys.

 

 

 

refuel script           http://www.youtube.com/watch?v=j8ssDW8KB9o

towing                    http://www.youtube.com/watch?v=lp2nGDN6jGM

ai                            http://www.youtube.com/watch?v=aavPbobAMp4

 

 

i followed these instructions     if u get stuck   post the problem and ill look at it

Link to comment
Share on other sites

  • 0

btw ive been at this coding thing about 5 months with my server,  not sure if its all the hours sitting lookin at the same dam code or its thats its driving me insane but its starting to make sence lol.   and thank god for these guys.

 

 

 

refuel script           http://www.youtube.com/watch?v=j8ssDW8KB9o

towing                    http://www.youtube.com/watch?v=lp2nGDN6jGM

ai                            http://www.youtube.com/watch?v=aavPbobAMp4

 

 

i followed these instructions     if u get stuck   post the problem and ill look at it

I will, thanks. I understand more an more of code by just looking at it so i should be fine, im going to start small with AI refuel towing and debug monitor and work my way up. I'm gonna use some of your starter items too, just add  a map instead of gps and remove NV goggles :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...