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

[mapchooser.sma] mapcycle file problem


  
 
 
Thread Tools Display Modes
Author Message
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-09-2004 , 18:51   [mapchooser.sma] mapcycle file problem
#1

Ok, I've noticed that the mapchooser plugin doesn't get the mapcycle from the mapcyclefile CVAR if the maps.ini file doesn't exist. Instead it just assumes that the map cycle file is "mapcycle.txt" which I don't think it should.

Lines 72-73
Code:
  if (!file_exists(maps_ini_file))     format(maps_ini_file, 63, "mapcycle.txt")

Should be something more like:
Code:
if (!file_exists(maps_ini_file))   get_cvar_string("mapcyclefile", maps_ini_file, 63)
DS is offline
MP5Navyboy
Member
Join Date: Apr 2004
Location: Orland Park, IL.
Old 10-09-2004 , 20:39  
#2

yes i have this problem too, i just stopped that plugin for awhile, any 1 no how to fix this, should we just make a mapcycle txt file and where should it go?

Thx,
Navy
__________________
MP5Navyboy is offline
Send a message via AIM to MP5Navyboy
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 10-09-2004 , 20:47  
#3

Until it gets fixed, just put the mapcycle.txt in your base mod directory.

For example for a dedicated server:
dedicated server/cstrike

Or for listen server just:
SteamApps\accountname\counter-strike\cstrike

Or just modify your mapchooser.sma like I said.
DS is offline
BAILOPAN
Join Date: Jan 2004
Old 10-12-2004 , 17:35  
#4

fixed
__________________
egg
BAILOPAN is offline
 


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 15:45.


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