Results 1 to 7 of 7

Thread: Gold loot options

  1. #1
    iBot User
    Join Date
    Jun 2012
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5

    Gold loot options

    I need a script that will loot gps until "x" cap then stop looting gps until "y" cap then loot until "x" cap again and etc.

    Example - loot gp until 10 cap then stop looting gp until 50 cap

    Can't just turn looting off then on because I need to cap other items (creature products etc)

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5
    bumppp, plx I really need this for multiple scripts :S

  3. #3
    Banned
    Join Date
    May 2012
    Location
    Poland
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    Setup :
    CapToDropGold = 50

    Action :
    if cap < CapToDropGold then
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", 'ground')
    else
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", GoldBP)
    end

    Char will take money to backpack until it reaches 50 CAP, then he will drop money on the ground.

    Other way :
    if cap < CapToDropGold then
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", 'none')
    else
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", GoldBP)
    end

    Char will stop looting money from monsters - no ground, no backpack, money stays in dead body.

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    13
    Rep Power
    5
    Using the 2nd option, works perfectly .... thanks!

  5. #5
    Banned
    Join Date
    May 2012
    Location
    Poland
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    You're welcome

  6. #6
    Normal User Banantwist's Avatar
    Join Date
    Jun 2012
    Location
    Norway
    Posts
    260
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    19
    Rep Power
    5
    Quote Originally Posted by Devisso View Post
    Setup :
    CapToDropGold = 50

    Action :
    if cap < CapToDropGold then
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", 'ground')
    else
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", GoldBP)
    end

    Char will take money to backpack until it reaches 50 CAP, then he will drop money on the ground.

    Other way :
    if cap < CapToDropGold then
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", 'none')
    else
    setsettings("Settings\\Looting\\List\\gold coin\\Destination", GoldBP)
    end

    Char will stop looting money from monsters - no ground, no backpack, money stays in dead body.
    If you don't want to configure it in setup, you can use this one aswell

    PHP Code:
    local CapToDropGold 50 

    if cap CapToDropGold then 
    setsettings
    ("Settings\\Looting\\List\\gold coin\\Destination""ground"
    else 
    setsettings("Settings\\Looting\\List\\gold coin\\Destination"GoldBP
    end 
    It will drop the cash on the ground now.

  7. #7
    Normal User
    Join Date
    Jul 2013
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4


    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •