Jump to content
  • 0

Question

Hi.

Im a newby server owner and i want some help with some rpt errors i see.

Basically my missions start and after 2-3 hours stop spawning new ones

Any help would be appreciated

here is an error i see often:

13:41:10 Error in expression <;
_activatingPlayer =  _this select 4;

if(_donotusekey) then {
_isOK = true;
} >
13:41:10   Error position: <if(_donotusekey) then {
_isOK = true;
} >
13:41:10   Error if: Type String, expected Bool
13:41:10 File z\addons\dayz_server\compile\server_publishVehicle2.sqf, line 11

Can someone help me out?

Share this post


Link to post
Share on other sites

19 answers to this question

Recommended Posts

  • 1
54 minutes ago, totis said:

13:41:10 File z\addons\dayz_server\compile\server_publishVehicle2.sqf, line 11

So this is a file you usually don't have to edit when running missions. Have you other scripts than the WAI mission system?

Share this post


Link to post
Share on other sites
  • 1

What's your server fps when they stop spawning? 

By default missions stop spawning at 5fps 

Also, you say you have no bandit missions, I presume you've set that in the WAI_bandit_limit?

What have you got listed in  wai_bandit_missions? Seem to recall reading some issues someone had with that, either they removed them all or they didn't add up to 100 even though they werent being used. 

Share this post


Link to post
Share on other sites
  • 0

I see also this:

 

14:33:54 Error in expression <ret = _this select _ret;           
};

_ret;>
14:33:54   Error position: <_ret;>
14:33:54   Error Undefined variable in expression: _ret
14:33:54 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24
14:33:54 Warning Message: Script z\addons\dayz_server\WAI\missions\bandit\any.sqf not found
14:33:54 Error in expression <dayz_server\WAI\missions\bandit\%1.sqf",_mission];
};

};
sleep 5;
};
};>
14:33:54   Error position: <_mission];
};

};
sleep 5;
};
};>
14:33:54   Error Undefined variable in expression: _mission
14:33:54 File z\addons\dayz_server\WAI\missions\init.sqf, line 89

Share this post


Link to post
Share on other sites
  • 0
29 minutes ago, totis said:

14:33:54 File z\addons\dayz_code\compile\BIS_fnc\fn_selectRandom.sqf, line 24

Okay that's pretty weird because that's a file from your client files and a BIS function (Bohemia Interactive Studio implemented) so there should be no error.

First of all, are you using 1.0.5.1 or 1.0.6.1?

Share this post


Link to post
Share on other sites
  • 0

yes i have some custom missions.

All missions work when set to spawn alone in my test server and also all missions custom or not work until around 2-3 hour mark and then stop spawning.

Only logs on rpt are those 2 above. And the one points to bandit missions which i have set to 0!

Share this post


Link to post
Share on other sites
  • 0

I have one mission that gives loor diff vehicles than the one already deafault.

I added a category on wai config like this:

        armed_vehicle             ["ArmoredSUV_PMC_DZE","GAZ_Vodnik_DZE","HMMWV_M1151_M2_CZ_DES_EP1_DZE","HMMWV_M998A2_SOV_DES_EP1_DZE","LandRover_MG_TK_EP1_DZE","LandRover_Special_CZ_EP1_DZE","Pickup_PK_GUE_DZE","Pickup_PK_INS_DZE","Pickup_PK_TK_GUE_EP1_DZE","UAZ_MG_TK_EP1_DZE"];
        heavy_armed_vehicle         = ["BMP3","T72_INS","BTR60_TK_EP1","AW159_lynx_baf","Ka52Black"];
        armed_chopper                 = ["CH_47F_EP1_DZE","UH1H_DZE","Mi17_DZE","UH60M_EP1_DZE","UH1Y_DZE","MH60S_DZE"];

and added randomly taking one of the vehis on heavy armed vehicle category.

Maybe thats what is causing this mayhem? but again mission works alone, problem only appears after 2-3 hours

Share this post


Link to post
Share on other sites
  • 0

I think that was build-in from provider salival.

I can see a config in bike folder where gems are used for crafting items so i think maybe thats the script?

You propose to disable crafting with gems?

In any case do you think that its capable of stopping missions from spawn?

 

Share this post


Link to post
Share on other sites
  • 0

I don't think that's the issue that's causing missins to spawn any longer. Anyways it's a problem. Even if errors don't seem to influence something, it's mostly the case tho, especially performance. What so ever, if it's built-in from a provider, the provider is shit. I would highly recommend you to start with a fresh copy of 1.0.6.1.

If you need any help with installing scripts let us know but I can definetly say that you gain more experience in being a server admin if you start from scratch. The WAI system is pretty easy to install by the way and it should cause no errors. I suggest you use the upgraded version from JasonTM, he included all overwatch weapons aswell and added some additional configuration.

Share this post


Link to post
Share on other sites
  • 0
22 minutes ago, totis said:

I think that was build-in from provider salival.

I can see a config in bike folder where gems are used for crafting items so i think maybe thats the script?

You propose to disable crafting with gems?

In any case do you think that its capable of stopping missions from spawn?

 

Well, that script has not been updated to work with how it should publish permanent items, so yes, you will need to disable that otherwise you will continue to get that error

No, that will not be stopping missions from spawning.

Your mission problem seems to me like your bandit array: https://github.com/worldwidesorrow/Wicked-Ai-Overpoch/blob/master/WAI/config.sqf#L201 is broken and it  can't find a random one to spawn.

Share this post


Link to post
Share on other sites
  • 0

The weird thing is i believe somehow is affected by server performance cause on my test server i cant replicate the problem while on the main cause its more stressed from ppl playing its there. and all these points logically to server fps being low but its not.

Salival i have 0 set to bandit missions but i took the advice from iwbuk to add missions there even though i only run hero missions.

I will disable gem cradting and test again just to be sure if  adding of bandit missions dont work.

If all fails a new server install might be only option left.

Can you advice me if the way i did the heavy armored vehilcle missions is correct?

I added a  new category to wai config like this:

heavy_armed_vehicle         = ["BMP3","T72_INS","BTR60_TK_EP1","AW159_lynx_baf","Ka52Black"];

and pointed my mission like this:

    _vehclass         = heavy_armed_vehicle call BIS_fnc_selectRandom;
    _vehname         = getText (configFile >> "CfgVehicles" >> _vehclass >> "displayName");

How it looks?

 

Share this post


Link to post
Share on other sites
  • 0

What is your server fps, note this is server, not client as reported by infistar etc. It's reported in your rpt, or you can log in as admin by typing #login yourpassword and then type #monitor in the chat box. 

Share this post


Link to post
Share on other sites
  • 0

tnx all for helping and iwbuk you were right. some bug there was calling hero missions even though it was set to 0.

Now the question, how to make hero missions be called 'bandit' and edit to give humanity?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Adam1911
      TWZ - The Walking Z Overpoch Server
      Server IP: 54.37.244.16:2302
      Discord: Discord
      Website: Website
      Top Server Features:
      PvE Only Server.
      Dedicated server for max performance.
      6 Hour Restarts.
      Full day/night cycle. (No Voting)
      Indestructible bases.
      Custom AI Missions.
      High loot spawns.
      Slow (Walking) Zombies.
      Custom Traders. (10k/50k/100k/500k humanity)
      Paychecks every hour. (Scales with humanity)
      Humanity Quests.
      Anit Stealing for all vehicles. (Prevents anyone from stealing your vehicles)
      Simi Militarised.
    • By Pickle Rick
      ip - 192.154.248.253
      Discord.gg/9m99XxM
      NEW SERVER UP AND RUNNING.. FULL OF AI, PVP HELL...  Stop in and ask Pickle Rick or OTROD for a free tank

    • By Voltan
      Hey guys, (@salival hoping you can assist here buddy)
      I will preface this by saying that I am using Epoch 1.0.5.1 and server files provided by @Ultima_weapon
      I am getting this error in my console from WAI:
      I found something related here on page 7 here:
      https://epochmod.com/forum/topic/43666-release-wicked-ai-223-106/page/7/
      But this did not fix my issue.
      Here is the spawn_group.sqf:
      and the spawn_static.sqf:
      Anyone know what could cause this?
    • By Vladick
      BSBS Server IP: 216.244.93.103:7802
      Website: https://bsbsepoch.000webhostapp.com/
      Discord: https://discord.gg/PVn8PvG
      Server Features:
      PvPvE Database wiped 1/5/18 ESS V3 spawn selection Coins and Global Banking WAI missions and Roaming DZAI Bandits Customized map additions Skalisky Bridge Skalisky Island Bandit Camp with high loot (fun mission!) Garage Door Opener Virtual Garage Deploy bike Refuel, Repair, Rearm Take clothes Bury Body Butcher Body Locate vehicle with keys and GPS One plot poll per player Indestructible bases Trader Safe Zones Day/Night Schedule 4-hour restarts
    • By heiko33
      Downlod        
      https://ln.sync.com/dl/043e1b3c0/wkrywtzv-idjkp722-wzfqg9g6-53b7xfyj
       
       
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...