Battleye works, But RCON refuses to

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
User avatar
Edge100x
Founder
Founder
Posts: 13156
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Battleye works, But RCON refuses to

Post by Edge100x »

BEserver.cfg needs to go in the "cfg/BattlEye" folder, which should be auto-created by the game when the server is started (it will put a copy of the BEServer.dll file there). For you, this should be "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\cfg\BattlEye". If you put it anywhere else, the server will not read it.
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

Edge100x wrote:BEserver.cfg needs to go in the "cfg/BattlEye" folder, which should be auto-created by the game when the server is started (it will put a copy of the BEServer.dll file there). For you, this should be "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\cfg\BattlEye". If you put it anywhere else, the server will not read it.
There is no "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\cfg\BattlEye" in the ArmA 2 directory, should I just create the folder and copy over the battleye files BEserver.cfg, BEserver.dll and BEclient.dll?
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Looking at your first post, it shows BE as enabled and starting.
It looks like it's not reading your .cfg file to get the BE password.

You also mention multiple servers running out of the same directory.
Your probably going to need separate config files for each server.

With DayZ servers, we have our command lines like this:

Code: Select all

-ip=x.x.x.x -port=2302 "-config=dayz_6.namalsk\config_a1as8s43.cfg" "-cfg=dayz_6.namalsk\basic.cfg" "-profiles=dayz_6.namalsk" -name=Reality "-mod=@dayz_namalsk_@dayz;@dayz_namalsk;@reality_6.namalsk" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
Our server config and Battleye files are in the folder \dayz_6.namalsk

As Edge mentioned, you would have to have the same sort of setup using \cfg for your first server. But for multiple servers, you can name the folders whatever you want, but you have to identify them in the command line parameters so the server knows where to find everything.

As an example, you basic structure would be:

\cfg
\cfg\basic.cfg (if needed)
\cfg\server.cfg
\cfg\Battleye\BEServer.cfg
\cfg\Battleye\BEServer.dll
\cfg\Users\ -server profiles- (if needed)

If using multiple servers, you can replace \cfg with things like \server1 if you just want to identify which server or \chernarus if you want to identify it by map.
But as I said, you also have to have your parameters set to the correct locations.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

.=QUACK=.Major.Pain wrote:Looking at your first post, it shows BE as enabled and starting.
It looks like it's not reading your .cfg file to get the BE password.

You also mention multiple servers running out of the same directory.
Your probably going to need separate config files for each server.

With DayZ servers, we have our command lines like this:

Code: Select all

-ip=x.x.x.x -port=2302 "-config=dayz_6.namalsk\config_a1as8s43.cfg" "-cfg=dayz_6.namalsk\basic.cfg" "-profiles=dayz_6.namalsk" -name=Reality "-mod=@dayz_namalsk_@dayz;@dayz_namalsk;@reality_6.namalsk" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
Our server config and Battleye files are in the folder \dayz_6.namalsk

As Edge mentioned, you would have to have the same sort of setup using \cfg for your first server. But for multiple servers, you can name the folders whatever you want, but you have to identify them in the command line parameters so the server knows where to find everything.

As an example, you basic structure would be:

\cfg
\cfg\basic.cfg (if needed)
\cfg\server.cfg
\cfg\Battleye\BEServer.cfg
\cfg\Battleye\BEServer.dll
\cfg\Users\ -server profiles- (if needed)

If using multiple servers, you can replace \cfg with things like \server1 if you just want to identify which server or \chernarus if you want to identify it by map.
But as I said, you also have to have your parameters set to the correct locations.


It seems like your "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\cfg\" is our "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\TA2DST\ACEACREChernarus"

Inside our ACEACREChernarus folder we have a Battleye folder with its contents, a Users folder and other cfg's BUT servers.cfg. Can you post the contents of what goes in a server.cfg file? Same goes for the basic.cfg file

Other than that, that is the profile we use and TA2DST is set to run that folder as our profile
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

T. Avery wrote:
.=QUACK=.Major.Pain wrote:Looking at your first post, it shows BE as enabled and starting.
It looks like it's not reading your .cfg file to get the BE password.

You also mention multiple servers running out of the same directory.
Your probably going to need separate config files for each server.

With DayZ servers, we have our command lines like this:

Code: Select all

-ip=x.x.x.x -port=2302 "-config=dayz_6.namalsk\config_a1as8s43.cfg" "-cfg=dayz_6.namalsk\basic.cfg" "-profiles=dayz_6.namalsk" -name=Reality "-mod=@dayz_namalsk_@dayz;@dayz_namalsk;@reality_6.namalsk" -noPause -noSound -cpuCount=2 -exThreads=1 -maxMem=2048
Our server config and Battleye files are in the folder \dayz_6.namalsk

As Edge mentioned, you would have to have the same sort of setup using \cfg for your first server. But for multiple servers, you can name the folders whatever you want, but you have to identify them in the command line parameters so the server knows where to find everything.

As an example, you basic structure would be:

\cfg
\cfg\basic.cfg (if needed)
\cfg\server.cfg
\cfg\Battleye\BEServer.cfg
\cfg\Battleye\BEServer.dll
\cfg\Users\ -server profiles- (if needed)

If using multiple servers, you can replace \cfg with things like \server1 if you just want to identify which server or \chernarus if you want to identify it by map.
But as I said, you also have to have your parameters set to the correct locations.


It seems like your "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\cfg\" is our "C:\Program Files (x86)\Bohemia Interactive\ArmA 2\TA2DST\ACEACREChernarus"

Inside our ACEACREChernarus folder we have a Battleye folder with its contents, a Users folder and other cfg's BUT servers.cfg. Can you post the contents of what goes in a server.cfg file? Same goes for the basic.cfg file

Other than that, that is the profile we use and TA2DST is set to run that folder as our profile
Actually, I found out that the server and basic .cfg are named TA2DST_basic and TA2DST_config.cfg.

Im currently attempting to put them in the parameters to see what happens but they are in the profile folder we load into the dedicated server tool so I don't think it will work.

Edit: No results from putting the cfg's into the parameters. They are automatically loaded into the dedicated server tool and are working correctly. I attempted to connect to rcon after loading them and still got the error "could not connect".
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Your server.cfg is probably named something else.

Here is a wiki of a default server.cfg.
You can compare your files to see which one it matches closely too.
http://community.bistudio.com/wiki/server.cfg

Note also, Battleye=1 is enabled.

Here is the wiki for profiles.
http://community.bistudio.com/wiki/server.armaprofile

Basic.cfg, shouldn't need any changes.

You might want to just add the correct parameters to your command line and test that and see if it helps.

Namely: "-config=xxxx\yyyy.cfg" "-cfg=xxxx\basic.cfg" "-profiles=xxxx"
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Can you post the complete command line.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

.=QUACK=.Major.Pain wrote:Can you post the complete command line.
"-cfg=TA2DST\ACEACREChernarus\TA2DST_basic.cfg" "-config=TA2DST\ACEACREChernarus\TA2DST_config.cfg"

I'm pretty sure they are already loaded on to the server without setting them in the parameters. But I attempted it anyway with no success with rcon.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

I am downloading the tool myself to play around with it.
I only play on Dayz so hopefully I can see how it works.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

.=QUACK=.Major.Pain wrote:I am downloading the tool myself to play around with it.
I only play on Dayz so hopefully I can see how it works.
It's a good tool, but I don't think it has anything to do with the server tool. Battleye is working and initializing when I run the server, I don't see why RCON shouldn't connect but it just refuses to.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Was wondering, have you tried using BerCon on the server through remote desktop, and see if you can connect to:

IP=yourserverip
Port=yourserverport
PW=yourserverbattleyepw

And also try using 127.0.0.1 as the server ip if the first isn't working.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
T. Avery
A semi-regular
A semi-regular
Posts: 16
Joined: Wed Apr 03, 2013 9:09 pm

Re: Battleye works, But RCON refuses to

Post by T. Avery »

.=QUACK=.Major.Pain wrote:Was wondering, have you tried using BerCon on the server through remote desktop, and see if you can connect to:

IP=yourserverip
Port=yourserverport
PW=yourserverbattleyepw

And also try using 127.0.0.1 as the server ip if the first isn't working.
Just retried it with both IP's, no luck with BerCon. I also tried both IP's with Battlewarden.
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Few things I noticed this tool doesn't have is a place to enter the server ip, a place to enter a BE password.

Did you set your server ip in your parameters, and set the BE password in the BEServer.cfg?
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
.=QUACK=.Major.Pain
This is my homepage
This is my homepage
Posts: 1573
Joined: Sun Jun 26, 2011 8:03 am

Re: Battleye works, But RCON refuses to

Post by .=QUACK=.Major.Pain »

Tried to create an Arma OA server, and when it starts, the server starts fine, but BE fails, and it deletes the BEServer.dll all the time.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Battleye works, But RCON refuses to

Post by Edge100x »

Your directory structure is unusual and I'm not sure where you need to put the cfg. I recommend doing a search for BEServer.dll on your server and putting a BEServer.cfg file alongside every copy that you find.
Post Reply