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

[L4D/L4D2] Playerlist Panel


Post New Thread Reply   
 
Thread Tools Display Modes
Author
OtterNas3
Senior Member
Join Date: Apr 2009
Plugin ID:
1554
Plugin Version:
1.6.1 (2011.01.13)
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    30 
    Plugin Description:
    This Plugin shows a Panel with all connected Players. Very useful if you Host a server with more then 8 Players!
    Old 03-25-2010 , 09:28   [L4D/L4D2] Playerlist Panel
    Reply With Quote #1

    Author:

    OtterNas3


    Description:

    This Plugin show a Panel with all connected Players.
    Very useful if you Host a server with more then 8 Players, because you can see max 9 players in Hud!

    It gets Survivor/Infected teams max (D/F) from corresponding cvars survivor_limit/z_max_player_zombies

    The Value for Max slots on Server (G) is set automatically.
    If you have Downtown or L4DToolz installed for patch max slots, it will get the MaxClients from them.
    Because if you installed one of them and take MaxClients the max slots will most shown as 32, dont like'd that...


    To explain what the numbers mean (self explaining but...)

    [L4D/L4D2] Playerlist Panel

    Spectators (A of B)
    nameslist

    Survivors (C of D)
    nameslist

    Infected (E of F)
    nameslist

    Total connected B of G


    A = Players in Spectator Team
    B = Total connected Players
    C = Players in Survivor Team
    D = Max Slots Survivor (reads survivor_limit cvar)
    E = Players in Infected Team
    F = Max Slots Infected (reads z_max_player_zombies cvar)
    G = Max Slots on Server


    Commands:

    !teams - Display the Panel


    Cvars:

    l4d_plp_onconnect - Show Playerlist Panel on Connect? (Default: 1)
    l4d_plp_timer - How long, in seconds, the Playerlist Panel stay before it close automatic (Default: 20)
    l4d_plp_autorefreshpanel - Should the Panel be static & refresh itself every second? (Default: 1)
    l4d_plp_pashowscores - Show Playerlist Panel after Showscores? (Default: 0)
    l4d_plp_pastimer - How long, in seconds, the Playerlist Panel stay after Showscores - If l4d_plp_pashowscores is = 1 (Default: 5)
    l4d_plp_announce
    - Show Hint-Message about the command to players on Spectator? (Default: 1)
    l4d_plp_hint_static - Should the Hint for closing Playerlist Panel, be static? (Default: 1)
    l4d_plp_select_team - Should the user be able to select a team on Playerlist Panel? (Default: 1)
    l4d_plp_select_team_spectator - If l4d_plp_select_team = 1 - Should the Spectator selection be functional? (Default: 1)
    l4d_plp_select_team_survivor - If l4d_plp_select_team = 1 - Should the Survivor selection be functional? (Default: 1)
    l4d_plp_select_team_infected - If l4d_plp_select_team = 1 - Should the Infected selection be functional? (Default: 1)
    l4d_plp_show_bots - Should bots be listed in Panel? (Default: 1)


    Setup (SourceMod):

    Install:
    Download the smx file to addons\sourcemod\plugins\
    Download translation file "l4d_teamspanel.phrases.txt" to addons\sourcemod\translations\
    Download gamedata file "l4dteamspanel.txt" to addons\sourcemod\gamedata\

    (Re)Load Plugin or change Map.

    Edit cfg\sourcemod\l4d_teamspanel.cfg to fit your needs

    Update:
    Download the smx file to addons\sourcemod\plugins\
    Download translation file "l4d_teamspanel.phrases.txt" to addons\sourcemod\translations\
    Delete config file cfg\sourcemod\l4d_teamspanel.cfg

    Reload Plugin or change Map

    Edit cfg\sourcemod\l4d_teamspanel.cfg to fit your needs


    Changelog

    v 1.0 (2010.03.25)
    First release

    v1.1 (2010.03.25 6:53pm GMT+1)
    BUGFIX - Check for l4dtoolz and/or l4downtown
    BUGFIX - Coop display not working at all

    v1.2 (2010.03.25 7:49pm GMT+1) Downloads smx:~20 sp:~80
    BUGFIX - Found a typo, for command, sorry :/

    v1.3 (2010.03.26 85 GMT+1) Downloads smx:27 sp:112
    BUGFIX - Made version compatibility for Versus & Coop

    v1.4 (2010.04.01 85am GMT+1) Downloads smx:22 sp:92
    BUGFIX - Array index out of Bounds !!$$"%.... very annoying ^^
    FEATURE - Show Playerlist Panel on Connect
    FEATURE - Playerlist Panel can be static and self refreshing
    CVAR - l4d_plp_autorefresh
    CVAR - l4d_plp_onconnect
    CVAR - l4d_plp_timer
    EASE - Plugin write/read config file cfg/sourcemod/l4d_teamspanel.cfg now
    EASE - Code cleanup (at least i think it is clean now ^^)
    AND NO! THIS IS NOT A APRIL JOKE ^^

    v1.5 (2010.04.06 1:15am GMT+1) Downloads smx:12 sp:65
    FEATURE - Playerlist Panel after Showscores
    FEATURE - Playerlist Panel Announce Command
    FEATURE - Playerlist Panel translation file
    CVAR - l4d_plp_pashowscores
    CVAR - l4d_plp_pastimer
    CVAR - l4d_plp_announce
    CVAR - l4d_plp_hintstatic

    v1.5.1 (2010.04.09 45pm GMT+1) Downloads smx: 353 sp:1074
    BUGFIX - Plugin Handle Memory Leak
    BUGFIX - Plugin cvars resetted to defaults after each plugin load!

    v1.6 (2011.01.09 12:15pm GMT+1)
    BUGFIX - PrintHintText - Check for Valid Player
    BUGFIX - Cut off names sometimes if text reaches more then 1024 chars - max chars 2048 now
    FEATURE - Teamselection trough Panel - Can be switched on/off for each Team
    FEATURE - Show Bots in Playerlist Panel on/off
    CVAR l4d_plp_select_team
    CVAR l4d_plp_select_team_spectator
    CVAR l4d_plp_select_team_survivor
    CVAR l4d_plp_select_team_infected
    CVAR l4d_plp_show_bots
    EASE - Code cleanup
    EASE - Announce of command changed to Spectators only

    v1.6.1 (2011.01.13 5:25pm GMT+1)
    BUGFIX - Redone counting and BuildPanel


    Bugs:

    None seen yet, tell me


    ToDo:

    Tell me what you want and i will see if i can do it ^^ (SourcePawn is gettin more interesting...)


    Screenshot:


    See attached file


    This is my first plugin so:

    If i forgot to give credits to someones code

    If i wrote it not clean enough
    If i did spelling of something not correct
    If i missed something for approval
    If my English is badass


    SORRY!


    Moo,
    OtterNas3
    Attached Thumbnails
    Click image for larger version

Name:	teamspanel.jpg
Views:	12521
Size:	90.5 KB
ID:	62160   Click image for larger version

Name:	teamspanel2.jpg
Views:	8104
Size:	92.7 KB
ID:	62161   Click image for larger version

Name:	teamspanel3_coop.jpg
Views:	6297
Size:	97.9 KB
ID:	62281  
    Attached Files
    File Type: smx l4d_teamspanel.smx (10.0 KB, 3614 views)
    File Type: sp Get Plugin or Get Source (l4d_teamspanel.sp - 8246 views - 21.1 KB)
    File Type: txt l4d_teamspanel.phrases.txt (117 Bytes, 5389 views)
    File Type: txt l4dteamspanel.txt (1.1 KB, 5194 views)

    Last edited by OtterNas3; 01-13-2011 at 11:31.
    OtterNas3 is offline
    OtterNas3
    Senior Member
    Join Date: Apr 2009
    Old 03-25-2010 , 09:57   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #2

    Why not make your own thread then?
    ^^
    OtterNas3 is offline
    terminator2k2
    Senior Member
    Join Date: Feb 2010
    Old 03-25-2010 , 09:57   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #3

    im getting plugin failed to compile when trying to dload....
    terminator2k2 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-25-2010 , 09:58   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #4

    Quote:
    Originally Posted by OtterNas3 View Post
    Why not make your own thread then?
    ^^
    I do not want to release it, since the code is bad written
    alexip121093 is offline
    Send a message via MSN to alexip121093
    OtterNas3
    Senior Member
    Join Date: Apr 2009
    Old 03-25-2010 , 10:06   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #5

    Quote:
    Originally Posted by terminator2k2 View Post
    im getting plugin failed to compile when trying to dload....

    There was a typo in it, should compile fine now!
    OtterNas3 is offline
    terminator2k2
    Senior Member
    Join Date: Feb 2010
    Old 03-25-2010 , 10:07   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #6

    thank you ...will up this now to my server......
    terminator2k2 is offline
    terminator2k2
    Senior Member
    Join Date: Feb 2010
    Old 03-25-2010 , 10:22   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #7

    just put this on....how do i get it to show.?


    call me a noob lol....

    ive tried typing sm_teams

    Last edited by terminator2k2; 03-25-2010 at 10:28.
    terminator2k2 is offline
    OtterNas3
    Senior Member
    Join Date: Apr 2009
    Old 03-25-2010 , 10:30   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #8

    type !teams or /teams in chat ^^
    OtterNas3 is offline
    terminator2k2
    Senior Member
    Join Date: Feb 2010
    Old 03-25-2010 , 10:42   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #9

    hi there, does this only work in versus or scavenge.?

    cant get it to work in co-op.......
    terminator2k2 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-25-2010 , 10:48   Re: [L4D/L4D2] Playerlist Panel
    Reply With Quote #10

    Quote:
    Originally Posted by terminator2k2 View Post
    hi there, does this only work in versus or scavenge.?

    cant get it to work in co-op.......
    or you can try mine
    alexip121093 is offline
    Send a message via MSN to alexip121093
    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 09:10.


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