1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Gold Ledger 2014-05-10

gold sweeper , gold autoloot from mob and check maker

  1. Danstuff
    Offline

    Danstuff New Member

    Joined:
    May 9, 2014
    Messages:
    19
    Likes Received:
    4
    Danstuff submitted a new resource:

    Gold Ledger - gold sweeper , gold autoloot from mob and check maker

    Read more about this resource...
     
    • Two Thumbs Up Two Thumbs Up x 3
  2. jase giffin
    Offline

    jase giffin Active Member

    Joined:
    Sep 14, 2013
    Messages:
    253
    Likes Received:
    73
    really great working script set.
    small issue is with buying in base vendor.
    when buying anything it will function properly as in will take the money from ledger and wont sell item if ledger is empty but with it always pulls the term you canst afford this.
    that is the only issue that is says you cant afford this.
    in basevendor.cs.

    we have this..

    #region Alpha Gold Ledger #3
    if( ledger != null )
    {
    if( (goldint + ledger.Gold) >= totalCost )
    {
    ledger.Gold -= (totalCost - goldint);
    bought = true;
    buyer.SendMessage(2125, "{0} gold has been withdrawn from your gold ledger.", (totalCost - goldint).ToString( "#,0" ));
    cont.ConsumeTotal( typeof( Gold ), goldint);
    }
    else if( ledger.Gold >= totalCost )
    {
    ledger.Gold -= totalCost;
    bought = true;
    buyer.SendMessage(2125, "{0} gold has been withdrawn from your gold ledger.", totalCost.ToString( "#,0" ));
    }
    }
    #endregion #3
    if (cont.ConsumeTotal(typeof(Gold), totalCost))
    {
    bought = true;
    }
    else if (totalCost < 2000)
    {
    SayTo(buyer, 500192); //Begging thy pardon, but thou casnt afford that.
    }
    }

    how would one go around always broadcasting you cant afford this.
     
Similar Threads: Gold Ledger
Forum Title Date
Script Support Gold ledger with Psychoman78 Repack Dec 26, 2016
Script Support Vendor issue with Gold Ledger/Bank/Backpack Jul 2, 2015
Archived Bug Reports Siege Mode - NPC gold in backpack bug Aug 3, 2017
Archived Bug Reports HouseRaffleStone needs update to take gold from "Account balance" Jul 9, 2017
ServUO Discussion Farming gold with Create Food May 13, 2017
Archived Bug Reports Trapdoorspider spawn - no delay. Players farm gold. May 13, 2017
Archived Bug Reports Gold for tithing points should be able to get from bank account Apr 12, 2017