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

[L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-16-2022 , 07:42   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #11

Missing an ending " in your file at Deadenator 1 [6-6]

Spoiler
Attached Files
File Type: txt hostname_mapdisplay.txt (59.7 KB, 82 views)
__________________

Last edited by Marttt; 03-16-2022 at 19:16.
Marttt is online now
DARG367
AlliedModders Donor
Join Date: Aug 2018
Old 03-17-2022 , 02:01   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #12

Using this layout in hostname_mapdisplay.txt till a fix is made so that the config files are read again after the latest update. It was displaying DARG367 | COOP | <map name> and I didn't want it reading COOP.

PHP Code:
    "Host"
    
{
        
// ONLY use these two settings below if you want to display the hostname with Unicode characters. (e.g. Simplified Chinese)
        // Reading Unicode characters from a ".cfg" file does not seem to work, so this is the workaround.
        
        // Hostname used by the {hostname} tag.
        
"hostname"                            "DARG367" // If this value is set, the plugin will ignore the "hostname_mapdisplay_hostname" cvar.
        
        // Display format.
        // Available tags: {hostname},{mapname},{gamemode},{GAMEMODE}
        
"format"                            "{hostname} | {mapname}" // If this value is set, the plugin will ignore the "hostname_mapdisplay_format" cvar.
    

Edit: It's actually not a bug the old config file does not get read because the new one is called enttext.cfg checked the .sp file and that is what is listed.
Edit: Fixed in the latest update on March 18 2022. Reads the proper config and has the proper name again.

Last edited by DARG367; 03-18-2022 at 05:35. Reason: Fixed in latest update March 18 2022
DARG367 is offline
DARG367
AlliedModders Donor
Join Date: Aug 2018
Old 03-18-2022 , 05:36   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #13

Mart updated the plugin and it's now reading the proper config file and is no longer making one called enttext.cfg.

Working as intended.
DARG367 is offline
lippnc
Member
Join Date: Feb 2013
Old 05-19-2022 , 21:02   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #14

This one is a little neater and has most of Kruffty's maps as well.
Attached Files
File Type: txt hostname_mapdisplay.txt (54.2 KB, 110 views)

Last edited by lippnc; 05-19-2022 at 21:28.
lippnc is offline
shinubee
Junior Member
Join Date: Mar 2022
Old 05-29-2022 , 02:36   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #15

After server restart always shows default name Left 4 Dead 2 until a player connects
shinubee is offline
z282846139
Member
Join Date: Aug 2018
Old 02-08-2023 , 04:00   Re: [L4D1 & L4D2] Hostname - Display Map Name [v1.0.2 | 16-March-2021]
Reply With Quote #16

Quote:
Originally Posted by shinubee View Post
After server restart always shows default name Left 4 Dead 2 until a player connects
I have the same problem. And when I use LinuxGSM start the server, it also shows the default name 'Left 4 Dead 2'.
z282846139 is offline
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 12:00.


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