Da0ne / DZMods

DayZ Standalone Vanilla++ project
Other
34 stars 19 forks source link

Trouble logging in one admin - others are fine #64

Closed robotstar78 closed 5 years ago

robotstar78 commented 5 years ago

This is a weird one. We've been using the admin tools without issue for a while. Everything works great. I've just addded a new admin to our server. Added his Steam64 to the admins.txt. He can log in and it correctly says he's logged in as admin. However, he can't type any commands. They just appear in chat and don't do anything. He's definitely typing them correctly. We've screenshared to make sure of that. But nothing. Myself and another admin have no issues at all. We've tried logging in and out, logging another admin in and out... all sorts. any ideas?

robotstar78 commented 5 years ago

He's definitely getting as far as logging in as admin. So his steam64 is correct

Killtacular commented 5 years ago

I'm having the same problem as you. When I successfully log in as an administrator, the admin commands do nothing but only showing up bunch of messages.

if (AdminUIDSFile != 0)

Do I need to change the value above?

S4MT3K commented 5 years ago

Try to use the GUID, so the long with letters in it. And Don’t use names behind this strings. Only the id‘s has to be there

And Just for saying: Only ONE Admin can be logged in.

robotstar78 commented 5 years ago

I'll try with his GUID instead. Yeah, nobody else logged in as admin. Only him. It's allowing him to log in, which is what's very strange!

Killtacular commented 5 years ago

Then which string do I need to change?

S4MT3K commented 5 years ago

In the Admin.txt:

Steam64id & GUID

Try both. Some steam accounts have some trouble... I Don’t even know if this only works with 64id but since i added both it works for me.

The admins.txt has to be clean by the way. That means only the ids has to be there nothing else example: 7673940261528 (ok) 7673940261528 - Admin 1 (wrong)

arniegames4u commented 5 years ago

I solved this today. Use the Dayz launcher and give yourself a name using the profile parameter. Should be good.

Killtacular commented 5 years ago

I still don't get it. Which string should I change?

if (AdminUIDSFile != 0) --- (1)

string line_content = "" --- (2)

m_AdminList.Insert(line_content,"null"); //UID , NAME --- (3)

S4MT3K commented 5 years ago

Just go into your DayZ startparameters (launch options) and give yourself a name: -name=Killtacular

Or use the DayZ launcher, a give you the name there via the profile parameters.

Head to Admin.txt and put your guid in there!