Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > Coding

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2012, 11:08 PM
dangercake dangercake is offline
Senior Member
 
Join Date: Sep 2010
Location: Carrollton, Texas
Posts: 262
Default [Help] Problem with serverperksV5 compile

I keep getting this error ----->

ServerPerksMut.uc(214) : Error, Unrecognized member 'MyStatsObject' in class 'SRStatsBase'


in that serverPerksMut.uc ------->

Code:
212 Log("*** Saving"@ActiveStats.Length@"stats objects ***",Class.Outer.Name);
213 foreach DynamicActors(Class'ClientPerkRepLink',CP)
214 f( CP.StatObject!=None && CP.StatObject.MyStatsObject!=None )
215 CP.StatObject.MyStatsObject.SetCustomValues(CP.CustomLink);
Reply With Quote
  #2  
Old 04-21-2012, 03:04 AM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,730
Default

Code:
CP.StatObject.MyStatsObject
is it me or is that code pointing a file from the exact same file name? It can't recognise the file within itself, why you got MyStatsObject there anyway?
__________________

Reply With Quote
  #3  
Old 04-21-2012, 08:28 AM
dangercake dangercake is offline
Senior Member
 
Join Date: Sep 2010
Location: Carrollton, Texas
Posts: 262
Default

Quote:
Originally Posted by FluX View Post
Code:
CP.StatObject.MyStatsObject
is it me or is that code pointing a file from the exact same file name? It can't recognise the file within itself, why you got MyStatsObject there anyway?
was already there in the serverperksV5 Source code
Reply With Quote
  #4  
Old 04-21-2012, 08:55 AM
dangercake dangercake is offline
Senior Member
 
Join Date: Sep 2010
Location: Carrollton, Texas
Posts: 262
Default

nvm I got guys.
Reply With Quote
  #5  
Old 04-21-2012, 10:25 AM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,730
Default

Quote:
Originally Posted by dangercake View Post
nvm I got guys.
What was the problem?
__________________

Reply With Quote
Reply

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 09:26 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC