RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Vendor Stone not taking tokens from ledger

Del boy

Sorceror
Vendor Stone not taking tokens from ledger

Im using Daats OWLTR, for some reason the tokenstone isnt taking tokens from the ledger I jsut get "You cannot afford the items on your list" but if I take the tokens out of the ledger it doesnt have a problem.
Lady Luck takes tokens out of the ledger ok, the only difference I can find is that in LadyLuck.cs
it says
Code:
Item[] tls = m_From.Backpack.FindItemsByType( typeof( TokenLedger ) );

and in vendorstone.cs it is
Code:
Item[] tls = from.Backpack.FindItemsByType( typeof( TokenLedger ) );

the only other change I made to the script is changing daat99tokens to Tokens

any ideas what I have done wrong?
 

Attachments

  • daat99's Token System.cs
    16.9 KB · Views: 3
  • VendorStone.cs
    42.5 KB · Views: 12
  • Lady Luck.cs
    23.3 KB · Views: 2
Top