Raised This Month: $51 Target: $400
 12% 

Admins disconnected on mapchange


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
/bin/sh
Junior Member
Join Date: Sep 2005
Old 10-19-2005 , 17:11   Admins disconnected on mapchange
Reply With Quote #1

Hello!

My server is for large internet cafe and i must use username+password for admins and priveleged clients.

For example, one from my users.ini:
"Atmns" "hiddenpassword" "bcdeiju" "a"

And problem... After mapchange all admins and privleged users are disconnecting from server and they need to re-enter password via setinfo.

I am using latest version of CS1.6, amxmodx, metamod.

Before AMXX i used Adminmod and everythink worked fine with same way...
/bin/sh is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-19-2005 , 17:34  
Reply With Quote #2

Thats not an error in AMXX. Your admins need to use 'setinfo _pw hiddenpassword' (Without the ' ) in their config.cfg
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
/bin/sh
Junior Member
Join Date: Sep 2005
Old 10-23-2005 , 11:33  
Reply With Quote #3

Quote:
Originally Posted by Suicid3
Thats not an error in AMXX. Your admins need to use 'setinfo _pw hiddenpassword' (Without the ' ) in their config.cfg
Why? Adminmod works nice without this.

As i see problem is when amx resets all info about admins after mapchange... why?
/bin/sh is offline
/bin/sh
Junior Member
Join Date: Sep 2005
Old 10-30-2005 , 05:53  
Reply With Quote #4

up
/bin/sh is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 10-30-2005 , 12:41   Re: Admins disconnected on mapchange
Reply With Quote #5

Quote:
Originally Posted by /bin/sh
"Atmns" "hiddenpassword" "bcdeiju" "a"
"a" Kicks players with the wrong password on connection. Since each map change is a new connection, your admin is being kicked becasue the wrong password.
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
/bin/sh
Junior Member
Join Date: Sep 2005
Old 11-12-2005 , 11:59  
Reply With Quote #6

We did some testing.

If:
1) Player enters setinfo _pw password
2) Player connected
3) Player kicked on mapchange

and...

If:
1) Player enters setinfo _pw password
2) Player connected
3) Player enters setinfo _pw password while playing
4) Player DIDN't got on next mapchange

In second way player need to enter password at every map while playng to avoid disconnecting.

Why? It looks like information about setinfo is dropped after connecting. Adminmod doesn't drop password at this state.

How to fix or hack it?
/bin/sh is offline
mercury
Member
Join Date: Jun 2004
Old 07-14-2006 , 19:56   Re: Admins disconnected on mapchange
Reply With Quote #7

i have a great idea.

we should create an array of usernames ands passwords of currently connected people. so, when someone joins with password, we should add it to this array, then clear setinfo _pw AND right before map ends we should take all passes back to users console. for safety we need to clear it on connect (before adding to array). it's simple. but i'm very poor in working with arrrays in amxx..

any help on this?
mercury is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode