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

Admin password problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kushikuto
Junior Member
Join Date: Jul 2010
Old 07-30-2010 , 12:26   Admin password problem
Reply With Quote #1

I have Counter Strike 1.5 server and I use AMXMODX v1.8.1.3746. I add admin in users.ini
"kushikuto" "123456" "abcdefghijklmnopqrstu" "a" in this way.

When I connect server in console;
name kushikuto
setinfo _pw 123456
connect SERVER_IP
all admin commands are running.

But somebody are using my nickname , they are not disconnecting server.
In console *Invalid password! but they connect server with my nickname.

I want; If admin password is incorrect, server say Invalid Password and disconnect.
kushikuto is offline
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 07-30-2010 , 12:33   Re: Admin password problem
Reply With Quote #2

"kushikuto" "123456" "abcdefghijklmnopqrstu" "ab"
__________________

Jack86 is offline
kushikuto
Junior Member
Join Date: Jul 2010
Old 07-30-2010 , 12:42   Re: Admin password problem
Reply With Quote #3

I add in this way "kushikuto" "123456" "abcdefghijklmnopqrstu" "ab"

but not changing. Invalid password and connecting server currently

Last edited by kushikuto; 07-30-2010 at 20:13.
kushikuto is offline
kushikuto
Junior Member
Join Date: Jul 2010
Old 07-30-2010 , 20:33   Re: Admin password problem
Reply With Quote #4

I searh Counter Strike 1.5 server using AMXMODX v1.8.1.3746 with game-monitor. I connected servers with admin nickname. But I connected game in this servers :S

How can we block fake admins ? Please help me..
kushikuto is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-30-2010 , 21:41   Re: Admin password problem
Reply With Quote #5

You should really update to 1.6, and go with steam. Then you won't have this problem.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-30-2010 , 22:28   Re: Admin password problem
Reply With Quote #6

We can't really help you because AMX Mod X 1.8.1 is designed to work with Counter-Strike 1.6.
__________________
fysiks is offline
kushikuto
Junior Member
Join Date: Jul 2010
Old 07-31-2010 , 20:27   Re: Admin password problem
Reply With Quote #7

Hımm. I understand. But we like v1.5 and play.
Can we restore this error with simple plugin ?
kushikuto is offline
kushikuto
Junior Member
Join Date: Jul 2010
Old 08-28-2010 , 17:30   Re: Admin password problem
Reply With Quote #8

Quote:
Originally Posted by IN admin.sma EDITED
.........

get_user_ip(id, userip, 31, 1)
get_user_authid(id, userauthid, 31)

if (name[0])
{
copy(username, 31, name)
}
else
{
get_user_name(id, username, 31)
}

get_pcvar_string(amx_password_field, passfield, 31)
get_user_info(id, passfield, password, 31)

new result = getAccess(id, username, userauthid, userip, password)

if (result & 1)
{
client_cmd(id, "echo ^"* %L^"", id, "INV_PAS")
client_cmd(id,"disconnect") // I added it.
}

if (result & 2)
{
client_cmd(id, "%s", g_cmdLoopback)
return PLUGIN_HANDLED
}

if (result & 4)
{
client_cmd(id, "echo ^"* %L^"", id, "PAS_ACC")
}

if (result &
{
client_cmd(id, "echo ^"* %L^"", id, "PRIV_SET")
}

return PLUGIN_CONTINUE
}

public client_infochanged(id)
{
if (!is_user_connected(id) || !get_pcvar_num(amx_mode))
{
return PLUGIN_CONTINUE
}

new newname[32], oldname[32]

get_user_name(id, oldname, 31)
get_user_info(id, "name", newname, 31)

.........
client_cmd(id,"disconnect") // I add this command and solved this problem. When somebody wants to connect server with admin nick name -if they have no admin password-, they disconnect server.
kushikuto 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 14:41.


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