Page 1 of 1

Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 10:25 am
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.

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 10:27 am
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.

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 5:25 pm
by hypnotik_
I miss rate enforcer :(

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 6:02 pm
by Sp3c-BuLLeT
hypnotik_ wrote:I miss rate enforcer :(
Did it slow down servers? Why did people stop using it?

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 6:11 pm
by stealthlol
Other than KS, do any teams actually check steam ids anymore?

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 7:01 pm
by SKiNnTo

Re: Server Mod Idea - TPG Roster Check

Posted: Sat Oct 06, 2012 7:10 pm
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.

Re: Server Mod Idea - TPG Roster Check

Posted: Sun Oct 07, 2012 12:43 pm
by mike
For custom models and sprites, I believe you mean DoDGuard.

Re: Server Mod Idea - TPG Roster Check

Posted: Sun Oct 07, 2012 9:37 pm
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.

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 5:29 pm
by Miller`
Can we make a script where if you type hltv, the hltv starts to record?

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 5:36 pm
by Sp3c-BuLLeT
Miller` wrote:Can we make a script where if you type hltv, the hltv starts to record?
Such a thing can most likely be done. You would basically want like a HLSW type mod that works in game. For all I know that already exists.

Check these sites and see if it exists yet:
http://www.dodplugins.net/forums/index.php
http://www.avamods.com/news.php
http://www.alliedmods.net/

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 5:54 pm
by Hopper
I don't even know you, but you're a genius.

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 9:30 pm
by Sp3c-BuLLeT
Hopper wrote:I don't even know you, but you're a genius.
You don't know me?

but....

but....

I'm #sp3c pm bullet...

I thought everyone knew me :-/

EDIT: I was a TPG admin from 2004-2010 then I decided to take a more passive role and hired rwc/narc to run the league for me. I currently host the TPG website, but I do not do admin work any more. I let the current admins handle everything and in my opinion they have done a great job. I also helped with the CAL Classic league.

In my clan days I attended CPL 2004 and 2005. I was the captain of Sp3c who played 1 season of CAL-O, 4 seasons of CAL-M, and 1 season of CAL-I. At every roster add deadline for CAL I would spam IRC with some recruiting message that always ended in #Sp3c pm BuLLeT hence the nickname. I used to shoutcast matches and hosted a DOD radio show on UC radio called PuB CaP. I made some crappy map dod_snowpillars_b1 and some crappy movie called Prone To Own. I've been playing DOD since the first public alpha was released.

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 9:46 pm
by milo
Sp3c-BuLLeT wrote: I was a TPG admin from 2004-2010 then I decided to take a more passive role and hired rwc/narc to run the league for me. I currently host the TPG website, but I do not do admin work any more. I let the current admins handle everything and in my opinion they have done a great job. I also helped with the CAL Classic league.

In my clan days I attended CPL 2004 and 2005. I was the captain of Sp3c who played 1 season of CAL-O, 4 seasons of CAL-M, and 1 season of CAL-I. At every roster add deadline for CAL I would spam IRC with some recruiting message that always ended in #Sp3c pm BuLLeT hence the nickname. I used to shoutcast matches and hosted a DOD radio show on UC radio called PuB CaP. I made some crappy map dod_snowpillars_b1 and some crappy movie called Prone To Own. I've been playing DOD since the first public alpha was released.
Image

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 10:06 pm
by Sp3c-BuLLeT
milo wrote:Image
Image

Re: Server Mod Idea - TPG Roster Check

Posted: Mon Oct 08, 2012 10:54 pm
by Tin Bad
Miller` wrote:Can we make a script where if you type hltv, the hltv starts to record?
Message me on steam :)

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 9:24 am
by toxinatoR
Playing with ringers is usually accepted. As far as a rate enforcer that would be legit. KS is probably the only team to check steamids / rates. Sometimes joining a stupid pub can fuck with your shit, which is why I always recommend to making your config read only. But people still cant handle doing that in dod 2012.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 10:07 am
by joeledmunds
toxinatoR wrote:Playing with ringers is usually accepted. As far as a rate enforcer that would be legit. KS is probably the only team to check steamids / rates. Sometimes joining a stupid pub can fuck with your shit, which is why I always recommend to making your config read only. But people still cant handle doing that in dod 2012.
Yeah this happened to me. Unfortunately I was playing the most uncool team ever, the aforementioned KS.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 10:23 am
by k4b00m
even with your config set to readonly your rate will still find a way to drop to 7500. DoD is magical.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 11:06 am
by Tin Bad
k4b00m wrote:even with your config set to readonly your rate will still find a way to drop to 7500. DoD is magical.
I think this is how it works:
Even if you have your config set to read only and join a pub - the pubs rates will over ride yours no matter what. So your rates will change. But it stops it from being saved into your config.

The difference in setting it to read only makes it so once you completely exit/quit dod, your rates in your config will apply the next time you start DoD.

If you join a pub and then go to scrim/play a match without Exiting/Quitting DoD, then you are still using the pub rates (IF they changed it in the first place - Most do). I always try and remember to exit out of DoD and then join the match server.

If you don't have it set to read only, whatever rates the pub set will be saved into your config and will be used the next time you load DoD.




I hope all that makes sense.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 11:12 am
by chimpanzebra
Thank you for explaining what read only means Tin bad. What chris means is that even if your cfg is read only and you restart dod the rate command still dosent save. People need to start checking it before matches because were getting tired of suspending people off of spite disputes about rates.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 2:31 pm
by Tin Bad
Image

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 3:30 pm
by scorch-
chimpanzebra wrote:Thank you for explaining what read only means Tin bad. What chris means is that even if your cfg is read only and you restart dod the rate command still dosent save. People need to start checking it before matches because were getting tired of suspending people off of spite disputes about rates.
bind "w" "+forward; rate 30000"

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 5:42 pm
by Hopper
Sp3c-BuLLeT wrote:
Hopper wrote:I don't even know you, but you're a genius.
You don't know me?

but....

but....

I'm #sp3c pm bullet...

I thought everyone knew me :-/

EDIT: I was a TPG admin from 2004-2010 then I decided to take a more passive role and hired rwc/narc to run the league for me. I currently host the TPG website, but I do not do admin work any more. I let the current admins handle everything and in my opinion they have done a great job. I also helped with the CAL Classic league.

In my clan days I attended CPL 2004 and 2005. I was the captain of Sp3c who played 1 season of CAL-O, 4 seasons of CAL-M, and 1 season of CAL-I. At every roster add deadline for CAL I would spam IRC with some recruiting message that always ended in #Sp3c pm BuLLeT hence the nickname. I used to shoutcast matches and hosted a DOD radio show on UC radio called PuB CaP. I made some crappy map dod_snowpillars_b1 and some crappy movie called Prone To Own. I've been playing DOD since the first public alpha was released.
I'm relatively new to TPG, only played a few seasons and only know a few people besides my own team.

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 5:45 pm
by Sp3c-BuLLeT
Hopper wrote:
Sp3c-BuLLeT wrote:
Hopper wrote:I don't even know you, but you're a genius.
You don't know me?

but....

but....

I'm #sp3c pm bullet...

I thought everyone knew me :-/

EDIT: I was a TPG admin from 2004-2010 then I decided to take a more passive role and hired rwc/narc to run the league for me. I currently host the TPG website, but I do not do admin work any more. I let the current admins handle everything and in my opinion they have done a great job. I also helped with the CAL Classic league.

In my clan days I attended CPL 2004 and 2005. I was the captain of Sp3c who played 1 season of CAL-O, 4 seasons of CAL-M, and 1 season of CAL-I. At every roster add deadline for CAL I would spam IRC with some recruiting message that always ended in #Sp3c pm BuLLeT hence the nickname. I used to shoutcast matches and hosted a DOD radio show on UC radio called PuB CaP. I made some crappy map dod_snowpillars_b1 and some crappy movie called Prone To Own. I've been playing DOD since the first public alpha was released.
I'm relatively new to TPG, only played a few seasons and only know a few people besides my own team.
Don't worry about it I was very drunk when I posted my reply. I'm actually kind of embarrassed that I rambled off my DOD resume haha

Re: Server Mod Idea - TPG Roster Check

Posted: Tue Oct 09, 2012 10:57 pm
by rehpyc
Learn to use an autoexec.cfg n00bz