DoD Pick-up Game Mod (PUG MOD)

Relax, lounge around, and find out who hacks.

Moderators: mogers, scorch-, Cory Cory! Price, laura

dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

I finally got around to working on this plugin again and I feel that it's ready for beta testing.

For those that aren't familiar with this project, The PUG MOD is basically a fully automated plugin that allows players to play a PUG or 12 Man (whatever you prefer to call it) without the need of a server admin.

========================================================================================================
The process of the plugin works as follows:
Spoiler: show
1-Two players type the word "captain"

2-One of those players will become the home team captain, the other will become the away team captain (Randomly Selected)

3-Each captain will choose 5 players (Home Team picks first)

4-The away team captain then chooses the map.

5-The server then automatically changes to the chosen map

6-After the map change, players that were selected by a captain have a 60 second grace period to reconnect to the server. If the player does not reconnect within the 60 second period his/her slot is given to the first player to successfully connect to the server.

7-Once 12 Players exist in the server, all players will automatically be switched to the appropriate team (To spawn, just hit the class button and select your class)

8-Once both teams are ready to play, captains from each team must type "ready" to start the game

9-When the 1st half is over, repeat steps 6-8

10-When 2nd half is over, game has ended.

*If a captain disconnects a player from the same team will automatically be designated as the new team captain. If you're unsure who the captains are just type "teams" and the team list will be printed to your console.
========================================================================================================

I'm not sure if anyone really has any use for this anymore but I said I would do it a couple of months ago, so thats what I did.

I'm open to all comments, questions, compliments, criticisms, complaints, suggestions. If something goes wrong with the plugin or you notice a glitch PLEASE LET ME KNOW. I can't fix things I don't know about.

Plugin runs on this server:

connect dodpugbeta.game.nfoservers.com:27015; password 1911

========================================================================================================

UPDATES:

7/3/2012: Relive/Reset Feature Added

Captains can now Relive/Reset the half by simply typing "reset" in chat. Once a captain types "reset" the opposing captain has 30 seconds to comply with the request.

This was implemented to prevent a team from having a disadvantage from all the silly crap that happens before the half starts.

6/25/2012: Random Class Fix

If you manually assign yourself to the correct team the plugin will not set you to random class when it checks to see if the teams are correct. The HOME team is always ALLIES first. The AWAY team is always AXIS first.

While the server is WAITING FOR PLAYERS TO CONNECT, assign yourself to the correct team, set your class and you shouldn't run into any problems.
Last edited by dogfire on Mon Jul 02, 2012 11:13 pm, edited 3 times in total.
seanality
Posts: 880
Joined: Tue Apr 19, 2011 12:24 pm
Clans: Despise/UI, SKULL, ez5, n2p/Eximius, InsG, gddLam, band-aid, Jim's, htk
Location: Portland, Maine
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by seanality »

Should make it to auto record HLTV on the server.

Maybe we can use the money from the 1911 pub server that we have and put it into a 12 man server or two with this on them.

I am glad someone did this, thank you.
acetamino
Posts: 925
Joined: Sat Jan 29, 2011 2:03 am
Location: Burlington
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by acetamino »

Kick afk? Ppl have to vote kick a player?
Miller`
Posts: 645
Joined: Sat May 14, 2011 5:53 am
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Miller` »

Does it run off of amxxmod or something?
raz0r
Posts: 74
Joined: Tue May 08, 2012 1:26 pm
Clans: KiS, CosaNostra, 38th

Re: DoD Pick-up Game Mod (PUG MOD)

Post by raz0r »

Will anyone on the server need access to rcon?
Will the plugin continue to be exec'd? So Can people join at some random time, with no admin rights, and be able to run it?
Any way to kick tkers/afkers?

Also, concern about "captain picks the map" They could randomly just pick something terrible, any way to at least limit it to league maps? Or is it already?

Thanks man, look forward to testing it out.
element
Posts: 91
Joined: Fri Apr 08, 2011 10:28 am
Clans: DA, dpk, slow loris, squares

Re: DoD Pick-up Game Mod (PUG MOD)

Post by element »

raz0r wrote:Will anyone on the server need access to rcon?
doggfire wrote:The PUG MOD is basically a fully automated plugin that allows players to play a PUG or 12 Man (whatever you prefer to call it) without the need of a server admin.
raz0r wrote:Also, concern about "captain picks the map" They could randomly just pick something terrible, any way to at least limit it to league maps? Or is it already?


I'm sure that no idiot will pick a map that people don't agree on and clear the server.
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

seanality wrote:Should make it to auto record HLTV on the server.

Maybe we can use the money from the 1911 pub server that we have and put it into a 12 man server or two with this on them.

I am glad someone did this, thank you.
Auto recording is in the works, just wanted to release the plugin as it is to test what has already been implemented. You're welcome. :D
Miller` wrote:Does it run off of amxxmod or something?
Yes.
acetamino wrote:Kick afk? Ppl have to vote kick a player?
AFKs will be auto kicked after a certain time period. Tkers will probably need to be vote kicked unless a TK limit is set.
raz0r wrote:Will anyone on the server need access to rcon?
Will the plugin continue to be exec'd? So Can people join at some random time, with no admin rights, and be able to run it?
Any way to kick tkers/afkers?

Also, concern about "captain picks the map" They could randomly just pick something terrible, any way to at least limit it to league maps? Or is it already?

Thanks man, look forward to testing it out.
No one will need rcon access to the server, the plugin will be running all the time.

Only captains can push the game forward.

AFKs will be auto kicked after a certain time period. Tkers will probably need to be vote kicked unless a TK limit is set.'

Map list is limited to whatever the server admin sees fit.



Autokick for AFKs and TKers isn't implemented yet but can easily be done. I understand that it can be a serious issue but I'm really planning on only league players using this plugin during it's testing period, so I kind of expect you guys to not TK and or go AFK. Please take it seriously.
meekrab
Posts: 214
Joined: Mon Mar 05, 2012 3:26 pm
Clans: tap, ENE, emo, |o/, toggle
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by meekrab »

Just make it a simple vote system for the map change, don't let one asshole/12yearold ruin things just cuz he didn't get first pick.
User avatar
Sears
Posts: 2913
Joined: Sun Jun 30, 2002 12:40 pm
Clans: cXt, blacksheep, 45th, a0tp, 63rd, devil^, em0, ubad, sssx, mvpz, Greasy Dorks.
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Sears »

dogfire wrote:Please take it seriously.
Image
raz0r
Posts: 74
Joined: Tue May 08, 2012 1:26 pm
Clans: KiS, CosaNostra, 38th

Re: DoD Pick-up Game Mod (PUG MOD)

Post by raz0r »

element wrote:
raz0r wrote:Will anyone on the server need access to rcon?
doggfire wrote:The PUG MOD is basically a fully automated plugin that allows players to play a PUG or 12 Man (whatever you prefer to call it) without the need of a server admin.
Clearly I cant read.
raz0r wrote:Also, concern about "captain picks the map" They could randomly just pick something terrible, any way to at least limit it to league maps? Or is it already?


I'm sure that no idiot will pick a map that people don't agree on and clear the server.

Have you 12 manned? There is always an idiot. Virus changes map to dod_charlie. lul
acetamino
Posts: 925
Joined: Sat Jan 29, 2011 2:03 am
Location: Burlington
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by acetamino »

Maybe make it all 12 have to type ready and you can see who has already then those twelve vote on a captain so ppl like shreddies or virusx don't capt
Tin Bad
Posts: 379
Joined: Mon Jan 16, 2012 10:24 am
Clans: 187th, nbk, MM, TeamLess, Last Bullet, 38th, nRm¿
Location: Los Angeles, CA
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Tin Bad »

sweet. can't wait to try it out.

thanks!
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

acetamino wrote:Maybe make it all 12 have to type ready and you can see who has already then those twelve vote on a captain so ppl like shreddies or virusx don't capt
Good idea, I like it.
Tin Bad wrote:sweet. can't wait to try it out.

thanks!
No problem, I urge everyone to try it out!
acetamino
Posts: 925
Joined: Sat Jan 29, 2011 2:03 am
Location: Burlington
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by acetamino »

can we use in-game voice so we dont have to organize vent as well?
SKiNnTo
Posts: 862
Joined: Mon Apr 18, 2011 6:38 pm
Clans: LAB, Shock&Awe,[sAs]
Location: SE, Michigan
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by SKiNnTo »

With all the questions asked, makes you wonder how many read more than the first few lines of the post. Nice work Dogfire!
Semper FI
Posts: 33
Joined: Wed Jun 20, 2012 5:12 pm
Clans: who cares?

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Semper FI »

I have been looking forward to this, and down to testing it out.

You need to make sure that this pluggin if it is running off AMX, that its not going to affect the registry. Amx is terrible when it comes to registry in any server.
CharlieGiteau
Posts: 1331
Joined: Sun May 08, 2011 9:49 pm
Clans: solidworks, pUr/fp^, gddLam, TeamLess, [38th], NB
Location: Cincinnati, Ohio
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by CharlieGiteau »

Semper FI wrote:
You need to make sure that this pluggin if it is running off AMX, that its not going to affect the registry. Amx is terrible when it comes to registry in any server.
Heavily modded servers have their registry affected. A small handful, which when this is added might make 4 on the 1911 server, will not cause it to be affected to the point that you'll notice it. We've all played on heavily modded servers, and the registry is fine, you're just missing.
arnsk
Posts: 74
Joined: Sat Mar 03, 2012 4:18 pm
Clans: hsb laudable thunder Eximius MindScape mugNmouse eMg miLe
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by arnsk »

Found a flaw, somebody nades or TK's off spawn you can't relive it.
HYFR#yolo
Posts: 52
Joined: Wed Jun 13, 2012 12:34 pm
Clans: ~CM~

Re: DoD Pick-up Game Mod (PUG MOD)

Post by HYFR#yolo »

arnsk wrote:Found a flaw, somebody nades or TK's off spawn you can't relive it.
Simple fix, don't let biggie in the server.
User avatar
CraftyDus
Posts: 468
Joined: Tue Feb 28, 2012 8:05 pm
Clans: [ToKiN] |B.A.M| BIO* |-| |-| )sC( {GSR}
Location: NorthEast US
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by CraftyDus »

[youtube]CLROQpzhUf8[/youtube]
User avatar
Sears
Posts: 2913
Joined: Sun Jun 30, 2002 12:40 pm
Clans: cXt, blacksheep, 45th, a0tp, 63rd, devil^, em0, ubad, sssx, mvpz, Greasy Dorks.
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Sears »

Regardless of wether or not people start using this regularly, thanks for putting so much effort into and continuing to work on it. Once you've got the bugs figured out, hit me up and we'll get it all set up on the 1911 server.

Huge +reps.
knockout
Posts: 1112
Joined: Sun Mar 25, 2012 11:22 am
Clans: gomi - dicE - revamped - dodod - gskiLL
Location: up your butt and around the corner

Re: DoD Pick-up Game Mod (PUG MOD)

Post by knockout »

The #1 thing that affects the registry is the fact that dod on the internet is a really shitty game.
motive
Posts: 810
Joined: Sun Feb 06, 2011 8:47 pm
Clans: mafia, online thunder, axxium/50cal, 3h/LcM, mvpz, dodod
Location: nj
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by motive »

please do not even fix the bugs that first pug we did today was fucking hilarious
avenger
Posts: 682
Joined: Fri Apr 29, 2011 12:56 pm
Clans: cosa, devil, hb, ve, insg, 38th, GiMP, ptm, seclusion, dgf, romantic tragedy, [?], MVPz, SaB, NB*
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by avenger »

motive wrote:please do not even fix the bugs that first pug we did today was fucking hilarious

"you stole my fucking homing missle"
dorraj
Posts: 154
Joined: Mon Jul 18, 2011 9:49 am

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dorraj »

Used it earlier today, thanks for putting in all the effort! I thought it worked really well. If there was an HLTV in the server, which there wasn't, would a captain be able to pick the HLTV and fuck up the 12man? That is the only concern I can think of right now. Also some sort of map voting system may be nice, not sure if that is possible but having one person pick the map may suck eventually.
nunz
Posts: 1022
Joined: Tue Jun 14, 2011 8:16 pm
Clans: </3 LIVEVIL 38th LAB sb riseabove
Location: Mississauga
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by nunz »

dorraj wrote:Used it earlier today, thanks for putting in all the effort! I thought it worked really well. If there was an HLTV in the server, which there wasn't, would a captain be able to pick the HLTV and fuck up the 12man? That is the only concern I can think of right now. Also some sort of map voting system may be nice, not sure if that is possible but having one person pick the map may suck eventually.
If a map cant be pick then can we atleast lock it to MOTW?
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

acetamino wrote:can we use in-game voice so we dont have to organize vent as well?
Yes.
Semper FI wrote:I have been looking forward to this, and down to testing it out.

You need to make sure that this pluggin if it is running off AMX, that its not going to affect the registry. Amx is terrible when it comes to registry in any server.
I specifically designed the plugin so that next to nothing would be running in the background while the game is in progress so this shouldn't be a worry.
arnsk wrote:Found a flaw, somebody nades or TK's off spawn you can't relive it.
Noted, thanks.
Sears wrote:Regardless of wether or not people start using this regularly, thanks for putting so much effort into and continuing to work on it. Once you've got the bugs figured out, hit me up and we'll get it all set up on the 1911 server.

Huge +reps.
Thanks, will do!
dorraj wrote:Used it earlier today, thanks for putting in all the effort! I thought it worked really well. If there was an HLTV in the server, which there wasn't, would a captain be able to pick the HLTV and fuck up the 12man? That is the only concern I can think of right now. Also some sort of map voting system may be nice, not sure if that is possible but having one person pick the map may suck eventually.
I don't know why the HLTV doesn't stay connected yet, it should be in there at all times. The HLTV is ignored by the functions that enumerate players in the server so it shouldn't be an issue.

Map voting seems to be pretty popular it will likely be implemented.
nunz wrote: If a map cant be pick then can we atleast lock it to MOTW?
When I start handing it out, you guys can do whatever you want with the map list. You could essentially lock it to one map by simply putting one entry in the map list.
gh0sted!
Posts: 16
Joined: Sun Feb 26, 2012 8:53 pm
Clans: -TP-, [RL], i-only, Like A Boss, -{PC}-

Re: DoD Pick-up Game Mod (PUG MOD)

Post by gh0sted! »

Good stuff man, I'm ready to try it out again now that it's finished.
k4b00m
Posts: 1446
Joined: Wed Mar 30, 2011 5:33 pm
Clans: dpk, dgf
Location: Canada
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by k4b00m »

It plays really well, great job so far dogfire.

Only issue for me is the mod assigns us a random gun when it puts us on the right team, is there a way to make it so it will bring up the menu and we get to pick the weapon we want? It assigned me an MG as it was going live today lol. We said ready pretty quickly, but it would make things easier to pick a gun rather than being set to random.
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

k4b00m wrote:It plays really well, great job so far dogfire.

Only issue for me is the mod assigns us a random gun when it puts us on the right team, is there a way to make it so it will bring up the menu and we get to pick the weapon we want? It assigned me an MG as it was going live today lol. We said ready pretty quickly, but it would make things easier to pick a gun rather than being set to random.
Yeah I've heard that problem from several people now. It's definitely something that can be fixed. I'll try to get it in the next update. Thanks for the feedback.
arnsk
Posts: 74
Joined: Sat Mar 03, 2012 4:18 pm
Clans: hsb laudable thunder Eximius MindScape mugNmouse eMg miLe
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by arnsk »

Definitely appreciate your time put forth on this project. You've done a great job so far =].
scorch-
Posts: 1461
Joined: Mon Jan 31, 2011 10:05 am
Clans: #[e]xceptional.dod ~ #check-six ~ #jetty ~ dodod
Location: ventura,ca
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by scorch- »

The registry problem was a bug in AMX about 8 years ago. IIRC it was actually a problem with the metamod dll, not even AMX. AMXX shouldn't affect registry as long as it's not slowing server fps, which it sounds like it shouldn't be.
Tin Bad
Posts: 379
Joined: Mon Jan 16, 2012 10:24 am
Clans: 187th, nbk, MM, TeamLess, Last Bullet, 38th, nRm¿
Location: Los Angeles, CA
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Tin Bad »

arnsk wrote:Definitely appreciate your time put forth on this project. You've done a great job so far =].
hildebrand
Posts: 903
Joined: Fri Feb 04, 2011 2:41 am
Clans: {GSR}, prFnd, rmX., The Gentlemen, mtp, winnfield, |o/, akk!, iwa
Location: Canada

Re: DoD Pick-up Game Mod (PUG MOD)

Post by hildebrand »

truly amazing. excellent work!

12man later tonite!
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

arnsk wrote:Definitely appreciate your time put forth on this project. You've done a great job so far =].
Tin Bad wrote:
arnsk wrote:Definitely appreciate your time put forth on this project. You've done a great job so far =].
hildebrand wrote:truly amazing. excellent work!

12man later tonite!
Thanks. Glad you guys like it so far!
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

Plugin updated, please see bottom of first post.
seanality
Posts: 880
Joined: Tue Apr 19, 2011 12:24 pm
Clans: Despise/UI, SKULL, ez5, n2p/Eximius, InsG, gddLam, band-aid, Jim's, htk
Location: Portland, Maine
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by seanality »

What about tying this in with the old stats system that Cypher made?
element
Posts: 91
Joined: Fri Apr 08, 2011 10:28 am
Clans: DA, dpk, slow loris, squares

Re: DoD Pick-up Game Mod (PUG MOD)

Post by element »

seanality wrote:What about tying this in with the old stats system that Cypher made?
12 man stats? Because those are always important.
User avatar
Sears
Posts: 2913
Joined: Sun Jun 30, 2002 12:40 pm
Clans: cXt, blacksheep, 45th, a0tp, 63rd, devil^, em0, ubad, sssx, mvpz, Greasy Dorks.
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Sears »

seanality wrote:What about tying this in with the old stats system that Cypher made?
I have that, but its broken, super broken...
Rambizzle
Posts: 1356
Joined: Fri Jan 28, 2011 10:17 pm
Clans: high.p, 3h, h8, LP^, jetty

Re: DoD Pick-up Game Mod (PUG MOD)

Post by Rambizzle »

thats because sean gaylas made it. Let chuck fix it.
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

seanality wrote:What about tying this in with the old stats system that Cypher made?
I'm still considering making a very simple stats system that only keeps track of score, kills and deaths for each game. I would design it so it could be used with or without PUG MOD.

I think something like that may be useful for situations where stats are posted on forums for league matches but, since that requires TPG to allow the use of AMXX, I don't think that will happen too easily.

I'd say if you wanted any more stats than that, just use psycho stats and call it a day.
seanality
Posts: 880
Joined: Tue Apr 19, 2011 12:24 pm
Clans: Despise/UI, SKULL, ez5, n2p/Eximius, InsG, gddLam, band-aid, Jim's, htk
Location: Portland, Maine
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by seanality »

element wrote:
seanality wrote:What about tying this in with the old stats system that Cypher made?
12 man stats? Because those are always important.
No but they are interesting. It might also help put things in perspective for team captains. Just a thought.
seaNsk
Posts: 525
Joined: Wed Jan 04, 2012 10:43 pm
Clans: cBerry, nwP, NoGo, LAUDABLE, gddLam, moNster,
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by seaNsk »

seanality wrote:
element wrote:
seanality wrote:What about tying this in with the old stats system that Cypher made?
12 man stats? Because those are always important.
No but they are interesting. It might also help put things in perspective for team captains. Just a thought.
Stats in 12mans is going to make everyone turn into frag whores*. No stats. Please?

*Edit More than they already are.
hildebrand
Posts: 903
Joined: Fri Feb 04, 2011 2:41 am
Clans: {GSR}, prFnd, rmX., The Gentlemen, mtp, winnfield, |o/, akk!, iwa
Location: Canada

Re: DoD Pick-up Game Mod (PUG MOD)

Post by hildebrand »

but it will show who will capture flags, the team players.
dogfire
Posts: 262
Joined: Tue Sep 20, 2011 10:56 pm
Clans: - TP -, [R|L], [L.A.B], -{PC}- LIVEVIL, </3
Contact:

Re: DoD Pick-up Game Mod (PUG MOD)

Post by dogfire »

Plugin updated, please see bottom of first post.
Post Reply