Raised This Month: $ Target: $400
 0% 

TFC skills rank with speed run timer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
-hi-
Member
Join Date: Jul 2006
Old 09-20-2006 , 13:38   Re: TFC skills rank with speed run timer
Reply With Quote #13

Hmm now it works, but I noticed something. I think the previous map played has something to do with it. I changed the map to conc_sand and it worked fine. But I typed rcon sv_teamgoals in the console and "BR" came back. Since the map has no config setting for sv_teamgoals it should be "BRYG" right? Earlier when it didn't work, maybe the map before conc_sand didn't have the blue team in there.

PS: I'm usin Windows

EDIT: I found out what it was. When registering PCVARs, they stay active between mapchanges. I changed the goalteams of a certain config to YG. Then I loaded that map and sv_goalteams was YG. Then I changed it to a map whose config had no setting for sv_goalteams, and it was still YG. I added this line right under the register_cvar call for sv_goalteams:

Code:
set_cvar_string("sv_goalteams", "bryg")
and it didn't do it anymore. Seems like a bug in AMXX, it should be setting that CVAR to the default value but it's not. It sets it correctly if it doesn't already exist, but if it is there from a previous map, it doesn't set the default.

Last edited by -hi-; 09-20-2006 at 13:56.
-hi- 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 22:30.


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