Jump to content

Kicked Off (Battleye: Public Variable Restriction #0)


robjp2210

Recommended Posts

Sounds to me like the security routine that randomizes variable names is not functioning. Are the public variables ever changed in the non ".original" file?

U could easy make a batch file to do your auto restarts and do the copy for you but I fear your server is vulnerable in this state if the public cars don't actually change..

Link to comment
Share on other sites

In the last few days I have helped a few people with this issue and have noticed the last 2 guys that I 
helped even though they did in fact have everything set up popper they had the start up sequence
wrong, so here is a quick check list :
 
follow all instructions in the setup guide.
and in this forum 
 
make sure all paths are correct
 
Make sure files are unblocked.
 
Even if you have everything proper and do not start your server in the correct sequence when you pull 
up the admin menu and try to execute an admin command you will get the public variable kick (as in you
the admin!) 
 
start sequence:
1. Start BEC
2. Start REDIS
3. Start armaserver
Link to comment
Share on other sites

  • 3 weeks later...

How do you get up that bec config ? i run from vilayer server. im new to renting a server. and its not going well. i can login as admin ingame. and i can click f1 to see admin tools. but i get kicked. no idea what to do.

i can only turn off and on my bec. not redis.

So when i start my server i start bec then the server from my acplayer ?

Link to comment
Share on other sites

Okay... so I figured out what the problem is after 2 hours of breaking my neck...

I would try to use the admin menu as soon as I logged in.. which means I would not allow watch dog to load and read all the scripts.. until tryed logging in and stayed in server...while I Alt Tabbed out to check out the bec.log and saw "publicvariable.txt has been changed...reloading data" that's when it all hit me... since epoch generates random variables each restart so skriptkiddies can't bypass the old variables... you have to wait til it generates them each restart thennnn you can use the admin menu no problem. So there's your answer... just let watchdog/server load for about 3-5 mins before you use admin menu.

Here's what happens...

1. Server starts.

2. You log in.

3. Variables generate

4. Watchdog picks it up

5. Watchdog Refreshes publicvariables.txt

6. Use admin menu

Most people do this or at least I did.

1. Server starts.

2. Log in.

3. Use admin menu

So of course it will kick you out.

Glad I realized before I threw my PC out the window.

Link to comment
Share on other sites

Tried it all, got this problem still.

So I got some questions.

 

Do I need still "c:\Games\ArmA3\A3Master\battleye" ? We got "c:\Games\ArmA3\A3Master\SC\BattlEye" I got the Folder still.

 

In EpochServer.ini, do I need the path like that?

[EpochServer]
BattlEyePath = c:\Games\ArmA3\A3Master\SC\BattlEye

 

 

my start cmd looks like:

start C:\Games\ArmA3\A3Master\arma3server.exe -mod=@Epoch;@EpochHive; -config=c:\Games\ArmA3\A3Master\SC\config.cfg -port=2302 -profiles=SC -cfg=c:\Games\ArmA3\A3Master\SC\basic.cfg -name=SC
exit

 

 

BEC Config.cfg

# Set the path to the BattlEye directory that is currently in use by the server.
BePath = c:\Games\ArmA3\A3Master\SC\battleye

 

 

12:03:29 Dedicated host created.
12:03:36 BattlEye server updated to version: 198
12:03:36 BattlEye Server: Initialized (v1.198)
12:03:36 Host identity created.
12:03:36 Game Port: 2302, Steam Query Port: 2303
12:03:40 BattlEye Server: RCon admin #0 (127.0.0.1:58768) logged in
12:03:53 Nasdero uses modified data file
12:03:53 BattlEye Server: Player #0 Nasdero (192.168.1.2:2304) connected
12:03:53 Player Nasdero connecting.
12:03:53 Mission Epoch Mod read from bank.
12:03:54 BattlEye Server: Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:03:54 BattlEye Server: RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:03:55 Player Nasdero connected (id=76561198134628161).
12:03:55 BattlEye Server: Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:04:09 Roles assigned.
12:04:09 Reading mission ...
12:05:03 Mission read.
12:05:03 Game started.
12:05:47 BattlEye Server: RCon admin #0 (127.0.0.1:58768) logged in
12:08:13 Player Nasdero kicked off by BattlEye: PublicVariable Restriction #0 <= after first connect, "server initializing" then kick
12:08:14 Player Nasdero disconnected.
12:08:34 Nasdero uses modified data file
12:08:34 BattlEye Server: Player #0 Nasdero (192.168.1.2:2304) connected
12:08:34 Player Nasdero connecting.
12:08:35 BattlEye Server: Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:08:35 BattlEye Server: RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:08:36 Player Nasdero connected (id=76561198134628161).
12:08:36 BattlEye Server: Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:09:34 Player Nasdero kicked off by BattlEye: PublicVariable Restriction #0 <= Admin menu use
12:09:34 Player Nasdero disconnected.

 

Bec, Arma OA/3 Server Tool V.1.606
Copyright © by Stian Mikalsen

Email : [email protected]
Web   : http://www.ibattle.org

Remember to donate for more great updates!

---------------------------------------------

12:03:36 : Starting plugin : WatchDog V.0.16
12:03:36 : Creating watchdog for admin file...
12:03:36 : Checking for new Bec version...
12:03:36 : Creating watchdog for command file...
12:03:36 : Creating watchdog for BE filter files...
12:03:39 : Bec is running latest version! : 1.606
12:03:40 : Connecting to Battleye server 127.0.0.1:2302
12:03:40 : RCon admin #0 (127.0.0.1:58768) logged in
12:03:53 : Player #0 Nasdero (192.168.1.2:2304) connected
12:03:54 : Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:03:54 : RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:03:55 : Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:05:06 : BE Filter file:publicvariable.txt was changed. reloading data...
12:05:47 : No Valid response. Trying to reconnect.!
12:05:47 : RCon admin #0 (127.0.0.1:58768) logged in
12:08:14 : Player #0 Nasdero (1b59a3defe99e999d3de3bbf285e0b7b) has been kicked by BattlEye: PublicVariable Restriction #0 <= after first connect, "server initializing" then kick
12:08:34 : Player #0 Nasdero (192.168.1.2:2304) connected
12:08:35 : Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:08:35 : RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:08:36 : Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:09:34 : Player #0 Nasdero (1b59a3defe99e999d3de3bbf285e0b7b) has been kicked by BattlEye: PublicVariable Restriction #0 <= Admin menu use

 

 

Doesn't matter what order I start the programms

Link to comment
Share on other sites

12:03:36 : Starting plugin : WatchDog V.0.16
12:03:36 : Creating watchdog for admin file...
12:03:36 : Checking for new Bec version...
12:03:36 : Creating watchdog for command file...
12:03:36 : Creating watchdog for BE filter files...
12:03:39 : Bec is running latest version! : 1.606
12:03:40 : Connecting to Battleye server 127.0.0.1:2302
12:03:40 : RCon admin #0 (127.0.0.1:58768) logged in
12:03:53 : Player #0 Nasdero (192.168.1.2:2304) connected
12:03:54 : Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:03:54 : RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:03:55 : Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:05:06 : BE Filter file:publicvariable.txt was changed. reloading data...
12:05:47 : No Valid response. Trying to reconnect.! <======= There's the problem
12:05:47 : RCon admin #0 (127.0.0.1:58768) logged in
12:08:14 : Player #0 Nasdero (1b59a3defe99e999d3de3bbf285e0b7b) has been kicked by BattlEye: PublicVariable Restriction #0 <= after first connect, "server initializing" then kick
12:08:34 : Player #0 Nasdero (192.168.1.2:2304) connected
12:08:35 : Player #0 Nasdero - GUID: 1b59a3defe99e999d3de3bbf285e0b7b (unverified)
12:08:35 : RCon admin #0: (Global) BEC : Super Admin Nasdero Connected
12:08:36 : Verified GUID (1b59a3defe99e999d3de3bbf285e0b7b) of player #0 Nasdero
12:09:34 : Player #0 Nasdero (1b59a3defe99e999d3de3bbf285e0b7b) has been kicked by BattlEye: PublicVariable Restriction #0 <= Admin menu use

Link to comment
Share on other sites

That started happening to me this morning. I installed a script and then I got kicked for PublicVariable Restriction #0 when ever I use the admin menu for anything. So I deleted the script contents from my mission pbo and the call from the init.sqf, but the problem persists. How do you fix it? Refresh the server with a brand new install of Epoch?

Link to comment
Share on other sites

How do I handle with spaces in the path? I tried BattlEyePath = "D:\Arma 3 Server\SC\BattlEye" but then it doesn't recognize it.
I have the same problem with no valid response, maybe it's connected to this...
 
[EpochServer]
BattlEyePath = D:\Arma 3 Server\SC\BattlEye

post-11677-0-56511900-1421180723_thumb.p

Link to comment
Share on other sites

I fixed mine, when I installed the server, I used the files from the Battleye Website in my Folder c:\Games\ArmA3\A3Master\battleye and the DLL from Epoch in c:\Games\ArmA3\A3Master\SC\battleye, I replaced the one in c:\Games\ArmA3\A3Master\battleye with the one from Epoch and it works, I won't be kicked when I use the Admintool, I got now an other problem, when I spawn a vehicle, it isn't there....

 

I got still this message:

No Valid response. Trying to reconnect.!

 

But everything else is working. I can not understand, that we need this c:\Games\ArmA3\A3Master\battleye folder, I tried also the start parameter -bepath=c:\Games\ArmA3\A3Master\SC\battleye but it seems, that the folder c:\Games\ArmA3\A3Master\battleye will still be used. When I delete the folder c:\Games\ArmA3\A3Master\battleye, then the server will not find Battleye.

 

I will tried it this afternoon a bit further.

Link to comment
Share on other sites

in @epochhive you have a file epochserver.ini

 

you specify the BattleEye path here...

 

so if you use the epochmod server files, your BEServer.dll is in <..>/SC/Battleeye... so make sure your epochserver.ini BE path matches where ever you have SC/BattleEye.

Link to comment
Share on other sites

not sure that it is used there...

 

My BEC magically started working today....no more errors and puiblicvariable is working as it should.

 

@epochhive > epochserver.ini
BattlEyePath = C:\,D:\,E:\<Where you have your server installed>\SC\BattlEye (if you grabbed the server files from the epochserver-2.5.2 files)

 

BEC config also needs to be set to same as above...
<BEC DIR>\config\config.cfg

BePath = C:\,D:\,E:\<Where you have your server installed>\SC\BattlEye

Link to comment
Share on other sites

  • 3 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...