Jump to content
ryahn

Server Tool Sigma | Alpha 1.52.3 | HOTFIX 157 | RELEASED

Recommended Posts

i also noticed that if i change

profile=cfgdayz

to something else i.e

profile=\cfgdayz\users\cfgdayz

I will get an battleye initialization failed when i try to start the server.. what does the profile have to do with battleye? :/

Share this post


Link to post
Share on other sites

It sounds like that yes. I will have to look into it.

Also updated the tool to include cpu priority v1.33

Also could you submit that to the issue tracker? http://code.google.c...gma/issues/list

i also noticed that if i change

profile=cfgdayz

to something else i.e

profile=\cfgdayz\users\cfgdayz

I will get an battleye initialization failed when i try to start the server.. what does the profile have to do with battleye? :/

You need to remove the forward slash from \cfgdayz\users\cfgdayz. So it should look like cfgdayz\users\cfgdayz

The system is setup to CD to the directory that your arma 2 oa is installed in.

Edited by Ryahn

Share this post


Link to post
Share on other sites

I tried with and without slash different folders, it still doesnt read my profile. i even copied the profile to all folders: cfgdayz, cfgdayz\Users, cfgdayz\users\cfgdayz, arma 2 operation arrowhead

Edited by Pheenix89

Share this post


Link to post
Share on other sites

The profile is usually set to cfgdayz. This will set the folders inside as follows Users\cfgdayz. There should be no need to set it any further than cfgdayz. If you want to change the name of where it saves, you just need to change -name=SE6 or whatever

Share this post


Link to post
Share on other sites

Still, what does the profile have to do with BE? i mean we already specified that folder in


#Locations
beroot2=SET beroot="Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"

its like its looking for \BattlEye folder in profile= and not for a .ArmA2OAProfile file

Share this post


Link to post
Share on other sites
beroot2=SET beroot="Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye"

This is for log rotations. Your profile is set for when the server runs.

%beroot2%

set firstline=New Line %dtStamp%

mkdir %beroot%\OldLogs\%dtStamp%\

copy %beroot%\scripts.log %beroot%\OldLogs\%dtStamp%\scripts.log

del /Q /F %beroot%\scripts.log

echo %firstline% > %beroot%\scripts.log

The profile is set here

start %priority% Expansion\beta\arma2oaserver.exe -beta=Expansion\beta;Expansion\beta\Expansion -mod=Expansion\beta;Expansion\beta\expansion;ca;@dayz;@hive %ipserv% %port% %name% %config% %cfg% %profile% %world% %cpu% %threads% %pid% %nocb% %maxmem% %nosound%

Share this post


Link to post
Share on other sites

My normal server start .bat file looks like this:


/High Expansion\beta\arma2oaserver.exe -mod=EXPANSION\beta;EXPANSION\beta\Expansion;EXPANSION;ca;@dayz;@hive -ip=***.***.224.154 -port=2302 -profiles=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\arma2.cfg -name=SE56 -world=Chernarus -cpuCount=4 -exThreads=1 -noSound -maxMem=2047 -noCB

if i start with that my difficulty will be veteran as specified in server.cfg

and in your config:


# Dayz Configurations
name=-name=SE56
config=-config=cfgdayz\server.cfg
cfg=-cfg=cfgdayz\arma2.cfg
profile=-profiles=cfgdayz
ipserv=-ip=***.***.224.154
port=-port=2302
world=-world=Chernarus
cpu=-cpuCount=4
threads=-exThreads=1
#What ever is set here, Must be set at pidfile
pid=-pid=Z:\tools\pid\pid.txt
nocb=-noCB
maxmem=-maxMem=2047
nosound=-noSound
#Priority for server|Can be set with - Realtime, High, AboveNormal, Normal, BelowNormal, Low
priority=/High

Which should be exactly the same;

My server shows as difficulty: recruit

Edited by Pheenix89

Share this post


Link to post
Share on other sites

Its weird. Its running fine on both of my servers. I have my server.cfg set to regular and it reflects it in game.

Is your server using the new or old difficulty file?

Share this post


Link to post
Share on other sites

Im not sure, would you mind posting the contents of a new difficulty file?

Share this post


Link to post
Share on other sites

Ok i dont know how or why it happend and or what it did, my server had created like 5x folders With users: BattlEye, SE56 and cfgdayz so i had the same files in 5 different locations dunno if it messed up a CD somewhere but in the last 4 folders the ArmA2OAProfile files were empty. I removed all the folders that shouldnt be there, its really Confusing

It created user folders in:

Z:\cfgdayz\users\cfgdayz\users\

arma2oa\cfgdayz\users\cfgdayz\users\cfgdayz\users\cfgdays

arma2oa\cfgdays\users\SE56\users\SE56\users

i think the Z:\ folder was created when i changed it to cfgdays\users in your config if i look at the time the folder was last changed~

still cant get it to work with ur tool

Share this post


Link to post
Share on other sites

Ok dude, im really sorry for an iinconvenience i may have caused, i realized it says recruit until someone has joined the server, so everytime i started with your tool there wasnt anyone in lobby yet. Everytime i started with .bat file there was always at least one there before i got to check. I feel really stupid. (o_o)

Edit: FYI Im using your tool now and its running flawless.

Edited by Pheenix89

Share this post


Link to post
Share on other sites

I am not releasing the source code. The only reason why it would be picked up as a possible virus is because it uses the taskkill and start commands in batch.

Share this post


Link to post
Share on other sites

Currently working on make the crash part of the script more versatile in detecting on when the server crashes.

Share this post


Link to post
Share on other sites

Still running flawless for me, it has restarted my server 2 times since yesterday, just as it is scheduled to do.

Share this post


Link to post
Share on other sites

Where i can find the Pid?? And where i find the line where i can configure the Auto restart?? :D

regards

Share this post


Link to post
Share on other sites

Where it shows

pid=-pid=C:\tools\pid\pid.tx

You will need to make sure you have the folders setup to that location. Do not make the text file as this is created by the server when its running.

To configure it to auto restart, you will use BEC. You will need to setup the scheduler.xml

Here is part of mine



<?xml version="1.0"?>
<Scheduler>

<!--
*** INTERNAL COMMANDS ***
-->




<!-- Show text ingame after 10 min with loop enabled -->
<job id="1">
<time>000600</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>say -1 Server restarts every day at 1AM, 7AM, 1PM and 7PM</cmd>
<cmdtype>0</cmdtype>
</job>


<!-- Restart/Log Rotation 1AM-->
<job id="4">
<time>01:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>C:\tools\servertools.exe</cmd>
<cmdtype>1</cmdtype>
</job>

<!-- Restart/Log Rotation 7AM-->
<job id="5">
<time>07:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>C:\tools\servertools.exe</cmd>
<cmdtype>1</cmdtype>
</job>

<!-- Restart/Log Rotation 1PM-->
<job id="6">
<time>13:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>C:\tools\servertools.exe</cmd>
<cmdtype>1</cmdtype>
</job>

<!-- Restart/Log Rotation 7PM-->
<job id="7">
<time>19:00</time>
<day>1,2,3,4,5,6,7</day>
<loop>1</loop>
<cmd>C:\tools\servertools.exe</cmd>
<cmdtype>1</cmdtype>
</job>

</scheduler>

The job id="#" must be in order. Mine isnt as shown, as I am just showing examples of it.

Edited by Ryahn

Share this post


Link to post
Share on other sites

My DayZ Server doesnt crate an PiD o.O

You need to make sure the pid=-pid=C:\tools\pid path is created. If neither of the folders are made, it wont work.

you can tell it to in the server.cfg i believe

Not in the cfg. Its in the start up parameters. Like -ip, -port etc

I am currently building an installer to install the files and create the folders

Share this post


Link to post
Share on other sites

Hmmm.. i dont know, Bec closes after launch.. I schould Start the Server before or after?? :D

Share this post


Link to post
Share on other sites

This is my .cfg You know why it Crashes?


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Example Config file for Bec.
# Everything is disabled by default
# Enable/disable a parameter by Comment/Uncomment it with a #
# You can also delete all parameters that are not in use.
# If you are unsure how to configure this file read the online docs.
# http://ibattle.org/install-and-configure/

#####################################################
[Bec]
Ip = 127.0.0.1
Port = 2302
BePath = E:\Steam\SteamApps\common\arma 2 operation arrowhead\cfgdayz\BattlEye
LogDir = MyServer1
Admins = Admins.xml
Commands = Commands.xml

#####################################################
## Optional settings for misc functions
[Misc]
#AsciiNickOnly = True
#AsciiChatOnly = True
#IgnoreChatChars = £æøå
ServerExeName = arma2oaserver.exe
#NickFilterFile = BadNames.txt
#WordFilterFile = BadWords.txt
Warnings = 3
Color = 0c
Timeout = 40
KickLobbyIdlers = 300
Scheduler = Scheduler.xml
#MaxPlayerNameLength = 18
#DisallowPlayerNameChars =
#ChatChannelFiles = true
###################
#FloodControl1 = 5
# Or
#FloodControl2 = 5
#FloodSampleTime = 5
#FloodLockTime = 10
###################

#####################################################
## Optional settings related to Chat restriction
#[ChatRestriction]
#Global = 3
Side = -1
Group = -1
Vehicle = -1
#Command = -1
#Commander = -1
Direct = -1

#####################################################
## Optional settings related to Reporting function
#[Reporter]
#User = Donald Duck
#Password = 313

#####################################################
# Optional settings related to Heartbeat
#[Heartbeat]
#BanFile0 = E:\Steam\SteamApps\common\arma 2 operation arrowhead\cfgdayz\BattlEye\bans.txt
#BanFile1 =

Share this post


Link to post
Share on other sites

Your IP should be the IP of which everyone connects to. Also with -1 being enabled on the chats, it means to disable them.

I have included mine to help compare


# Config file for Bec.
# Enable/disable a parameter by Comment/Uncomment it with a #
# You can also delete all parameters that are not in use.
# If you are unsure how to configure this file read the online docs.
# http://ibattle.org/install-and-configure/
#Replace the exe file

[Bec]
Ip = XXXXX
Port = 2302
BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye
LogDir = XXXX
Admins = Admins.xml
Commands = Commands.xml
## Optional ##
[Misc]
#AsciiNickOnly = True
AsciiChatOnly = True
#IgnoreChars = £æøå
ServerExeName = arma2oaserver.exe
NickFilterFile = BadNames.txt
#WordFilterFile = BadWords.txt
Warnings = 3
Color = 0a
#Timeout = 40
#FloodControl = 6
#KickLobbyIdlers = 300
Scheduler = Scheduler.xml
#MaxPlayerNameLength = 18
#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€
## Optional ## -1 is same as disabled
#[ChatRestriction]
#Global = -1
#Side = -1
#Group = -1
#Vehicle = -1
#Command = -1
#Commander = -1
#Direct = -1

## Optional ##
[Reporter]
User = iReporter
Password = XXXXXXX

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

×