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

Authid problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mart94
Junior Member
Join Date: Feb 2009
Old 12-29-2009 , 07:29   Authid problem
Reply With Quote #1

Hello, i have a question about authid, is it possible to convert it into IP. I have in database authid row but i need ip there and in script it would read via ip not authid.

All The Best:
Mart
mart94 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-29-2009 , 19:03   Re: Authid problem
Reply With Quote #2

What plugin are you refering to?
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-30-2009 , 12:16   Re: Authid problem
Reply With Quote #3

SteamID and IP have no relation whatsoever.
Therefore, they cannot be "converted" into each other.
What you need to do is save the IP whenever you save the SteamID to the database.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
mart94
Junior Member
Join Date: Feb 2009
Old 01-02-2010 , 15:32   Re: Authid problem
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
What plugin are you refering to?
This plugin:
http://forums.alliedmods.net/showpost.php?p=779266&postcount=240


And to
Exolent[jNr], i dont want convert, i want it will work in IP not Authid ;)
mart94 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-02-2010 , 22:01   Re: Authid problem
Reply With Quote #5

Why don't you use authid?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 01-02-2010 , 22:52   Re: Authid problem
Reply With Quote #6

Quote:
Originally Posted by mart94 View Post
Hello, i have a question about authid, is it possible to convert it into IP. I have in database authid row but i need ip there and in script it would read via ip not authid.

All The Best:
Mart
PHP Code:
get_user_authid 
--->
PHP Code:
get_user_ip 
Excalibur.007 is offline
mart94
Junior Member
Join Date: Feb 2009
Old 01-03-2010 , 04:24   Re: Authid problem
Reply With Quote #7

Quote:
Originally Posted by Excalibur.007 View Post
PHP Code:
get_user_authid 
--->
PHP Code:
get_user_ip 
Anything else i don't need to change?
mart94 is offline
mart94
Junior Member
Join Date: Feb 2009
Old 01-03-2010 , 08:40   Re: Authid problem
Reply With Quote #8

Lets Bump
mart94 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-03-2010 , 12:52   Re: Authid problem
Reply With Quote #9

Quote:
Originally Posted by mart94 View Post
Anything else i don't need to change?
Probably.

Quote:
Originally Posted by mart94 View Post
Lets Bump
Read the rules.
__________________
fysiks is offline
mart94
Junior Member
Join Date: Feb 2009
Old 01-03-2010 , 14:03   Re: Authid problem
Reply With Quote #10

Got it working
mart94 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 09:35.


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