Signup Now
Results 1 to 10 of 10
  1. #1
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25

    Cool [Auto] Category and Destination (Looting)

    Bored to put categories and destination for all your loots?

    Your problems it's over

    What you need?

    Three Destinations:

    1. mainbp
    2. loogbp
    3. goldbp


    and alot of items to set categories and destinations.

    Ok, here we go!


    mainbp = 'backpack of holding'
    lootbp = 'zaoan chess box'
    goldbp = 'jewelled backpack'
    stack = 's'
    nostack = 'n'

    -- Made by Borges
    --DO NOT EDIT BELOW
    setlootingdestination('mainbp', mainbp)
    setlootingdestination('lootbp', lootbp)
    setlootingdestination('goldbp', goldbp)

    foreach lootingitem m do
    if m.name ~= 'gold coin' and m.name ~= 'platinum coin' and m.name ~= 'crystal coin' then
    if iteminfo(m.name).iscumulative then
    setsetting('Looting/LootList/'..m.name..'/Category', stack)
    setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
    setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'lootbp')
    else
    setsetting('Looting/LootList/'..m.name..'/Category', nostack)
    setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
    setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'lootbp')
    end
    elseif m.name == 'gold coin' then
    setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
    setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'goldbp')
    elseif m.name == 'platinum coin' or m.name == 'crystal coin' then
    setsetting('Looting/LootList/'..m.name..'/UseLootingDestination', 'yes')
    setsetting('Looting/LootList/'..m.name..'/LootingDestination', 'mainbp')
    end
    end


    Rep+ if I helped you
    Last edited by Borges; 05-08-2015 at 02:41 PM.
    Helped you? REP+

  2. #2
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    You dont need to iterate 3 times
    mainbp = 'backpack of holding'
    lootbp = 'zaoan chess box'
    goldbp = 'jewelled backpack'
    stack = 's'
    nostack = 'n'


    -- set looting categories
    setlootingdestination('mainbp', mainbp)
    setlootingdestination('lootbp', lootbp)
    setlootingdestination('goldbp', goldbp)

    foreach lootingitem i do
    setsetting('Looting/LootList/'..i.name..'/UseLootingDestination', 'yes')
    if i.name == "gold coin" then
    setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'goldbp')
    elseif i.name == "platinum coin" then
    setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'mainbp')
    elseif itemproperty(i.id, ITEM_STACKABLE) then
    setsetting('Looting/LootList/'..i.name..'/Category', stack)
    setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'lootbp')
    else
    setsetting('Looting/LootList/'..i.name..'/Category', nonstack)
    setsetting('Looting/LootList/'..i.name..'/LootingDestination', 'lootbp')
    end
    end


    anyway gj
    Last edited by Imba; 05-08-2015 at 03:26 PM.

  3. #3
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Quote Originally Posted by borges View Post
    Nice try, but you miss one "end" and don't setting categories

    Thanks for tip:
    tbh no, i missed one 'esle' because i wasnt making it in bot, so didnt pay attention when coping from my script
    and what do you mean with "don't setting categories"?

  4. #4
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    i just added "else" in line 19

  5. #5
    Free User
    Join Date
    Jun 2015
    Posts
    15
    Reputation
    10
    Rep Power
    0
    haahaha nice man

  6. #6
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    Quote Originally Posted by laxantezsk View Post
    haahaha nice man
    Thanks
    Helped you? REP+

  7. #7
    Free User akademiksi's Avatar
    Join Date
    Oct 2014
    Posts
    155
    Reputation
    10
    Rep Power
    20
    would this solve my looting problem?

    im looking if someone can make me looter script in nightmare isles. complete loot list and set destinations, like this -> stackable loot to blue backpack and item loots to orange backpack

  8. #8
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Quote Originally Posted by akademiksi View Post
    would this solve my looting problem?

    im looking if someone can make me looter script in nightmare isles. complete loot list and set destinations, like this -> stackable loot to blue backpack and item loots to orange backpack
    No it wont. And please, i alredy told you on chat where to post your request, so just do it and wait.

  9. #9
    Free User akademiksi's Avatar
    Join Date
    Oct 2014
    Posts
    155
    Reputation
    10
    Rep Power
    20
    Quote Originally Posted by Imba View Post
    No it wont. And please, i alredy told you on chat where to post your request, so just do it and wait.
    maybe look around? i did it already...

  10. #10
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Quote Originally Posted by akademiksi View Post
    maybe look around? i did it already...
    Ye i noticed, and even u alredy got answer, so just wait till mistgun wake up and i am pretty sure he will help you.

 

 

Posting Permissions

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