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

Solved CSGO adminmenu_custom.txt not shown


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zubziro
New Member
Join Date: Sep 2022
Old 09-30-2022 , 11:56   CSGO adminmenu_custom.txt not shown
Reply With Quote #1

Hi,

I'm trying to get adminmenu_custom.txt to work for now I just copied content of: http://users.alliedmods.net/~pred/supercmdsmenu.ini in it and did server restart. But when i run sm_admin only "standard" menu shows.

Any ideas what could be wrong?
Running latest stable MM (mmsource-1.11.0-git1148-linux.) + SM (sourcemod-1.11.0-git6911-linux).

Thanks!

Last edited by zubziro; 10-01-2022 at 06:49.
zubziro is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 09-30-2022 , 14:41   Re: CSGO adminmenu_custom.txt not shown
Reply With Quote #2

Are there errors in .../addons/sourcemod/logs/errors_2022****.log?
Are adminmenu_custom.txt placed in .../addons/sourcemod/configs/ and formated to UTF-8 without BOM?
__________________
Grey83 is offline
zubziro
New Member
Join Date: Sep 2022
Old 10-01-2022 , 04:28   Re: CSGO adminmenu_custom.txt not shown
Reply With Quote #3

Quote:
Originally Posted by Grey83 View Post
Are there errors in .../addons/sourcemod/logs/errors_2022****.log?
Are adminmenu_custom.txt placed in .../addons/sourcemod/configs/ and formated to UTF-8 without BOM?
Thanks for response!

No there no error log files only usual logs like L20221001.log, there is no mentions of errors at all, looks ok.

Yes adminmenu_custom.txt is located in "standard" location and is in ascii format there is no BOM and no special characters so yes should be UTF8 complaint.
'file -i adminmenu_custom.txt'
adminmenu_custom.txt: text/plain; charset=us-ascii

I also tried to place garbage in file like random chars just to see if there will be some trace in log files just some kind of mention if file is actually trays to load or not. But unfortunately I cannot find any mention of file at all.

Is it like meant for adminmenu_custom.txt to be loaded out of the box there isn't any config that should be done somewhere like some sort of setting that activates load or something?
zubziro is offline
zubziro
New Member
Join Date: Sep 2022
Old 10-01-2022 , 04:39   Re: CSGO adminmenu_custom.txt not shown
Reply With Quote #4

I also tried to broke another config file (adminmenu_cfgs.txt) and this file leaves logmessages in error logfile:
errors_20221001.log

L 10/01/2022 - 0837: SourceMod error session started
L 10/01/2022 - 0837: Info (map "de_dust2") (file "/opt/steam/cs_go/csgo/addons/sourcemod/logs/errors_20221001.log")
L 10/01/2022 - 0837: [basecommands.smx] Could not parse file (line 7, file "addons/sourcemod/configs/adminmenu_cfgs.txt"):
L 10/01/2022 - 0837: [basecommands.smx] Parser encountered error: Line contained too many invalid tokens
zubziro is offline
zubziro
New Member
Join Date: Sep 2022
Old 10-01-2022 , 06:46   Re: CSGO adminmenu_custom.txt not shown
Reply With Quote #5

Iv got it working. It was indeed some kind of special character copy-paste failure. I recreated file and used different editor for copy-paste and now it's working!

Thanks all
zubziro 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 08:33.


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