Raised This Month: $ Target: $400
 0% 

[Paid] SteamID & GeoIP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
crilleaz
Member
Join Date: Oct 2010
Old 10-07-2013 , 11:15   [Paid] SteamID & GeoIP
Reply With Quote #1

Hello,

Willing to pay for a plugin that shows connected\disconnected players their STEAMID and IP to admins only, I don't know how much time or how much you want, we'll take that on steam.

Steam: Crilleaz

Thanks!
crilleaz is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 10-07-2013 , 12:22   Re: [Paid] SteamID & GeoIP
Reply With Quote #2

This plugins is very easy to do, contact with me if you want
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 10-07-2013 at 12:55.
Franc1sco is offline
Send a message via MSN to Franc1sco
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-07-2013 , 12:31   Re: [Paid] SteamID & GeoIP
Reply With Quote #3

Absurdly easy, not even worth trying to get $ for .

PHP Code:
#include <sourcemod>

new String:g_sAddress[MAXPLAYERS 1][24];
new 
String:g_sSteam[MAXPLAYERS 1][24];
//new bool:g_bAuthorized[MAXPLAYERS + 1];

public OnClientAuthorized(client, const String:sSteam[])
{
    if (
IsFakeClient(client))
        return;

    
//g_bAuthorized[client] = true;
    
strcopy(g_sSteam[client], sizeof(g_sSteam[]), sSteam);
    
GetClientIP(clientg_sAddress[client], sizeof(g_sAddress[]));
    for(new 
1<= MaxClientsi++)
    {
        if(!
IsClientInGame(i) || == client || IsFakeClient(i))
            continue;

        if(
CheckCommandAccess(i"ShowConnectInfo"ADMFLAG_GENERIC))
        {
            
PrintToChat(i"CONNECT %N (Steam: %s, Ip: %s)"clientg_sSteam[client], g_sAddress[client]);
        }
    }
}

public 
OnClientDisconnect(client)
{
    if(
IsFakeClient(client))// || !g_bAuthorized[client])
        
return;

    
//g_bAuthorized[client] = false;
    
for(new 1<= MaxClientsi++)
    {
        if(!
IsClientInGame(i) || == client || IsFakeClient(i))
            continue;

        if(
CheckCommandAccess(i"ShowConnectInfo"ADMFLAG_GENERIC))
        {
            
PrintToChat(i"DISCONNECT %N (Steam: %s, Ip: %s)"clientg_sSteam[client], g_sAddress[client]);
        }
    }

__________________

Last edited by thetwistedpanda; 10-07-2013 at 13:05.
thetwistedpanda is offline
crilleaz
Member
Join Date: Oct 2010
Old 10-07-2013 , 12:34   Re: [Paid] SteamID & GeoIP
Reply With Quote #4

And this code shows the IP and STEAMID of the players only to admins?

Thanks
crilleaz is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-07-2013 , 12:35   Re: [Paid] SteamID & GeoIP
Reply With Quote #5

To anyone with ADMFLAG_GENERIC (b) or whatever ShowConnectInfo is overridden to. Request in its most basic form.
__________________

Last edited by thetwistedpanda; 10-07-2013 at 12:36.
thetwistedpanda is offline
crilleaz
Member
Join Date: Oct 2010
Old 10-07-2013 , 12:37   Re: [Paid] SteamID & GeoIP
Reply With Quote #6

Thank you!
crilleaz is offline
crilleaz
Member
Join Date: Oct 2010
Old 10-07-2013 , 12:41   Re: [Paid] SteamID & GeoIP
Reply With Quote #7

I compiled the code you gave me, for some reason it did not display STEAM_ID nor IP when someone disconnects, does the advanced commands plugin mess up with this one?


Edit, picture: http://gyazo.com/0016d0086093452e4626d7e2ea535864
The person seeing this message is Admin with flag B

Last edited by crilleaz; 10-07-2013 at 12:45.
crilleaz is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-07-2013 , 12:51   Re: [Paid] SteamID & GeoIP
Reply With Quote #8

Did you change the map / restart server after loading it? I didn't add anything for late load, so if a client didn't connect after loading, it wouldn't show the disconnect message.
__________________
thetwistedpanda is offline
crilleaz
Member
Join Date: Oct 2010
Old 10-07-2013 , 12:54   Re: [Paid] SteamID & GeoIP
Reply With Quote #9

We did restart the server just now, it wouldn't show anything but the regular connect\disconnect message.
Changed my flag to B only (had Z and whatnot before), still shows the regular connect\disconnect message..
crilleaz is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-07-2013 , 12:58   Re: [Paid] SteamID & GeoIP
Reply With Quote #10

I don't have a system capable of launching srcds + a game so I can't test to see what exactly is going on, but skimming the code doesn't exactly reveal any issues, it's all basic. Is it throwing any errors in sourcemod/logs/? Only thing that comes to mind is it's throwing an error because the client isn't fully in-game to get their IP address.
__________________
thetwistedpanda 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 05:34.


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