Raised This Month: $ Target: $400
 0% 

CVAR 'mapcyclefile' always returns 'mapcycle.txt'


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 01-11-2009 , 17:53   Re: CVAR 'mapcyclefile' always returns 'mapcycle.txt'
Reply With Quote #1

Kind of off topic, and I'm still looking, but how old is this file? Are you working from AMXX 1.8.1? I notice these are all cvars, not pcvars.

Gosh, it's from the latest version? They should look into changing that.

But from what little I understood by looking at the code...

Part of the problem may be that your svenfix is appended on to the end of what's already there. It already performs readMapCycle before it gets to your if statement, where it reads it yet again, changing the g_pos twice. Also sets the lastmapcycle twice. I don't think the cvar is being read incorrectly, because when you turn of the fix it works as it should, and your fix doesn't read in the cvar again.

I can't look at it anymore today, sorry. Maybe in two days I can try again.
__________________

Last edited by Bad_Bud; 01-11-2009 at 18:55.
Bad_Bud 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 01:37.


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