Page 1 of 1

Admin bar problem [Solved]

Posted: 14 May 2017, 14:50
by BusardCendre
Hi,
as I'm MasterAdmin on VioK's servers, I've set in UASECO.xml :

Code: Select all

<masteradmins>
	<tmlogin>viok_buse</tmlogin>
</masteradmins>
	
but when I want to go to the next map with the Next Map button ot the Admin Bar, I've got this message :
"You don't have the required admin rights to do that"

if a player try the same thing with operator's rights
(his login is in <operators> in adminops.xml)
then he has the same error message.

As I'm here, and because I think the cause maybe the same :
in the page "Maps on this server" :
I can't call a map that we've played recently.
As in Xaseco2, admins and masteradmins were allowed to call a "just played" map,
I think it should be allowed here too, am I right ?

As I'm the king of the little stupid mistakes, :oops:
maybe I forgot something ..

Re: Admin bar problem

Posted: 14 May 2017, 15:25
by hackie

Code: Select all

	<masteradmins>
		<!-- /ip:port in tmlogin only useful when joining server over LAN -->
		<!-- ipaddress can be specified to guard each login against       -->
		<!-- unauthorized use of admin commands from other IP addresses   -->
		<!-- format:
		<tmlogin>YOUR_MASTERADMIN_LOGIN</tmlogin> <ipaddress>YOUR_MASTERADMIN_IP</ipaddress>
		//-->
		<tmlogin>PLAYER1</tmlogin>
		<tmlogin>PLAYER2</tmlogin>
		<tmlogin>PLAYER3</tmlogin>
	</masteradmins>

Hmm , seems to be fine.
After changing that xml file , restart uaseco.

Re: Admin bar problem

Posted: 14 May 2017, 16:47
by BusardCendre
thanks for your anser, but it wasn't that.

I know I told a was making stupid mistakes very often,
but I had given my login in this file before the first launch of UAseco ;)

I found where was the problem :
I had put something in <lock_password> in UASECO.xml
Well, I should have been reading the logs before asking :? :
"viok_buse tried to use admin chat command (not unlocked!): nextmap"

the worst here is that the answer was in this topic :
viewtopic.php?f=522&t=31914&hilit=lock_password
and that I had read this before posting here :oops:

it seems I'm spending too much time working and need to sleep more ...

I now have a little question about lock_password :
as it's working with a /admin command,
how can an operator do ?
I mean a non admin player can't have a /admin working, isn't it ?

Re: Admin bar problem

Posted: 14 May 2017, 19:59
by undef.de
BusardCendre wrote: 14 May 2017, 16:47 I now have a little question about lock_password :
as it's working with a /admin command,
how can an operator do ?
I mean a non admin player can't have a /admin working, isn't it ?
That's a very good question: the <lock_password> feature is from XAseco2 and to be honest... I wasn't using it. We all have to figure out, but I guess it works like this:

If you have set a <lock_password>, then every MasterAdmin, Admin and Operator has to use "/admin unlock PWD" first before he can use "/admin CMD". After the MasterAdmin, Admin and Operator has unlocked "/admin", he can use "/admin" so often he wants, without to unlock again, until he leaves the server.

Re: Admin bar problem [Solved]

Posted: 15 May 2017, 11:44
by BusardCendre
thank you