PDA

View Full Version : [Solved] CSGO adminmenu_custom.txt not shown


zubziro
09-30-2022, 11:56
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!

Grey83
09-30-2022, 14:41
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?

zubziro
10-01-2022, 04:28
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
10-01-2022, 04:39
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 - 08:33:37: SourceMod error session started
L 10/01/2022 - 08:33:37: Info (map "de_dust2") (file "/opt/steam/cs_go/csgo/addons/sourcemod/logs/errors_20221001.log")
L 10/01/2022 - 08:33:37: [basecommands.smx] Could not parse file (line 7, file "addons/sourcemod/configs/adminmenu_cfgs.txt"):
L 10/01/2022 - 08:33:37: [basecommands.smx] Parser encountered error: Line contained too many invalid tokens

zubziro
10-01-2022, 06:46
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