Server Mod Idea - TPG Roster Check

All things KTP League.
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 7:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Server Mod Idea - TPG Roster Check

Post by Sp3c-BuLLeT »

Has anyone written server mods? I have an idea that would be fairly easy to implement from the server-side (I might code it myself if no one else already knows how), but what it would like to do is have a mod that when you type a console command will take the server IP address and all the player steam IDs and submit them to a web service that checks all the Steam IDs against the roster of the two teams playing in the match and will display on the screen if anyone is suspended or a ringer. It would accomplish this by comparing the IP address on the teams' profile page, so you would have to have your server information entered into your team page for this idea to work (or I could try and parse the scheduling conversations looking for the word "connect"). If the person is a ringer it could even tell if that person is on another team, so you would know if it is a TPG-I ringer or a TPG-O ringer.

Anyone want to do the server mod side of this for me and I'll do the web service side that does all the comparing? I know display text on the screen should be fairly easy. There are tons of examples of that. I'm not sure about how easy it would be to make a call to a web service though. I know it is possible though.
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 7:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by Sp3c-BuLLeT »

The server mod would just have to submit IP address and steam IDs to the web service and I would return text that should be displayed on the screen.
hypnotik_
Posts: 319
Joined: Sun Feb 13, 2011 4:30 pm
Clans: f6, MVPz, #explosions.dod, l2r, [L.A.B], ( s )ttR, audiophile, i[3]
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by hypnotik_ »

I miss rate enforcer :(
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 7:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by Sp3c-BuLLeT »

hypnotik_ wrote:I miss rate enforcer :(
Did it slow down servers? Why did people stop using it?
stealthlol
Posts: 2036
Joined: Tue Apr 26, 2011 1:44 pm
Clans: 4thR, g4n, xm, ptm, snowmen, NoGo, AYEBAYBAY, team99, 3h

Re: Server Mod Idea - TPG Roster Check

Post by stealthlol »

Other than KS, do any teams actually check steam ids anymore?
SKiNnTo
Posts: 862
Joined: Mon Apr 18, 2011 9:38 pm
Clans: LAB, Shock&Awe,[sAs]
Location: SE, Michigan
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by SKiNnTo »

hypnotik_
Posts: 319
Joined: Sun Feb 13, 2011 4:30 pm
Clans: f6, MVPz, #explosions.dod, l2r, [L.A.B], ( s )ttR, audiophile, i[3]
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by hypnotik_ »

Sp3c-BuLLeT wrote:
hypnotik_ wrote:I miss rate enforcer :(
Did it slow down servers? Why did people stop using it?
something to do with CAL wasn't it? I know there was something for custom models and sprites too. It wouldn't let you join unless you had all default models and such.
mike
Posts: 387
Joined: Wed Apr 27, 2011 12:35 am
Clans: bTw, Legion, FLAWLESS, NastyVAG, MVPZ, angryface
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by mike »

For custom models and sprites, I believe you mean DoDGuard.
Sp3c-BuLLeT
Posts: 432
Joined: Sun Aug 14, 2011 7:20 pm
Clans: Sp3c, P(o)s, NoL, cBerry, MVPz, ICE, vVv, HH
Location: Pittsburgh, PA
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by Sp3c-BuLLeT »

This service is done and I found someone to do the server mod side of things, so we could see this soon.

The one thing I had to do though was not go off server IP, because IPs resolving to host names sometimes resolved to a different hostname than was listed in the team's server info (if they didn't use an IP). Also, if two or more teams shared a server on the same night this could complicate things as well. Instead you will pass in your match number to this service. I will put the match number on the TPG website.

So you would type in console: "roster_check 2345" and the output would be something like this:
STEAM_0:0:000000 is not rostered.
STEAM_0:1:599423 is suspended.

or like this if all steam IDs pass:
All players are rostered and not suspended.
Miller`
Posts: 645
Joined: Sat May 14, 2011 8:53 am
Contact:

Re: Server Mod Idea - TPG Roster Check

Post by Miller` »

Can we make a script where if you type hltv, the hltv starts to record?
Post Reply