• 0
Sign in to follow this  
Followers 0
Aimovoria

Restarting 6h/AI Difficulty/Loot tables

Question

Hello there,

I have few questions about some sort of things that I cannot resolve after did researching here on forum and even finding answers.. But seems not work.

FIRST QUESTION 1)
Few days ago I've rented dedicated game server at one of hosting providers which I won't advertise. It's not topic about it.
They have forum which probably got answers to my question but problem is, that they're all in German language, so... no clue :)
And after setting up some mods / BEFilters to prevent kicking / adjusting few configs and so on.. I came across problem with restarting the server within six hours (6h)..
In web configurator from hosting provider I changed and added proper lines to utilize this restarts.. Below is screenshot to prove it.

Spoiler

game_server_restart_setup.png

After this it didn't worked. So after doing some research in FTP files and on forum topics I came across file - "@ExileServer/addons/exile_server_config.pbo/config.cpp".
I changed the proper file "config.cpp" and adjusted the line "restartTimer[] = {6, 0};".

Spoiler

class RCON
	{
		/*
			Note that for this to work you need to have serverCommandPassowrd defined in config.cfg and BE enabled
		*/

		// This needs to match config.cfg serverCommandPassword
		serverPassword = "blabla";

		// Autolocks server until its ready to accept players
		useAutoLock = 0;

		// Server will autoLock at that time before restart (minutes)
		restartAutoLock = 3;

		/*
			Number of hours and minutes of your restart period.

			Examples:

			{4, 0} = Every 4 hours
			{1, 30} = Every one and a half hour (who the hell would do this?)
		*/
		restartTimer[] = {6, 0};

		/*
			Kicks players before restart to prevent gear loss.
			We strongely recommend to use this!

			0 = off
			1 = on
		*/
		useAutoKick = 1;

		/*
			Number of minutes before the server kicks players that did
			not disconnect before the restart. Should at least be two
			minutes!
		*/
		kickTime = 2;

		/*
			Self-explanatory

			0 = off
			1 = on
		*/
		useRestartMessages = 1;

		/*
			Number of minutes before the restart to inform your players.

			Only use full minutes here. Value like 5.5 have not been tested.
		*/
		restartWarningTime[] = {15, 10, 5, 3}; 

		/* 
			If set to 1 server will execute '#shutdown',
			to try to shutdown the server
		*/

		useShutdown = 0;
	};

 

It didn't worked. So going on I changed the "serverPassword=""" to fit in this file and "config.cfg". Still it doesn't work.
Server keeps restarting within 3 hours even after saving this / uploading. I have no clue how to solve it :(

SECOND QUESTION 2)
On the other hand after playing few missions/random events in Exile using DMS / ZCP Missions / AI Roaming in Regular difficulty, I decided to change it to Veteran.
So, after changing this in web configurator from hosting provider at file "server.cfg" which refers to "arma3/config/server.cfg" the line |difficulty = "Regular";| to |difficulty = "Veteran";| and restarting..

Spoiler

game_server_difficulty_setup.png

It did worked. But because of my friend and mostly people need I deciced to change the Veteran to use ThirdPersonView. After searching in cfg files in mpmissions / Exile / ExileServer / config and so on I couldn't find it. So I managed to find it in ArmA3 Profile on server side just like it works on client side. So I opened "/arma3/config/Users/arma3/arma3.ArmA3Profile" and changed variable from 0 to 1 at line |3rdPersonView=1;|. And this is how it looks in my file "arma3.ArmA3Profile".

Spoiler

class Difficulties
{
	class Recruit
	{
		class Flags
		{
			Armor=1;
			FriendlyTag=1;
			EnemyTag=1;
			HUD=1;
			HUDPerm=1;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=1;
			AutoAim=1;
			AutoGuideAT=1;
			3rdPersonView=1;
			ClockIndicator=1;
			Map=1;
			Tracers=1;
			AutoSpot=1;
			UltraAI=0;
			DeathMessages=1;
			NetStats=1;
			VonID=1;
		};
		skillFriendly=0.34999999;
		skillEnemy=0.34999999;
		precisionFriendly=0.2;
		precisionEnemy=0.2;
	};
	class Regular
	{
		class Flags
		{
			Armor=1;
			FriendlyTag=1;
			EnemyTag=0;
			HUD=1;
			HUDPerm=0;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=1;
			AutoAim=0;
			AutoGuideAT=0;
			3rdPersonView=1;
			ClockIndicator=1;
			Map=1;
			Tracers=1;
			AutoSpot=0;
			UltraAI=0;
			DeathMessages=1;
			NetStats=1;
			VonID=1;
		};
		skillFriendly=0.44999999;
		skillEnemy=0.44999999;
		precisionFriendly=0.34999999;
		precisionEnemy=0.34999999;
	};
	class Veteran
	{
		class Flags
		{
			Armor=0;
			FriendlyTag=0;
			EnemyTag=0;
			HUD=1;
			HUDPerm=0;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=0;
			AutoAim=0;
			AutoGuideAT=0;
			3rdPersonView=1;
			ClockIndicator=1;
			Map=0;
			Tracers=1;
			AutoSpot=0;
			UltraAI=0;
			DeathMessages=1;
			NetStats=1;
			VonID=1;
		};
		skillFriendly=0.44999999;
		skillEnemy=0.44999999;
		precisionFriendly=0.34999999;
		precisionEnemy=0.34999999;
	};
	class Expert
	{
		class Flags
		{
			Armor=0;
			FriendlyTag=0;
			EnemyTag=0;
			HUD=1;
			HUDPerm=0;
			HUDWp=1;
			HUDWpPerm=1;
			WeaponCursor=0;
			AutoAim=0;
			AutoGuideAT=0;
			3rdPersonView=0;
			ClockIndicator=1;
			Map=0;
			Tracers=1;
			AutoSpot=0;
			UltraAI=0;
			DeathMessages=0;
			NetStats=0;
			VonID=0;
		};
		skillFriendly=0.94999999;
		skillEnemy=0.94999999;
		precisionFriendly=0.94999999;
		precisionEnemy=0.94999999;
	};
};
singleVoice=0;
maxSamplesPlayed=96;
volumeCD=10;
volumeFX=10;
volumeSpeech=10;
volumeVoN=10;
vonRecThreshold=0.029999999;
sceneComplexity=400000;
shadowZDistance=100;
viewDistance=2000;
preferredObjectViewDistance=800;
terrainGrid=25;

 

After restarting Veteran indeed works. There is no Enemy / Friendly markers and so on but... 3rdPersonView doesn't work... And again.. I have no clue why this isn't working :(

THIRD-FOURTH QUESTION 3-4)
And the last two questions are:

  1. Is there any possibility to change loot tables (like utilize some stuff to don't spawn or less) in more convenient way than #hashing each line of code?
  2. And the last question is... I don't remember :D

Thank You for reading all this stuff and answering my probably dumb questions.
Have a nice day/night,
Aimovoria.

Edited by Aimovoria

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Hello there.

This option will do the trick if you'll set useShutdown = 0; to 1 and serverPassword = "blablabla"; is real password for your server.

On 25.01.2017 at 8:43 AM, Aimovoria said:

I changed the proper file "config.cpp" and adjusted the line "restartTimer[] = {6, 0};".

About 3dPersonView try this.

Nice joke! ;-)

On 25.01.2017 at 8:43 AM, Aimovoria said:

did researching here on forum and even finding answers..

Good luck.

Edited by exilerist

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.