AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Pregame Slaughter 1.0.7 (https://forums.alliedmods.net/showthread.php?t=149412)

BrutalGoerge 02-06-2011 13:47

[TF2] Pregame Slaughter 1.0.7
 
7 Attachment(s)
Description:
Well I wasn't sure if I was going to release this, since there is another similar plugin out there, but due to interest, I am.
This mod during the 'waiting for players' period in TF2 will enable friendly fire, and disable clipping through teammates. It will randomly choose melee weapons, mini crits, or full crits. It counts how many team-kills you get, and at the end displays a panel of the top 3 team killers for each team.

Credits:
ratty for the original concept

Cvars:
tf2_pregame_timelimit "60" -- Controls the time of the pregame round (essentially is mp_waitingforplayers_time)
tf2_pregame_stats "1" -- Enable/disable the little pregame round stats
tf2_pregame_crits "3" -- Control if the players are given mini, full, random, or no crits
tf2_pregame_melee "2" -- Control if the players are limited to melee weapons, or random setting
tf2_pregame_doors "2" -- Control if the doors are opened, closed, randomly opened/closed or dont mess with doors.

Ideas/Plans:
- More configurable

Changes:
Code:

1.0.7
-Add convar tf2_pregame_crits
-Add convar tf2_pregame_melee
-Add convar tf2_pregame_doors
-Make use of pretty forwards that were added since I last updated to control when pregame starts :D

1.0.6
update compiler

1.0.5
- 3 people on each team before the top 3 panel timer is called

1.0.4
- fix crash bug

1.0.3
- fix error from panel creator when there are < 3 people on either team
- fix error from panel handle closing. lol lazy

1.0.2
- block logging of deaths during (<3 psychonic)

1.0.1
- add var to disable stats tracking during
- add Askpluginload2 to disable on the map when loaded late


Sir Jake 02-06-2011 15:10

Re: [TF2] Pregame Slaughter
 
Noticed stats are tracked for this when running, if you're able to disable them for this that'd be great.

Thanks for releasing this.
A note for others don't load it before map change, I did this and it was stuck on lol

Thanks for the fix :)
Another edit, when I said stats I meant hlstats the mini one on there is nice.

YAY! Thank you very much, now people should be much more happy.
You rock Goerge

BrutalGoerge 02-06-2011 16:32

Re: [TF2] Pregame Slaughter
 
lol oops, well, i think theres a setting in the hlstats config to disable hlstats until its normalround time. not sure what I can do. maybe block the death events so they arent picked up by hlstats?

Sir Jake 02-06-2011 20:42

Re: [TF2] Pregame Slaughter
 
How does this plugin respawn players? I noticed the first two it was 1-4 seconds everyone would respawn just now it looks like default time on the respawns.
Thanks for the stats fix works great!

I also seen another thing someplace on this site that let pyro's do friendly fire, think it had to have something turn it on and off, I'll see if I can find a link for it. Might be something extra that people might like.

Noticed a few people ask me why it never worked. Had to tell them valve has it disabled.

Polaris117 02-07-2011 06:23

Re: [TF2] Pregame Slaughter
 
Very interesting! I already the ratty's plugin on my server, but yours will be updated, and if you could add the pyro's FF, it would be REALLY amazing!

Sir Jake 02-08-2011 17:56

Re: [TF2] Pregame Slaughter
 
After testing a few things out we noticed if only one person was on the server for the warm up round the server would crash, tried it with a person on each team and everything was okay.

Disabled it and tried just a round and killing oneself and no more crashes, in the log files this is all I can see.

Code:

L 02/07/2011 - 23:20:06: [SM]  [0]  Line 361, /home/groups/alliedmodders/forums/files/2/9/4/0/9/81891.attach::Panel_Callback()
L 02/07/2011 - 23:20:06: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 02/07/2011 - 23:20:06: [SM] Displaying call stack trace for plugin "tf2_pregame.smx


Going to put it on a test server later today and do a few more tests and see whats going on.

BrutalGoerge 02-08-2011 17:58

Re: [TF2] Pregame Slaughter
 
beat ya to it, look at the latest changelog :)
hehe

Sir Jake 02-08-2011 18:30

Re: [TF2] Pregame Slaughter 1.0.3
 
<3 Thank you very much.
Going to load it back on there right meow!

crazydog 02-09-2011 03:10

Re: [TF2] Pregame Slaughter 1.0.3
 
Suggestion!

Add two more modes: crit + minicrt melee only! :P

BrutalGoerge 02-09-2011 06:27

Re: [TF2] Pregame Slaughter 1.0.3
 
yeh it does that. tho i may have not explained it well.
It 'randomly' chooses normal damage, mini crit, or random crit
And it 'randomly' chooses melee or all weapons

so you can get melee with crits melee with minis, or just plain melee

Sir Jake 02-09-2011 07:02

Re: [TF2] Pregame Slaughter 1.0.3
 
Yeah took me a minute to figure that out when I first seen this on here.
Mine had an option to have it pick primary guns or secondary guns, melee or a forth option of random. Not sure if people would like to have the options of that or not. I like the random one myself.

Sir Jake 02-09-2011 13:56

Re: [TF2] Pregame Slaughter 1.0.3
 
Tested again this morning and still seems to crash the server after only one player is on for the warmup round. :(

onlyamd 02-09-2011 16:35

Re: [TF2] Pregame Slaughter 1.0.3
 
Same here

BrutalGoerge 02-09-2011 16:38

Re: [TF2] Pregame Slaughter 1.0.3
 
durp i think i fixed that now, and added a check just to be double safe

onlyamd 02-11-2011 18:49

Re: [TF2] Pregame Slaughter 1.0.4
 
good to go, nice job :up:

moiph 02-20-2011 22:59

Re: [TF2] Pregame Slaughter 1.0.4
 
I was seeing crashes on my server; I saw no stack trace from this plugin, but after adding it, it seemed to work at first, followed by crashes on map changes....after removing it the crashes are gone. I can attach a debug.log from the server if you could possibly find use of it.

DontWannaName 02-21-2011 01:03

Re: [TF2] Pregame Slaughter 1.0.4
 
:(

Sir Jake 02-21-2011 01:54

Re: [TF2] Pregame Slaughter 1.0.4
 
Wondering about the respawn times on this the crashes have stopped since your last fix for me at least.

Why the sad face DWN? This is a great plugin! :)

BrutalGoerge 02-21-2011 07:05

Re: [TF2] Pregame Slaughter 1.0.5
 
respawns almost instantly after people dies

Sir Jake 02-21-2011 18:29

Re: [TF2] Pregame Slaughter 1.0.5
 
Yeah, not sure mine worked like this the first version of the plugin I think it was and after that it's been default spawn times now.

Don't see anything in the error logs about it. Just updated to 1.0.5 and it's still the same, any clues as to why this might happen?

Thanks.

BrutalGoerge 02-24-2011 21:23

Re: [TF2] Pregame Slaughter 1.0.5
 
no clue

crazydog 02-28-2011 17:00

Re: [TF2] Pregame Slaughter 1.0.5
 
Here's something I thought of earlier as a way to add variety.

Add another random element where everybody is forced to the same class during setup.

Infomastr 03-16-2011 02:17

Re: [TF2] Pregame Slaughter 1.0.5
 
Thanks for posting this Goerge. Outstanding plugin.

Sir Jake 03-16-2011 03:57

Re: [TF2] Pregame Slaughter 1.0.5
 
Installed it on another server and everything worked great, not sure what the issue was I had but new installs are always nice.

Thanks again for this wonderful plugin.

JOSHBOX 03-17-2011 23:39

Re: [TF2] Pregame Slaughter 1.0.5
 
Does this work with Arena and the short 5-10 second waiting period before each round start?

Sir Jake 03-18-2011 05:07

Re: [TF2] Pregame Slaughter 1.0.5
 
Hmm, was going to try this on my arena server but haven't got around to trying. I'll see if I can do it tomorrow and see how it works.

crazydog 05-19-2011 22:41

Re: [TF2] Pregame Slaughter 1.0.5
 
This seems to not be working with replays enabled. It suddenly does not work, and I'm not getting any kind of errors.

SeoToX 09-08-2011 03:27

Re: [TF2] Pregame Slaughter 1.0.5
 
1 Attachment(s)
Hi

I edited and added instant respawn (mp_disable_respawn_times)

Have a nice day ^^

BrutalGoerge 09-08-2011 03:29

Re: [TF2] Pregame Slaughter 1.0.5
 
i thought that setting still leaves too much spawn time compared to forcing instant spawn with the function

mortal888 09-20-2011 15:16

Re: [TF2] Pregame Slaughter 1.0.5
 
I installed this plugin and it has gotten an overwhelmingly great response.

THANKS!!

danielmyst777 09-20-2011 20:15

Re: [TF2] Pregame Slaughter 1.0.5
 
Problem with this plug-in for pub servers is that it adds the friendlyfire tag to sv_tags for the server disallowing quick play "Play Now" players from joining the server so it is a showstopper for this plug-in :(

SeoToX 09-21-2011 09:42

Re: [TF2] Pregame Slaughter 1.0.5
 
Its dont work for me after the latest updates :(

danielmyst777 10-01-2011 21:09

Re: [TF2] Pregame Slaughter 1.0.5
 
Does anyone mind, or the OP, making a version that doesn't add the friendlyfire tag to the server tags at all? If it is not possible, can it be suppressed from showing on sv_tags? I'd really love to use this plug-in but the my reasoning for not is on post #31.

Thanks.

moxie2020 01-01-2012 21:20

Re: [TF2] Pregame Slaughter 1.0.5
 
This plugin stopped working for me after the last update.

I tried reinstalling with no luck. I even tried removing all plugins except this one and still no luck. It did work 1 time on the initial load but never works on a level change anymore.

Am I alone on this? Is there a fix?:cry:

moxie2020 02-27-2012 21:17

Re: [TF2] Pregame Slaughter 1.0.5
 
Quote:

Originally Posted by moxie2020 (Post 1623440)
This plugin stopped working for me after the last update.

I tried reinstalling with no luck. I even tried removing all plugins except this one and still no luck. It did work 1 time on the initial load but never works on a level change anymore.

Am I alone on this? Is there a fix?:cry:

Anyone, Anyone...

moxie2020 02-29-2012 15:38

Re: [TF2] Pregame Slaughter 1.0.5
 
Quote:

Originally Posted by SeoToX (Post 1560156)
Its dont work for me after the latest updates :(

Does this work for anyone?

Powerlord 03-01-2012 10:14

Re: [TF2] Pregame Slaughter 1.0.5
 
1 Attachment(s)
I'll be honest: I don't use this plugin on my server.

Having said that, here's a small revision that may fix the issues people are having. Essentially, this version uses a SourceMod 1.4 feature that calls two functions when Waiting for Players starts and ends.

Velsk 03-01-2012 20:06

Re: [TF2] Pregame Slaughter 1.0.5
 
I didn't use the original but your version works fine Powerlord.

One thing I noticed browsing through the code is the ModifyLockers function. This is supposed to enable/disable the resupply lockers, yes? It doesn't appear to work at the moment but I don't see what's wrong with it.

moxie2020 03-09-2012 14:17

Re: [TF2] Pregame Slaughter 1.0.5
 
Quote:

Originally Posted by Powerlord (Post 1660423)
I'll be honest: I don't use this plugin on my server.

Having said that, here's a small revision that may fix the issues people are having. Essentially, this version uses a SourceMod 1.4 feature that calls two functions when Waiting for Players starts and ends.

It works. But I have an issue. I would prefer it to always be the all weapons mode. The melee is fun but if you go to the supply closet it enables all weapons and a pyro or heavy can spoil all the fun.

Can you make a version where melee mode is removed but retains the scoreboard? I hope I am not asking for too much.

I really love this plugin and so does my community.

BrutalGoerge 02-28-2015 08:50

Re: [TF2] Pregame Slaughter 1.0.5
 
Quote:

Originally Posted by moxie2020 (Post 1665589)
It works. But I have an issue. I would prefer it to always be the all weapons mode. The melee is fun but if you go to the supply closet it enables all weapons and a pyro or heavy can spoil all the fun.

Can you make a version where melee mode is removed but retains the scoreboard? I hope I am not asking for too much.

I really love this plugin and so does my community.

How about that 3 year old request being fulfilled.
plugin updated xD


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

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