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

High Ping Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-10-2008 , 12:46   Re: High Ping Kicker
Reply With Quote #111

Quote:
Originally Posted by Electric Warrior View Post
Does this mean it will be no good for HL2DM which is a non-team game?
Write a plugin or something and see what "team" they are on. If they are 0 or 1, then no, it wont work. If you'll let me know what the teamnum for HL2DM is, I'll fix it though.
Liam is offline
Manni
Senior Member
Join Date: Nov 2007
Location: Germany
Old 07-10-2008 , 17:38   Re: High Ping Kicker
Reply With Quote #112

2 Game Mods possible in HL2DM

Team Deathmatch:
Rebels = 3
Combine = 2
spectate = 1
Unassigened = 0 (removed since a source update, no teamjoin 0 possible anymore)

Deathmatch:
no teams (players are probably unassigend = 0)
spectate = 1


hope this helps?

Last edited by Manni; 07-11-2008 at 06:05.
Manni is offline
Send a message via ICQ to Manni
Electric Warrior
Senior Member
Join Date: Jan 2005
Location: Portslade, East Sussex,
Old 07-10-2008 , 18:21   Re: High Ping Kicker
Reply With Quote #113

Thanks for that information Manni.

I'm looking to use this plugin in Deathmatch i.e. no teams.

Anything you can do with the information supplied by Manni please Liam?
Electric Warrior is offline
Send a message via ICQ to Electric Warrior Send a message via AIM to Electric Warrior Send a message via MSN to Electric Warrior Send a message via Yahoo to Electric Warrior Send a message via Skype™ to Electric Warrior
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-10-2008 , 19:23   Re: High Ping Kicker
Reply With Quote #114

Compile, upload, and run this plugin, in the console type sm_getteams, and paste me the output.

Make sure to do this on a server running HL2DM while there are players on.
Attached Files
File Type: sp Get Plugin or Get Source (teams.sp - 496 views - 2.2 KB)

Last edited by Liam; 07-10-2008 at 19:46.
Liam is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 07-10-2008 , 19:32   Re: High Ping Kicker
Reply With Quote #115

HL2DM even?
Arg! is offline
Electric Warrior
Senior Member
Join Date: Jan 2005
Location: Portslade, East Sussex,
Old 07-11-2008 , 05:15   Re: High Ping Kicker
Reply With Quote #116

Used your sm_getteams Liam, and it would seem that all hl2dm players are shown as being Team 0 irrespective of them being either Combine or Rebel.

Here's the result:

Client [YLF]Ee_by_Gum! on Team 0
Client [CoW]Ermintrude on Team 0
Client [SiC]Sephyr on Team 0
Client [SiC]Sussex_Independence_Crew on Team 0
Client [S-UK]Mr.MacHenry on Team 0
Client [S-UK] Spintronics on Team 0
Electric Warrior is offline
Send a message via ICQ to Electric Warrior Send a message via AIM to Electric Warrior Send a message via MSN to Electric Warrior Send a message via Yahoo to Electric Warrior Send a message via Skype™ to Electric Warrior
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-11-2008 , 12:42   Re: High Ping Kicker
Reply With Quote #117

Give me a bit to make some changes to the code and yes, I can set that up.
Liam is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-11-2008 , 12:51   Re: High Ping Kicker
Reply With Quote #118

Updated. See OP for changelog.
Liam is offline
Electric Warrior
Senior Member
Join Date: Jan 2005
Location: Portslade, East Sussex,
Old 07-11-2008 , 14:03   Re: High Ping Kicker
Reply With Quote #119

Thanks Liam, installed on my 6 servers. Says version 2.4
Electric Warrior is offline
Send a message via ICQ to Electric Warrior Send a message via AIM to Electric Warrior Send a message via MSN to Electric Warrior Send a message via Yahoo to Electric Warrior Send a message via Skype™ to Electric Warrior
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-11-2008 , 14:36   Re: High Ping Kicker
Reply With Quote #120

Yeah, I hit the wrong button when I put the version number in. -.-
Liam 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 01:53.


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