Updating today to the latest SVN has changes to container, adding:
Code:
public override bool OnDragDropInto(Mobile from, Item item, Point3D p, byte gridloc)
The byte gridloc

I have 2 errors left and I cant seem to get these figured out :(
This is the Squire System, for many of you that have this.
In SquireTarget.cs line 248:

Code:
squire.Drop( squire.Backpack, new Point3D( Utility.Random( 29, 108 ), Utility.Random( 34, 94 ), 0 ) ); //Randomly set them in their pack.

and Squire.cs basically the same thing:

Code:
Drop( Backpack, new Point3D( Utility.Random( 29, 108 ), Utility.Random( 34, 94 ), 0 ) ); //Randomly set them in their pack.

I cant seem to find another drop random example to get this figured out.
Any assistance is appreciated and I know others with the squire system will also appreciate a push in the right direction.

Thanks for the help!

Shazzy
 

Attachments

  • Squire.cs
    104.7 KB · Views: 1
  • SquireTargets.cs
    70.7 KB · Views: 1
byte gridloc is for support of EC containers when using the grid mode.

that isn't anywhere in the current svn/repo.

so unless you're using it change: public override bool OnDragDropInto(Mobile from, Item item, Point3D p, byte gridloc)
to: public override bool OnDragDropInto(Mobile from, Item item, Point3D p)
 
Back