Raised This Month: $51 Target: $400
 12% 

Warmup Round (1.1.8, Updated: 10/7/2008)


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-03-2008 , 08:02   Re: Warmup Round
Reply With Quote #21

Use the config options to turn GG off at the beginning and on at the end.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-03-2008 , 11:14   Re: Warmup Round
Reply With Quote #22

I don't want to unload gungame. I just want to prevent leveling like it does in the gungame warmup round script.
tigerox is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 10-03-2008 , 11:20   Re: Warmup Round
Reply With Quote #23

Quote:
Originally Posted by tigerox View Post
I don't want to unload gungame. I just want to prevent leveling like it does in the gungame warmup round script.
Nothing I can do for that. You may as well unload gungame. It's super easy. es_unload gungame, es_load gungame.

The reason the gungame warmup script can do it, is because it *is* part of gungame. To my knowledge, I have no way of reaching over to gungame and saying "yeah, just ignore all this stuff".
XARIUS is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-03-2008 , 13:21   Re: Warmup Round
Reply With Quote #24

I was looking if i could interface with the gungame library in python but, i don't see a way.
tigerox is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 10-07-2008 , 13:37   Re: Warmup Round
Reply With Quote #25

Updated to 1.1.8. Please see changelog.
__________________
XARIUS is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 10-08-2008 , 10:23   Re: Warmup Round
Reply With Quote #26

Quote:
Originally Posted by XARIUS View Post
Check changelog, I just did actually. =) Well, it doesn't prevent it, but it strips whatever they buy away, which is plenty since the game gets reset after warmup.
No reason to run a complex script that strips weapons after a buy, just hook the "buy" command

RegConsoleCmd("buy", Command_Buy)

and just do this:

public Action:Command_Buy(client, args)
{
if(warmup_running) {
PrintToChat(client, "You cannot buy anything during the warmup round."); return Plugin_Handled; }
}
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 10-08-2008 , 13:14   Re: Warmup Round
Reply With Quote #27

Quote:
Originally Posted by Liam View Post
No reason to run a complex script that strips weapons after a buy, just hook the "buy" command

RegConsoleCmd("buy", Command_Buy)

and just do this:

public Action:Command_Buy(client, args)
{
if(warmup_running) {
PrintToChat(client, "You cannot buy anything during the warmup round."); return Plugin_Handled; }
}
Cool, thanks! I already had the weapon stripper written to prevent items from being picked up off the ground. Since buying weapons also triggers item_pickup, I figured I'd just loop it through the same function.

Yours is certainly more elegant, I'll put that in for the next update.

Thanks!
__________________
XARIUS is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-09-2008 , 19:42   Re: Warmup Round (1.1.8, Updated: 10/7/2008)
Reply With Quote #28

Code:
L 10/09/2008 - 16:46:46: [SM] Native "GetEntDataEnt2" reported: Entity 8 is invalid
L 10/09/2008 - 16:46:46: [SM] Debug mode is not enabled for "warmup.smx"
tigerox is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 10-09-2008 , 19:43   Re: Warmup Round (1.1.8, Updated: 10/7/2008)
Reply With Quote #29

Quote:
Originally Posted by tigerox View Post
Code:
L 10/09/2008 - 16:46:46: [SM] Native "GetEntDataEnt2" reported: Entity 8 is invalid
L 10/09/2008 - 16:46:46: [SM] Debug mode is not enabled for "warmup.smx"
Thanks for that! I noticed it in my logs this morning as well. I'll have an update out soon. I've already changed a few minor things.

X
__________________
XARIUS is offline
TheIceDragon
New Member
Join Date: Nov 2008
Old 11-26-2008 , 20:06   Re: Warmup Round (1.1.8, Updated: 10/7/2008)
Reply With Quote #30

Can you help me?..cuz i like how uve got it..but it has no knives..cuz i need a knife n nade warmup...n also i have my warmup timer set to 60 in mani_server.cfg but its weird that the warmup goes on twice..y is that?...it goes till 35 then round restarts n another warmup comes up to 35 more seconds
any help wud be nice=P
TheIceDragon 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 07:43.


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