sec_goat
Squire
That's right! It's me again!
This time I am trying to get XmlSpawner2 working for RunUO2.1
here are the errors I am currently getting:
I have made a lot of changes to XmlSpawner2.cs to be statictile or landtile instead of just Tile, but this is still messing with me, should it be StaticTile, or LandTile, and if so what is the new equivalent for GetTilesAt?
I am not sure how to deal with the Error 2 code, which apparently deals with client version:
Thanks for looking!
This time I am trying to get XmlSpawner2 working for RunUO2.1
here are the errors I am currently getting:
Code:
Error 1 'Server.Map' does not contain a definition for 'GetTilesAt' and no extension method 'GetTilesAt' accepting a first argument of type 'Server.Map' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\XmlSpawner\XmlSpawner2.cs 9785 49 HarvestSystem
Error 2 'Server.Network.NetState' does not contain a definition for 'IsPost6017' and no extension method 'IsPost6017' accepting a first argument of type 'Server.Network.NetState' could be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\XmlSpawner\XmlQuest\XmlQuestHolder.cs 360 52 HarvestSystem
I have made a lot of changes to XmlSpawner2.cs to be statictile or landtile instead of just Tile, but this is still messing with me, should it be StaticTile, or LandTile, and if so what is the new equivalent for GetTilesAt?
Code:
List<Server.StaticTile> tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
Code:
#if(CLIENT6017)
// add support for new client container packets
if (to.NetState != null && to.NetState.IsPost6017)
to.Send(new ContainerContent6017(to, this));
else
#endif
Thanks for looking!