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

Daily Changer (JustinHoMi & JGHG)


Post New Thread Reply   
 
Thread Tools Display Modes
ronin
Member
Join Date: Jul 2004
Old 07-20-2004 , 02:25  
Reply With Quote #11

Quote:
format(workpath, 255, "%s/daily_mapcycles/%s.cfg", custompath, today)
set_cvar_string("mapcyclefile", workpath)

The only way I can make this work is to remove the above and then load mapcyclefile from the cfg that is being loaded. Otherwise it just continuousely re-loads the first map in the Mon.cfg
ronin is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-20-2004 , 03:41  
Reply With Quote #12

Sure the mapcycle stuff is redundant anyway. Still works here though.
Johnny got his gun is offline
lobstah
Member
Join Date: May 2004
Location: Portland, Maine, USA
Old 07-20-2004 , 10:59  
Reply With Quote #13

ronin, i dont really understand what you've done, but if ya have a working daily map cycle AND cfg or either could you post an example in a zip for me or email [email protected] ? I would greatly appreciate it. As is, when adding this plugin I am having the nextmap change to itself.
lobstah is offline
Send a message via MSN to lobstah
ronin
Member
Join Date: Jul 2004
Old 07-20-2004 , 12:49  
Reply With Quote #14

Basicly on my server it would always load the CFG portion properly but when it came to the mapcycle it would load the first map in the file and then keep reloading it.

There are 2 basic commands in the plugin:

Config Files:
Quote:
format(workpath, 255, "%s/daily_cfgs/%s.cfg", custompath, today)
set_cvar_string("mapchangecfgfile", workpath)
Map Cycles:
Quote:
format(workpath, 255, "%s/daily_mapcycles/%s.cfg", custompath, today)
set_cvar_string("mapcyclefile", workpath)
So what I did is delete the mapcycle bit since it wouldn't work anyway. Then compiled the plugin and in each daily CFG file added a line that stated mapcyclefile "<day-of-the-week>.txt"

This worked beautifuly.
I would prefer not to e-mail you a plugin but what I stated above will work wonderfully
ronin is offline
lobstah
Member
Join Date: May 2004
Location: Portland, Maine, USA
Old 07-20-2004 , 15:00  
Reply With Quote #15

Quote:
So what I did is delete the mapcycle bit since it wouldn't work anyway. Then compiled the plugin and in each daily CFG file added a line that stated mapcyclefile "<day-of-the-week>.txt"

This worked beautifuly.
I would prefer not to e-mail you a plugin but what I stated above will work wonderfully
Ok in addons/amxx/custom/daily_cfgs i have Mon.cfg-Sun.cfg. Within them I have different map cycles.

example:
Mon.cfg has this in it
cs_mice_final
cs_robbery
de_inferno
cs_tibet
cs_militia
de_celtic
de_oldport
cs_office_cz
de_eggfart
de_foption
de_laguna
de_battle_isle2

Do I leave the list of maps in it and add mapcyclefile "<day-of-the-week>.txt" at the top?

Or do I just use mapcyclefile "<day-of-the-week>.txt" (in this case Mon.txt ?) as the only line and add a Mon.txt with the above list of maps in it somewhere? If so where? Here?>> addons/amxx/custom/daily_cfgs

Im sorry for being so slow and thank-you for the help!
lobstah is offline
Send a message via MSN to lobstah
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-20-2004 , 15:15  
Reply With Quote #16

I HAVE NO IDEA WTF U GUYS ARE TALKING ABOUT! this plugin works perfect. You guys are just fucking around with it. Use as is!
__________________
Burnzy is offline
Send a message via AIM to Burnzy
ronin
Member
Join Date: Jul 2004
Old 07-20-2004 , 15:27  
Reply With Quote #17

daily_cfgs is for server cfgs

ie to make it automaticly turn on FF for friday
ronin is offline
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-20-2004 , 15:28  
Reply With Quote #18

that works... what are u going for?
__________________
Burnzy is offline
Send a message via AIM to Burnzy
ronin
Member
Join Date: Jul 2004
Old 07-20-2004 , 15:29  
Reply With Quote #19

Well Burnzy I would but it doesn't fucking work for me
Even when I hardcoded the paths it wouldn't rotate the maps
I'm not stupid if I can setup WARIII i can install a fucking plugin it just will not work for my server.

So i removed the mapcycle which is useless anyway cause i can load it from the cfgs part which works fine.

Don't get me wrong, i like it. The original you ported worked for me. The new one fucks up.
ronin is offline
ronin
Member
Join Date: Jul 2004
Old 07-20-2004 , 15:31  
Reply With Quote #20

Quote:
Originally Posted by Burnzy
that works... what are u going for?
Yes the daily server cfgs work for me

The map cycle cfg portion will not, it just keeps reoading the first map in the mon.cfg file over and over
ronin 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:33.


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