Errors in xanthos Motd.cs
I am looking at restart a new server again, but i have noticed a few changes in the SVN.
when i try to load Xanthos Utilities i get several errors about one line of code.
here is the line from the script.
So i am guessing somethings has changed, just not sure how to handle it.
And, Yes i have searched the forums for the answer.
I am looking at restart a new server again, but i have noticed a few changes in the SVN.
when i try to load Xanthos Utilities i get several errors about one line of code.
Code:
+ Customs/Xanthos/Utilities/motd.cs:
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
ClientFlags' and 'int'
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server
ClientFlags' and 'int'
here is the line from the script.
Code:
AddLabel( 205, 180, NewsGump.kDataColor, (( state.Flags & 0x10 ) != 0 ) ? "Samurai Empire" : (( state.Flags & 0x08 ) != 0) ? "Age of Shadows" : (( state.Flags & 0x04 ) != 0) ? "Blackthorn's Revenge" : (( state.Flags & 0x02 ) != 0 ) ? "Third Dawn" : (( state.Flags & 0x01 ) != 0 ) ? "Renaissance" : "The Second Age" );
So i am guessing somethings has changed, just not sure how to handle it.
And, Yes i have searched the forums for the answer.