I found like this.
http://www.runuo.com/community/threads/runuo-2-0-rc1-xanthos-shrink-system.73491/page-5

Errors:
+Customs/Xanthos/Shrink System/ShrinkCommand.cs
CS1502: Line 141: The best overloaded method match for 'Server.ISpawner.Remove<Server.ISpawnable>' has some invalid arguments
CS1503: Line 141: Argument '1' : cannot convert from 'Xanthos.ShrinkSystem.ShrinkTarget' to 'Server.ISpawnable'
change line 141 to this night_owl:

Code (text):

pet.Spawner.Remove( (ISpawnable)pet);
That should do it.
and..
Errors:
Customs/Xanthos/Utilities/Motd.cs
CS0019: Line 481 Operator '&' cannot be applied to operands of type 'server.clientflags' and 'int'
If you wanted to use the MOTD you would just replace:

Code (text):
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" );
With this:


Code (text):
AddLabel( 205, 180, NewsGump.kDataColor, (( state.Flags & ClientFlags.Tokuno ) != 0 ) ? "Samurai Empire" : (( state.Flags & ClientFlags.Malas ) != 0) ? "Age of Shadow

Ok ! Well done..
then. Now. We have to discuss about using player level accessing.



n
 
Back