Raised This Month: $ Target: $400
 0% 

Reload Maplist in AdminMenu?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sgt.Soldier
SourceMod Donor
Join Date: Mar 2011
Location: Los Angeles,CA
Old 05-20-2014 , 00:48   Reload Maplist in AdminMenu?
Reply With Quote #1

Apologies if this is something already answered , but I couldn't it myself via Search/Google Search. This isn't really a major but I was curious if it is possible to reload the map list (Admin Menu) without having to reload the map/restart the server.

sm plugins reload adminmenu doesn't seem to reload the maplist in the admin menu to new Additions/removals.

For Example

I have cs_italy , cs_militia , and de_dust. I add de_dust2 and sm plugins reload adminmenu , de_dust2 still doesn't show up , I restart the server / map , it shows up. Or If I did it in reserve (I have cs_italy , cs_militia , de_dust, de_dust2 and I remove de_dust2 , it doesn't update until map restart/server restart)

EDIT: Would this be possible if maybe you edited the adminmenu_cfgs file? (Add the maplists.cfg and exec'ing it would reload?)
__________________

Last edited by Sgt.Soldier; 05-20-2014 at 00:53. Reason: Possible Idea?
Sgt.Soldier is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-22-2014 , 16:56   Re: Reload Maplist in AdminMenu?
Reply With Quote #2

if you mean list maps by plugin which have command sm_map...
try reload basecommands.

*edit
have you change sm_map menu
in ...addons/sourcemod/configs/maplists.cfg ?

Last edited by Bacardi; 05-22-2014 at 17:00.
Bacardi is offline
Sgt.Soldier
SourceMod Donor
Join Date: Mar 2011
Location: Los Angeles,CA
Old 05-23-2014 , 06:41   Re: Reload Maplist in AdminMenu?
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
if you mean list maps by plugin which have command sm_map...
try reload basecommands.

*edit
have you change sm_map menu
in ...addons/sourcemod/configs/maplists.cfg ?
Yes, I'm referring to the sm_map menu in the adminmenu. It points to :

Code:
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
I tried making the file, it reads fine but sm plugins reload adminmenu doesn't update and sm plugins reload basecommands crashes the server.

Using SourceMod 1.5.4-dev+4059 (Windows, Counter-Strike:Source)

Also, I tried sm plugins unload basecommands (Hoping to unload then load) but unloading crashes the server as well.

*edit2 : I tried adding -condebug to the server cmd line and attempting again,this is what I get.

Code:
Client "|∞| Sgt.Soldier™" connected (<myip>:27005).
autokick is disabled for |∞| Sgt.Soldier™
[SM] Failed to reload plugin Basic Commands.
Attempting to reload basecommands causes to server to go down and just spams console with failed to reload until it is restarted. Any ideas?
__________________

Last edited by Sgt.Soldier; 05-27-2014 at 12:15. Reason: Update
Sgt.Soldier 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 04:42.


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