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:
    265
    Likes Received:
    76
    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 Gold entering the internal map somehow. Jan 17, 2018
Archived Bug Reports Champion spawn gold shower is slightly off Jan 11, 2018
Script Support Hueslistgumpgold.cs with daat99 masterstorage Dec 22, 2017
Script Support How to double gold drops Dec 1, 2017
Script Support Custom Gold Nov 2, 2017