Jump to content
tophe

Tophe's Arma Dedicated Server Tool (TADST)

Recommended Posts

- The <> is a request for being able to run server and multiple clients on one machine.

Was my request and I am so so greatfull for adding it thanks you so much.

Thanks for this great tool as I have said hundreds of times if it was not for you making a dedi server for me and my mates would not be possible.

Thanks

Share this post


Link to post
Share on other sites

@zuff: Thank you for going through the trouble of recording that! I can not for the life of me understand why this is happening on your system.

I think I know just about what goes wrong.. but not why.

When you start for the first time a profile file is generated, and then it's read back into the gui.

This happens when you click the reset button in Diffculty Settings as well. For some reason you seem to get a bad file generated and then the controls go out the window (pun unintended) when it is read back.

I'll start looking at it and see what I can come up with. Might have to rebuild the entire system around that file.

Here's a generated profile file:

class Difficulties

{

class Recruit

{

class Flags

{

3rdPersonView=1;

armor=1;

autoAim=0;

autoGuideAT=1;

autoSpot=1;

cameraShake=0;

clockIndicator=1;

deathMessages=1;

enemyTag=0;

friendlyTag=1;

hud=1;

hudGroupInfo=1;

hudPerm=1;

hudWp=1;

hudWpPerm=1;

map=1;

netStats=1;

tracers=1;

ultraAI=0;

unlimitedSaves=1;

vonID=1;

weaponCursor=1;

};

skillFriendly=1;

precisionFriendly=1;

skillEnemy=0.55;

precisionEnemy=0.3;

};

class Regular

{

class Flags

{

3rdPersonView=1;

armor=1;

autoAim=0;

autoGuideAT=1;

autoSpot=1;

cameraShake=1;

clockIndicator=1;

deathMessages=1;

enemyTag=0;

friendlyTag=1;

hud=1;

hudGroupInfo=1;

hudPerm=1;

hudWp=1;

hudWpPerm=1;

map=1;

netStats=1;

tracers=1;

ultraAI=0;

unlimitedSaves=1;

vonID=1;

weaponCursor=1;

};

skillFriendly=1;

precisionFriendly=1;

skillEnemy=0.7;

precisionEnemy=0.5;

};

class Veteran

{

class Flags

{

3rdPersonView=1;

armor=0;

autoAim=0;

autoGuideAT=0;

autoSpot=0;

cameraShake=1;

clockIndicator=0;

deathMessages=1;

enemyTag=0;

friendlyTag=0;

hud=1;

hudGroupInfo=0;

hudPerm=0;

hudWp=1;

hudWpPerm=0;

map=0;

netStats=1;

tracers=0;

ultraAI=0;

unlimitedSaves=0;

vonID=1;

weaponCursor=1;

};

skillFriendly=1;

precisionFriendly=1;

skillEnemy=0.9;

precisionEnemy=0.75;

};

class Mercenary

{

class Flags

{

3rdPersonView=0;

armor=0;

autoAim=0;

autoGuideAT=0;

autoSpot=0;

cameraShake=1;

clockIndicator=0;

deathMessages=0;

enemyTag=0;

friendlyTag=0;

hud=0;

hudGroupInfo=0;

hudPerm=0;

hudWp=0;

hudWpPerm=0;

map=0;

netStats=0;

tracers=0;

ultraAI=0;

unlimitedSaves=0;

vonID=0;

weaponCursor=0;

};

skillFriendly=1;

precisionFriendly=1;

skillEnemy=1;

precisionEnemy=1;

};

};

sceneComplexity=300000;

shadingQuality=7;

shadowQuality=3;

viewDistance=2000;

terrainGrid=25;

Try opening your default .TA2DST file and replace it with this text:

// Settings file for TA2DST v1.4

true

false

2302

10

3

2

0

false

false

false

false

3

33

false

false

3

128

512

256

128

2000

0.010

160

25

2000

True

True

False

True

True

False

True

True

False

True

True

True

True

True

True

True

True

True

False

True

True

True

True

True

False

True

True

True

True

True

False

True

True

True

True

True

True

True

True

True

False

True

True

True

True

False

False

False

False

True

False

True

False

False

True

False

False

True

False

False

True

False

False

False

True

True

False

False

False

False

False

True

False

False

False

False

False

False

False

False

False

False

False

False

False

False

False

False

1

1

0,55

0,3

1

1

0,7

0,5

1

1

0,9

0,75

1

1

1

1

1

0

0

true

0.010

false

:::MISSIONS:::

:::CHECKED MISSIONS:::

:::MODS:::

:::CHECKED MODS:::

You will need to refresh missions and mods.

Share this post


Link to post
Share on other sites

I'll try those, thanks!

You think it could have to do with permissions, steam, or the fact my drive letter is D?

Share this post


Link to post
Share on other sites

@Tophe

I get exactly the same error as Zuff. My ArmA 2 folder is located in D:\Games\Bohemia Interactive\ArmA 2. I deleted the old TA2DST folder and started from fresh. Go figure! :confused:

Previous version works fine on both of my computers, both on D: drives.

Share this post


Link to post
Share on other sites

It might have to do with permissions, but I don't think so. D:\ is not a problem.

I'll start building a new system for the difficulty tab instead.

My code is a mess... Used this project to learn OOP and C#. It's starting to backfire when you reach 4000 lines of unordered code.

Time to refactor and rebuild a lot of objects!

Share this post


Link to post
Share on other sites

Well maybe you can just include default settings/config files with the install.

I havent got home yet to see if resetting the file after your default config files are added works yet.

Do you have another system you can test this on? Like a laptop or virtual drive?

Share this post


Link to post
Share on other sites

That is really strange. I have tested it on 5 different systems.

Share this post


Link to post
Share on other sites

Do you lot that have issues have UCC turned on ( I think its called UCC in win7).

Share this post


Link to post
Share on other sites
Do you lot that have issues have UCC turned on ( I think its called UCC in win7).

I have UCC turned off.

Share this post


Link to post
Share on other sites

Tophe I tried those configs you provided and pasted them into TA2DST.ArmA2OAProfile and TA2DST.ArmA2Profile and still did not have the difficulty numbers show up in the program. I still got the error when trying to reset.

There is something wrong with the parameter Value with an ID of 55

It thinks it should be between 'Minimum' and 'Maximum', and doesn't seem to accept numbers.

The error is as follows:

Value of '55' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value

Settings file is corrupted.
You should reset it to default settings to fix the problem.

Do you want to rest the file?

Googling this it seems to be a .NET issue:

http://support.microsoft.com/kb/838087

So I'm uninstalling and reinstalling .NET Framework 4 from here:

http://www.microsoft.com/en-us/download/details.aspx?id=17851

I'll edit this post after I do so.

Share this post


Link to post
Share on other sites
Tophe I tried those configs you provided and pasted them into TA2DST.ArmA2OAProfile and TA2DST.ArmA2Profile and still did not have the difficulty numbers show up in the program. I still got the error when trying to reset.

There is something wrong with the parameter Value with an ID of 55

It thinks it should be between 'Minimum' and 'Maximum', and doesn't seem to accept numbers.

The error is as follows:

Value of '55' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value

Settings file is corrupted.
You should reset it to default settings to fix the problem.

Do you want to rest the file?

Googling this it seems to be a .NET issue:

http://support.microsoft.com/kb/838087

So I'm uninstalling and reinstalling .NET Framework 4 from here:

http://www.microsoft.com/en-us/download/details.aspx?id=17851

I'll edit this post after I do so.

Thank you. You could try that, but I'm afraid the problem is probably in my program. It is written in C# (.net) so all problems should be .net issues.

It is a bunch of controls that for some weird reason gets fed the wrong numbers. That must be because a arma profile-file gets generated wrong.

I know where the problem is, and what files are causing the problem, but I do not know why. But i'm working on it. Next release will not take a year ;-)

Share this post


Link to post
Share on other sites

@Tophe

I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time. ;)

Share this post


Link to post
Share on other sites
@Tophe

I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time. ;)

Haha... like an old car. Do you get all your numbers?

Share this post


Link to post
Share on other sites
@Tophe

I got rid of the error by going to Server Details tab and entered -nosplash for example in the parameters box saved it and quit. Restarted and no error, i deleted -nosplash saved and quit, then restarted and again no errors. Weird but it solved the issue for me. Starts up every time. ;)

Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.

EDIT: Tophe have you searched your source for anything with '55' as the value? Maybe it's missing a semi-colon above that line or something? I'm no programmer but I do web development and that's what always causes my problems :P

EDIT 2: I tried changing all of the difficulty numbers in the config files themselves then loaded the programs but they were still blank in the program. It seems it can write to the config files but has issues reading them.

Edited by zuff

Share this post


Link to post
Share on other sites
Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.

The error appeared every time i fired it up, even after it created a profile folder. Now the error has gone, so hopefully it will point him in the right direction and Tophe will at some point sift through his code for the cause of the '55' error. ;)

Share this post


Link to post
Share on other sites
Thats because the error occurs when TA2DST is ran the first time and creates its profile folder and settings.

EDIT: Tophe have you searched your source for anything with '55' as the value? Maybe it's missing a semi-colon above that line or something? I'm no programmer but I do web development and that's what always causes my problems :P

EDIT 2: I tried changing all of the difficulty numbers in the config files themselves then loaded the programs but they were still blank in the program. It seems it can write to the config files but has issues reading them.

There are no errors in the code, it wouldn't compile then (that still doesn't mean that the code won't do weird things).

I think I know where the problem is, but I will have to rebuild the settings system to something better.

I will try to find a temporary fix for the problem though.

Do you think you could post your TA2DST.ArmA2OAProfile content in a spoiler tag?

This is the file that is read back when the reset button is pressed in difficulty settings.

Edited by Tophe

Share this post


Link to post
Share on other sites

Sure

class Difficulties
{
class Recruit
{
	class Flags
	{
		3rdPersonView=1;
		armor=1;
		autoAim=0;
		autoGuideAT=1;
		autoSpot=1;
		cameraShake=0;
		clockIndicator=1;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=1;
		hud=1;
		hudGroupInfo=1;
		hudPerm=1;
		hudWp=1;
		hudWpPerm=1;
		map=1;
		netStats=1;
		tracers=1;
		ultraAI=0;
		unlimitedSaves=1;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=1;
	precisionFriendly=1;
	skillEnemy=0.55;
	precisionEnemy=0.3;
};
class Regular
{
	class Flags
	{
		3rdPersonView=1;
		armor=1;
		autoAim=0;
		autoGuideAT=1;
		autoSpot=1;
		cameraShake=1;
		clockIndicator=1;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=1;
		hud=1;
		hudGroupInfo=1;
		hudPerm=1;
		hudWp=1;
		hudWpPerm=1;
		map=1;
		netStats=1;
		tracers=1;
		ultraAI=0;
		unlimitedSaves=1;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=1;
	precisionFriendly=1;
	skillEnemy=0.7;
	precisionEnemy=0.5;
};
class Veteran
{
	class Flags
	{
		3rdPersonView=1;
		armor=0;
		autoAim=0;
		autoGuideAT=0;
		autoSpot=0;
		cameraShake=1;
		clockIndicator=0;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=0;
		hud=1;
		hudGroupInfo=0;
		hudPerm=0;
		hudWp=1;
		hudWpPerm=0;
		map=0;
		netStats=1;
		tracers=0;
		ultraAI=0;
		unlimitedSaves=0;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=1;
	precisionFriendly=1;
	skillEnemy=0.9;
	precisionEnemy=0.75;
};
class Mercenary
{
	class Flags
	{
		3rdPersonView=0;
		armor=0;
		autoAim=0;
		autoGuideAT=0;
		autoSpot=0;
		cameraShake=1;
		clockIndicator=0;
		deathMessages=0;
		enemyTag=0;
		friendlyTag=0;
		hud=0;
		hudGroupInfo=0;
		hudPerm=0;
		hudWp=0;
		hudWpPerm=0;
		map=0;
		netStats=0;
		tracers=0;
		ultraAI=0;
		unlimitedSaves=0;
		vonID=0;
		weaponCursor=0;
	};
	skillFriendly=1;
	precisionFriendly=1;
	skillEnemy=1;
	precisionEnemy=1;
};
};
sceneComplexity=300000;
shadingQuality=7;
shadowQuality=3;
viewDistance=2000;
terrainGrid=25;

EDIT - I see that the difficulty numbers are in there at first, but show up as 0's in the program. If I save my settings in the program it overwrites this file and makes them all zeros:

class Difficulties
{
class Recruit
{
	class Flags
	{
		3rdPersonView=1;
		armor=1;
		autoAim=0;
		autoGuideAT=1;
		autoSpot=1;
		cameraShake=0;
		clockIndicator=1;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=1;
		hud=1;
		hudGroupInfo=1;
		hudPerm=1;
		hudWp=1;
		hudWpPerm=1;
		map=1;
		netStats=1;
		tracers=1;
		ultraAI=0;
		unlimitedSaves=1;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=1.00;
	precisionFriendly=1.00;
	skillEnemy=0.00;
	precisionEnemy=0.00;
};
class Regular
{
	class Flags
	{
		3rdPersonView=1;
		armor=1;
		autoAim=0;
		autoGuideAT=1;
		autoSpot=1;
		cameraShake=1;
		clockIndicator=1;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=1;
		hud=1;
		hudGroupInfo=1;
		hudPerm=1;
		hudWp=1;
		hudWpPerm=1;
		map=1;
		netStats=1;
		tracers=1;
		ultraAI=0;
		unlimitedSaves=1;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=0.00;
	precisionFriendly=0.00;
	skillEnemy=0.00;
	precisionEnemy=0.00;
};
class Veteran
{
	class Flags
	{
		3rdPersonView=1;
		armor=0;
		autoAim=0;
		autoGuideAT=0;
		autoSpot=0;
		cameraShake=1;
		clockIndicator=0;
		deathMessages=1;
		enemyTag=0;
		friendlyTag=0;
		hud=1;
		hudGroupInfo=0;
		hudPerm=0;
		hudWp=1;
		hudWpPerm=0;
		map=0;
		netStats=1;
		tracers=0;
		ultraAI=0;
		unlimitedSaves=0;
		vonID=1;
		weaponCursor=1;
	};
	skillFriendly=0.00;
	precisionFriendly=0.00;
	skillEnemy=0.00;
	precisionEnemy=0.00;
};
class Mercenary
{
	class Flags
	{
		3rdPersonView=0;
		armor=0;
		autoAim=0;
		autoGuideAT=0;
		autoSpot=0;
		cameraShake=1;
		clockIndicator=0;
		deathMessages=0;
		enemyTag=0;
		friendlyTag=0;
		hud=0;
		hudGroupInfo=0;
		hudPerm=0;
		hudWp=0;
		hudWpPerm=0;
		map=0;
		netStats=0;
		tracers=0;
		ultraAI=0;
		unlimitedSaves=0;
		vonID=0;
		weaponCursor=0;
	};
	skillFriendly=0.00;
	precisionFriendly=0.00;
	skillEnemy=0.00;
	precisionEnemy=0.00;
};
};
sceneComplexity=300000;
shadingQuality=7;
shadowQuality=3;
viewDistance=2000;
terrainGrid=25.0;

Share this post


Link to post
Share on other sites

Hello Tophe,

first of all thank you very much for your great Tool, we appreciate that very much, cause it makes it so much easier for us to run our Arma 2 OA Server.

After using it for a while, i have only a small Question, and i find no awnser to it.

How can i configure more then 64 Players ??

Im able to put in 100 or more Players, but if i click on any other clickable Field it goes back to 64 Players.

It would be pleasant if you can help me with that.

Best Regards

Andy

Share this post


Link to post
Share on other sites
It might have to do with permissions, but I don't think so. D:\ is not a problem.

I'll start building a new system for the difficulty tab instead.

My code is a mess... Used this project to learn OOP and C#. It's starting to backfire when you reach 4000 lines of unordered code.

Time to refactor and rebuild a lot of objects!

Tophe,

If you need some help let me know, I have some C# exp. I understand if you don't want to open up the entire source, I would be willing to help out where needed even on just small blocks of code.

This tool has been a great help to me testing my scripts and addons in a dedi enviorment, I don't mind helping out in return.

Share this post


Link to post
Share on other sites
Hello Tophe,

first of all thank you very much for your great Tool, we appreciate that very much, cause it makes it so much easier for us to run our Arma 2 OA Server.

After using it for a while, i have only a small Question, and i find no awnser to it.

How can i configure more then 64 Players ??

Im able to put in 100 or more Players, but if i click on any other clickable Field it goes back to 64 Players.

It would be pleasant if you can help me with that.

Best Regards

Andy

Thank you Headshotlegende!

And thank you for pointing that out to me... really silly mistake on my behalf. I have removed that limitation for next release.

Tophe,

If you need some help let me know, I have some C# exp. I understand if you don't want to open up the entire source, I would be willing to help out where needed even on just small blocks of code.

This tool has been a great help to me testing my scripts and addons in a dedi enviorment, I don't mind helping out in return.

Thank you Riouken! That is really good to know. I think I'll keep learning with this project, but it's nice to have someone more for future projects.

Also I have a lot of help from Engima (the author of the Escape from Chernarus missions). He lives just a few blocks away from me and he's Chuck Norris at C#

Thank you for the offer! Gotta love this community!

Share this post


Link to post
Share on other sites

Is it possible to use this tool with Steam versions of the Arma2 Demo and Operation Arrowhead with the beta server?

Share this post


Link to post
Share on other sites

Heya Tophe sorry i didnt get to test latest beta for you,been away from Arma for a few weeks.

Ive just installed the latest version, now when i go a launch a server from it, it comes up with "arma has stopped working"

I'm sure there's just something i'm doing wrong/missing?

Any ideas?

EDIT:- Was the dsound.dll causing me grief lol

All sorted now, again thanks for this great tool! :cool:

Edited by ck-claw

Share this post


Link to post
Share on other sites
Is it possible to use this tool with Steam versions of the Arma2 Demo and Operation Arrowhead with the beta server?

Yep, that's what I do.

Interestingly, after running 1.4 with my 1.3 configs, I was still getting the startup error about "Value not valid". I deleted all my configs, started fresh with 1.4, and I think I still got the error once. After I saved some settings as the "default" profile, I stopped getting the error entirely. I think maybe it has something to do with not putting settings into the "default" profile, as before I had just used custom profiles exclusively.

Share this post


Link to post
Share on other sites

Hello my first post here and I have a small question.

A totally newbie question..

Where am I supposed to put the missions so they shows up in the server tool, I have tried different location but I haven't figured it out.

So an answer would be great!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×