marceldev89 / BattleNET

BattlEye Protocol Library and Client
GNU Lesser General Public License v3.0
76 stars 44 forks source link

Failed to Login #7

Closed andgregor closed 11 years ago

andgregor commented 11 years ago

Hi, am having problems logging in, I am assuming Battle Eye is required on the server. Am running a Bliss dayZ server and can login to console from chat when in game.

I have found that trying to access admin through the lobby throws me from the server, battle eye complains of a script violation and boots me, not sure if related.

Versions are: Arma: 1.62.97771 and dayZ:1.7.2.6.

I have tried with my own code and the, supplied, BattleNET Client, same issue. Would love to get this working as I am working on an automated system and would like to broadcast messages to my server.

thanks.

marceldev89 commented 11 years ago

The booting when going to server control is as intended by DayZ.

Did you try to connect with the official RCon client [1]? If you can't connect with that then there must be an issue with your server setup.

[1] http://battleye.com/downloads/BERCon.exe

nanomo commented 11 years ago

You need Battleye otherwhise there is no chance to load your admin password for use console commands like #login #userlist... as far i know.

You must solve first the ingame login problem and then try to use battlenet.

The reason of the server kick can be a Battleye issue or rule, see you server log to know why BE is kicking you

andgregor commented 11 years ago

I can connect in game using the chat, battleeye kicks me using the in-game console login. Latest BattleEye is running and working. Nothing at all in server log when trying to connect with this class.

Bercon saying password incorrect, it is not, however getting this error now in server log:

17:07:10 Server: Object 5:706 not found (message 91)

nanomo commented 11 years ago

Check the bat that starts the server, see this param: "-profiles=dayz_1.chernarus" les call it PROFILE

You must check the BEServer.cfg located in PROFILE\Battleye inside you will get the password for the console.

Then use BERCON to test and connect, lets try to connect first with bercon, is more faster to test.

marceldev89 commented 11 years ago

Also take a look at http://dayzmod.com/forum/index.php?/topic/55657-start-here-a-beginners-guide-to-dayz-servers-and-administration/

andgregor commented 11 years ago

nanomo many thanks, that was exactly it, I had the rcon password set in the server config file but not BE config..

Thanks for the additional info. ziellos2k.

Have just broadcast a message to my server from an exe file, woohoo.

Great class, thanks for the good work ziellos2k.