AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Authid problem (https://forums.alliedmods.net/showthread.php?t=113678)

mart94 12-29-2009 07:29

Authid problem
 
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

fysiks 12-29-2009 19:03

Re: Authid problem
 
What plugin are you refering to?

Exolent[jNr] 12-30-2009 12:16

Re: Authid problem
 
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.

mart94 01-02-2010 15:32

Re: Authid problem
 
Quote:

Originally Posted by fysiks (Post 1035845)
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 ;)

Exolent[jNr] 01-02-2010 22:01

Re: Authid problem
 
Why don't you use authid?

Excalibur.007 01-02-2010 22:52

Re: Authid problem
 
Quote:

Originally Posted by mart94 (Post 1035029)
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 


mart94 01-03-2010 04:24

Re: Authid problem
 
Quote:

Originally Posted by Excalibur.007 (Post 1040903)
PHP Code:

get_user_authid 

--->
PHP Code:

get_user_ip 


Anything else i don't need to change?

mart94 01-03-2010 08:40

Re: Authid problem
 
Lets Bump

fysiks 01-03-2010 12:52

Re: Authid problem
 
Quote:

Originally Posted by mart94 (Post 1041074)
Anything else i don't need to change?

Probably.

Quote:

Originally Posted by mart94 (Post 1041286)
Lets Bump

Read the rules.

mart94 01-03-2010 14:03

Re: Authid problem
 
Got it working :)


All times are GMT -4. The time now is 04:15.

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