Raised This Month: $ Target: $400
 0% 

[admin.sma] User is not the same as UseR


  
 
 
Thread Tools Display Modes
Author Message
Dzyzus
Senior Member
Join Date: Mar 2004
Location: Lithuania
Old 02-06-2007 , 16:32   [admin.sma] User is not the same as UseR
#1

I have a problem. I think it's bug. I added admin in users.ini ("Dzyzus" "password" "b" "a") Then going to console and writeing a fake password setinfo _pw blablabla and connecting to the server and I got
"* Invalid Password!
Kicked :"You have no entry to the server.." (It's ok)
Then writeing name "DzyzuS"
and connecting again. Guess what I can connect and did not get any
"* Invalid Password!
Kicked :"You have no entry to the server.." message
Then I connected to the server writeing again name "Dzyzus" and I got:
"* Invalid Password!
Unknown command: amxauthEDHZ (<-- what's here?)
Kicked :"You have no entry to the server..."

AMXX 1.76c
__________________
Dzyzus is offline
Basic-Master
Veteran Member
Join Date: Apr 2005
Location: hello pm
Old 02-07-2007 , 14:32   Re: [admin.sma] User is not the same as UseR
#2

I don't get why this would be a bug. Admins are always checked case-sensitive; if you want to change that, change the line
Code:
else if (equal(name, g_aName[i]))
to
Code:
else if (equali(name, g_aName[i]))
and you should be fine.
Basic-Master is offline
Send a message via ICQ to Basic-Master Send a message via MSN to Basic-Master
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 02-07-2007 , 14:38   Re: [admin.sma] User is not the same as UseR
#3

Seems pretty illogical for a name to be case sensitive to me (clan tags are also case sensitive)
__________________
fyren sucks
sawce is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 02-08-2007 , 10:59   Re: [admin.sma] User is not the same as UseR
#4

Maybe as a compromise solution add an option (define disabled by default)?
VEN is offline
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 02-09-2007 , 02:27   Re: [admin.sma] User is not the same as UseR
#5

No, this is a bug. Half-Life's names are not case insensitive, I see no reason why these should be.

The reason this bug has lived on this long is because frankly nobody uses name/tag authentication. It's more advisable to use SteamID authentication.

This is fixed in revision 3298
__________________
fyren sucks
sawce is offline
 



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 09:45.


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