Raised This Month: $32 Target: $400
 8% 

[L4D1 AND L4D2] Dynamic Info In Hostname


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Ernecio
Junior Member
Join Date: Sep 2019
Plugin ID:
6857
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    The plugin shows in Hostname the difficulty and the number of players in real time.
    Unapprover:
    Reason for Unapproving:
    This Plugin has been discontinued
    Old 12-16-2019 , 16:16   [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #1

    [L4D1 AND L4D2] Dynamic Info In Hostname


    Sorry, This Plugin has been discontinued

    This is a basic Plugin based on the original idea of ​​Players count in hostname by D1maxa and in Server namer by Sheo, but unlike these plugins this version can show: Difficulty, HostName and Player Counter in the main name of the server, withot extra configs file (Only Autoxec autocreated by default). this plugin not show game modes or other values ​​in the server name.

    Description:
    This plugin has three operating modes which can show basic information about the current difficulty on the server, server name and player counter, the plugin updates the information in real time (It also depends on the speed of the steam master server update ), for example: [Advanced] My Awesome Server [8/10]

    (This plugin has only been designed for coop game mode and therefore only tested in coop mode)

    Convars:

    PHP Code:
    // Enables/Disables The Plugin. 0 = Plugin OFF, 1 = Plugin ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_hostname_enable "1"

    // Name of the server to be used
    // -
    // Default: "HostName"
    l4d_hostname_data "HostName"

    // Select HostName Format Modes.
    // 1 = Show: Difficulty, HostName And Player Counter.
    // 2 = Show: Difficulty And HostName.
    // 3 = Show: HostName And Player Counter.
    // -
    // Default: "1"
    // Minimum: "1.000000"
    // Maximum: "3.000000"
    l4d_hostname_modes "1" 
    Known Bugs:
    If the name of the server is changed by external sources then the format established by the plugin will be lost, to return to its normality only wait for a change in the difficulty or connected players

    Installation:

    1 - Click "Get Plugin" and put the l4d_dynamic_info_in_hostname.smx file into your server \addons\sourcemod\plugins\ folder.
    2 - The first time the plugin is executed, it will create a configuration file called: l4d_dynamic_info_in_hostname.cfg in the path: cfg\sourcemod \ forlder.
    change the parameter (HostName) in this file: l4d_hostname_data "HostName" to your prefer, example: l4d_hostname_data "My Awesome Server"
    3 - (Optional) In order for the plugin to work correctly at the server startup it is necessary to have: sv_pausable 0 in server.cfg
    Otherwise the server will go into hibernation and the default name assigned in server.cfg will be displayed (the plugin will display information until a player connects or changes the difficulty if its set sv_pausable 1)

    (Note the Web compiler is configured for SM 1.10)

    Last edited by Ernecio; 01-17-2023 at 16:05.
    Ernecio is offline
    Marttt
    Veteran Member
    Join Date: Jan 2019
    Location: Brazil
    Old 12-16-2019 , 21:06   Re: [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #2

    Nice, I made a similar plugin a while ago, never thought about the difficulty settings, good catch.
    __________________
    Marttt is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 06-15-2021 , 19:58   Re: [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #3

    Please disregard - error was fixed by update the command buffer overflow fix by Silver which addresses CVARS not being executed due to excess.
    __________________

    Last edited by Mr. Man; 06-16-2021 at 02:59.
    Mr. Man is offline
    thewintersoldier97
    Senior Member
    Join Date: Aug 2021
    Location: Vietnam
    Old 11-29-2021 , 06:42   Re: [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #4

    Got this on error log recently, call stack trace to 3 different plugins tho...
    PHP Code:
    L 11/29/2021 17:50:05Info (map "uf1_boulevard") (file "d:\games\server\l4d2\left4dead2\addons\sourcemod\logs\errors_20211129.log")
    L 11/29/2021 17:50:05: [SMException reportedClient 2 is not connected
    L 11
    /29/2021 17:50:05: [SMBlamingl4d_dynamic_info_in_hostname.smx
    L 11
    /29/2021 17:50:05: [SMCall stack trace:
    L 11/29/2021 17:50:05: [SM]   [0IsFakeClient
    L 11
    /29/2021 17:50:05: [SM]   [1Line 138, /home/forums/content/files/2/9/4/4/4/9/178775.attach::OnClientDisconnect
    L 11
    /29/2021 17:50:05: [SMException reportedClient 2 is not connected
    L 11
    /29/2021 17:50:05: [SMBlamingl4d_reservetheserver.smx
    L 11
    /29/2021 17:50:05: [SMCall stack trace:
    L 11/29/2021 17:50:05: [SM]   [0IsFakeClient
    L 11
    /29/2021 17:50:05: [SM]   [1Line 60, /home/forums/content/files/5/6/0/8/6/179531.attach::OnClientDisconnect
    L 11
    /29/2021 17:50:05: [SMException reportedClient 2 is not connected
    L 11
    /29/2021 17:50:05: [SMBlamingl4d_superversus_no_survivor_management.smx
    L 11
    /29/2021 17:50:05: [SMCall stack trace:
    L 11/29/2021 17:50:05: [SM]   [0IsFakeClient
    L 11
    /29/2021 17:50:05: [SM]   [1Line 639D:\GAMES\SERVER\L4D2\left4dead2\addons\sourcemod\scripting\l4d_superversus_no_survivor_management.sp::OnClientDisconnect
    L 11
    /29/2021 17:50:05: [SMException reportedClient 2 is not connected
    L 11
    /29/2021 17:50:05: [SMBlaming_[L4D2]Survivor_Legs.smx
    L 11
    /29/2021 17:50:05: [SMCall stack trace:
    L 11/29/2021 17:50:05: [SM]   [0IsFakeClient
    L 11
    /29/2021 17:50:05: [SM]   [1Line 381, /home/forums/content/files/2/5/7/8/4/1/183748.attach::OnClientDisconnect 
    __________________

    Looking for some fun!
    thewintersoldier97 is offline
    NoroHime
    Veteran Member
    Join Date: Aug 2016
    Location: bed
    Old 12-03-2021 , 21:10   Re: [L4D1 AND L4D2] Dynamic Info In Hostname
    Reply With Quote #5

    looks using AutoExecConfig only support english character,im disappoint
    __________________
    NoroHime 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 23:44.


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