Raised This Month: $66 Target: $400
 16% 

Game Status HUD Display v2.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   EKS (167)
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-20-2005 , 22:11   Game Status HUD Display v2.2
Reply With Quote #1

Game Status HUD Display

v2.2

Description:
This plugin is designed to tell you what's going on for the server, its FPS, and everyone's ping. It is basically an extension of EKS' Server Performance Monitor.

Messages include:

---------------------------------------------
Ping: (user ping), Loss: (user loss)
Average Ping: (all user's ping averaged), Average Loss: (all user's loss averaged)
Lag Chat Instances: (the amount of times anyone in the server has said "lag" in say_team or say)

Live Players: (amount of players currently alive)
Bots: (amount of bots currently in the game)
Connecting Players: (amount of players currently connecting to the server)
Connected Players: (current amount of players able to talk, or see the game)
Total Players: (current amount of players as seen by the Steam Server List)

Server FPS: (server's current FPS)
Client FPS: (current user's (you) FPS)

Admins Online: (current amount of people without flag z but with any other flag)

If you have #define CSTRIKE enabled inside the plugin, you will see this as well:

CTs: (amount of Counter Terrorists)
Ts: (amount of Terrorists)
Specs: (amount of spectators - this may be wrong)

CTs Alive: (amount of Counter-Terrorists alive)
Ts Alive: (amount of Terrorists alive)
---------------------------------------------

If you do not run Counter Strike, you must comment (add // to before it) the "#define CSTRIKE" and then recompile it.

---------------------------------------------
Commands:
amx_gamestatus - turns on the display

say /gamestatus - turns on the display
---------------------------------------------
Credits:
EKS - Idea (found his too limited) and some base code
---------------------------------------------
Notes:

#define CLIENT 1
#define ADMIN 2

To set a cvar available for client use, set the cvar as 3 or 1. The cvars work by adding together the flags you set, and then seeing whether or not the person should be able to see each section.

If you only want admins to see each section, you can set every cvar to 2.

Setting a cvar to 3 means that admins and clients can both see it. It is generally not recommended to set a cvar to 1 (clients only) as then admins cannot see it.

Screenshots (thanks [SMC]Neiko:

Screenshot 1 (/gamestatus)
[IMG]http://img97.**************/img97/9508/18ik1.th.jpg[/IMG]
http://img97.**************/img97/9508/18ik1.jpg

Screenshot 2 (amx_gamestatus 1)
[IMG]http://img97.**************/img97/9792/23dq.th.jpg[/IMG]
http://img97.**************/img97/9792/23dq.jpg
--------------------------------------------
Requirements:

- Fakemeta
Attached Files
File Type: sma Get Plugin or Get Source (gamestatus2.sma - 3897 views - 10.0 KB)
__________________

Last edited by Hawk552; 12-02-2006 at 14:11.
Hawk552 is offline
Send a message via AIM to Hawk552
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 09-21-2005 , 00:29  
Reply With Quote #2

Oh this is tight. I especially like the admin part. Great job!

+karma!
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-21-2005 , 03:56  
Reply With Quote #3

Very Nice and Very usefull.
__________________
bmann_420 is offline
Mik3h
Senior Member
Join Date: Sep 2005
Location: Amst3rdam
Old 09-21-2005 , 14:55  
Reply With Quote #4

Very nice,

Maybe you can add a section where you can see your own stats if that is possible. And add a option that people can enable that hud thingy. If people dont like it they can't take it away and it will bother them. Maybe you can also make a clcmd so clients can enable and disable it when ever they want to. But good job!
Mik3h is offline
Send a message via MSN to Mik3h
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 09-21-2005 , 15:58  
Reply With Quote #5

Nice, should implement a command for players to input so they can toggle it on/off.

3,000th post... Woohoo!
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Mik3h
Senior Member
Join Date: Sep 2005
Location: Amst3rdam
Old 09-21-2005 , 16:01  
Reply With Quote #6

Quote:
Originally Posted by v3x
Nice, should implement a command for players to input so they can toggle it on/off.

3,000th post... Woohoo!
I just said that in my previous post, Mayeb my english sucked so thats why you wrote it. But still this means that people want the toggle thingy
__________________
Talk sense to a fool and he will cal you foolish
Mik3h is offline
Send a message via MSN to Mik3h
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-21-2005 , 16:06  
Reply With Quote #7

Quote:
Originally Posted by -[M-ik3h
-]Very nice,

Maybe you can add a section where you can see your own stats if that is possible. And add a option that people can enable that hud thingy. If people dont like it they can't take it away and it will bother them. Maybe you can also make a clcmd so clients can enable and disable it when ever they want to. But good job!
So you mean a client version? Designed so that regular players can see some of what's going on?
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 09-21-2005 , 16:16  
Reply With Quote #8

Quote:
Originally Posted by -[M-ik3h
-]I just said that in my previous post, Mayeb my english sucked so thats why you wrote it. But still this means that people want the toggle thingy
Oops, didn't read it.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Mik3h
Senior Member
Join Date: Sep 2005
Location: Amst3rdam
Old 09-21-2005 , 16:20  
Reply With Quote #9

Yeah that is what i mean
__________________
Talk sense to a fool and he will cal you foolish
Mik3h is offline
Send a message via MSN to Mik3h
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-21-2005 , 16:23  
Reply With Quote #10

Ok I'll see if I can do that, possibly as a seperate plugin, possibly as an extension of this. If it gets a bit big I might make it a seperate plugin. This is designed more to tell you about ping FPS etc... and how the server and connection are doing.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply


Thread Tools
Display Modes

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:33.


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