Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Wind Powered
    Join Date
    Jan 2014
    Posts
    126
    Reputation
    10
    Rep Power
    21

    Loot Sorter - Using Container

    With the new method of depositer from @Dehan (https://forums.tibiawindbot.com/show...oxes-Depositer), the loot sorter from @SuNe (https://forums.tibiawindbot.com/show...ht=loot+sorter) and the list from @Sveniyyi (https://forums.tibiawindbot.com/show...ht=loot+sorter). I've made this Loot Sorter Container:

    Just put this script on Scripter > Persistent > Add New Script > Enabled.
    Just go to depot of any city and enable this script.
    The script will open depot and the CONTAINER you set to open and start to sorter.

    WARNING: Don't put CONTAINER with the same another you need to put loot sorter!

    init start

    local CONTAINER = 22797 -- the container you want to clean! 22797 = depot box I ; 22798 = depot box II ; etc

    local RASHID_POS = 22799
    local GREENDJINN_POS = 22800
    local BLUEDJINN_POS = 22801

    local ADDON_POS = 22802
    local YASIR_POS = 22803
    local TELAS_POS = 22804
    local POTION_POS = 22805
    local JEWELRY_POS = 22806
    local EDRON_POS = 22807

    local GNOMISSION_POS = 22808
    local ROCK_IN_A_HARD_PLACE_POS = 22809
    local FARMINE_POS = 22809
    local GRIZZLYADAMS_POS = 22810
    local TAMORIL_POS = 22811
    local BRENGUS_POS = 22812
    local FLINT_POS = 22813
    local MUGRUU_POS = 22813
    local GLADIS_POS = 22813
    local ALAISTAR_POS = 22813

    local sections = {
    ADDON_ITEMS = {
    position = ADDON_POS,
    items = {768, 769, 770, 3077, 3348, 3374, 3403, 5014, 5804, 5809, 5810, 5875, 5876, 5878, 5879, 5880, 5881, 5882, 5883, 5884, 5885, 5886, 5887, 5888, 5889, 5890, 5891, 5892, 5893, 5894, 5895, 5896, 5897, 5898, 5899, 5902, 5903, 5904, 5905, 5906, 5909, 5910, 5911, 5912, 5913, 5914, 5919, 5921, 5922, 5925, 5930, 5945, 5947, 5948, 6097, 6098, 6099, 6100, 6101, 6102, 6126, 6499, 7290, 12551, 12552, 12553, 12554, 12555, 12556, 12599, 12601, 12786, 12787, 12803, 14021, 14022, 14023, 16252, 16253, 16254, 16255, 16256, 16257}
    },

    RASHID_ITEMS = {
    position = RASHID_POS,
    items = {661, 662, 664, 667, 669, 672, 673, 680, 681, 683, 686, 688, 691, 692, 780, 781, 783, 786, 788, 791, 792, 795, 796, 798, 803, 805, 808, 809, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 2958, 2991, 3002, 3006, 3007, 3008, 3010, 3016, 3017, 3018, 3019, 3025, 3055, 3063, 3290, 3314, 3315, 3326, 3327, 3328, 3330, 3332, 3333, 3334, 3339, 3340, 3342, 3344, 3356, 3360, 3364, 3366, 3386, 3397, 3404, 3408, 3414, 3420, 3421, 3435, 3436, 3440, 3441, 3442, 3550, 3554, 3556, 5461, 5710, 5741, 5810, 5917, 5918, 6095, 6096, 6131, 6299, 6553, 7379, 7380, 7381, 7382, 7383, 7384, 7386, 7387, 7388, 7389, 7390, 7392, 7402, 7403, 7404, 7406, 7408, 7414, 7415, 7418, 7422, 7424, 7425, 7426, 7427, 7429, 7430, 7432, 7434, 7437, 7438, 7449, 7452, 7456, 7457, 7460, 7461, 7462, 7463, 7464, 8022, 8027, 8045, 8049, 8050, 8052, 8057, 8061, 8063, 9013, 9014, 9017, 9302, 9303, 9304, 10457, 11674, 16163, 16164, 17828, 17829, 17852, 22726, 22727, 22866, 22867, 21981}
    },

    YASIR_ITEMS = {
    position = YASIR_POS,
    items = {20198, 20199, 20200, 20201, 647, 2933, 3044, 3058, 3735, 3736, 3741, 5479, 5804, 5809, 5875, 5876, 5877, 5878, 5879, 5880, 5881, 5882, 5883, 5884, 5885, 5890, 5891, 5893, 5894, 5895, 5896, 5897, 5898, 5899, 5901, 5902, 5904, 5905, 5906, 5909, 5910, 5911, 5912, 5913, 5914, 5919, 5920, 5921, 5922, 5925, 5930, 5948, 5954, 6491, 6525, 6534, 6535, 6536, 6537, 6539, 6540, 6546, 8031, 8143, 9040, 9053, 9054, 9055, 9631, 9633, 9634, 9635, 9636, 9637, 9638, 9639, 9640, 9641, 9642, 9643, 9644, 9645, 9646, 9647, 9648, 9649, 9650, 9651, 9652, 9657, 9658, 9659, 9660, 9661, 9662, 9663, 9665, 9666, 9667, 9668, 9683, 9684, 9685, 9686, 9688, 9689, 9690, 9691, 9692, 9693, 9694, 10196, 10272, 10273, 10274, 10275, 10276, 10277, 10278, 10279, 10280, 10281, 10282, 10283, 10291, 10292, 10293, 10295, 10296, 10297, 10299, 10300, 10301, 10302, 10303, 10304, 10305, 10306, 10307, 10308, 10309, 10311, 10312, 10313, 10314, 10316, 10317, 10318, 10319, 10320, 10321, 10397, 10404, 10405, 10407, 10408, 10409, 10410, 10411, 10413, 10414, 10415, 10417, 10418, 10420, 10444, 10449, 10450, 10452, 10453, 10454, 10455, 10456, 11443, 11444, 11445, 11446, 11448, 11449, 11450, 11451, 11452, 11453, 11454, 11455, 11456, 11457, 11458, 11463, 11464, 11465, 11466, 11467, 11469, 11470, 11471, 11472, 11473, 11474, 11475, 11476, 11477, 11478, 11479, 11480, 11481, 11482, 11483, 11484, 11485, 11486, 11487, 11488, 11489, 11490, 11491, 11492, 11493, 11510, 11511, 11512, 11513, 11514, 11515, 11539, 11652, 11658, 11659, 11660, 11661, 11666, 11671, 11672, 11673, 11680, 11684, 11702, 11703, 12541, 12730, 12737, 14008, 14009, 14010, 14011, 14012, 14013, 14017, 14041, 14044, 14076, 14077, 14078, 14079, 14080, 14081, 14082, 14083, 14753, 16130, 16131, 16132, 16133, 16134, 16135, 16137, 16139, 16140, 17461, 17462, 17826, 17847, 17848, 17850, 17853, 17854, 17855, 18924, 18925, 18926, 18927, 18928, 18929, 18930, 18993, 18994, 18995, 18996, 18997, 19110, 19111, 22729, 22730, 22728, 22007, 20184, 20204, 20205, 20206, 20207, 20183, 20203, 20202}
    },

    GNOMISSION_ITEMS = {
    position = GNOMISSION_POS,
    items = {645, 902, 2848, 2852, 3013, 3014, 3068, 3249, 3295, 3306, 3323, 3341, 3387, 3398, 3424, 5803, 6527, 6561, 6566, 6568, 7184, 7416, 7417, 7453, 8021, 8025, 8029, 8039, 8041, 8055, 9394, 9606, 9613, 9619, 11679, 11693} -- missing Unholy Book
    },

    ROCK_IN_A_HARD_PLACE_ITEMS = {
    position = ROCK_IN_A_HARD_PLACE_POS,
    items = {12730, 13987, 13990, 13991, 13993, 13994, 13996, 13997, 13999, 14000, 14001, 14008, 14009, 14010, 14011, 14012, 14013, 14017, 14040, 14041, 14042, 14043, 14044, 14076, 14077, 14078, 14079, 14080, 14081, 14082, 14083, 14086, 14087, 14088, 14089, 14246, 14247, 14250, 14258, 14753}
    },

    GREENDJINN_ITEMS = {
    position = GREENDJINN_POS,
    items = {666, 685, 785, 802, 3045, 3048, 3051, 3052, 3053, 3054, 3065, 3066, 3067, 3069, 3070, 3077, 3078, 3084, 3085, 3097, 3098, 3281, 3297, 3299, 3307, 3318, 3322, 3324, 3369, 3370, 3371, 3373, 3383, 3384, 3428, 3429, 3432, 3434, 3574, 7407, 7411, 7413, 7419, 7421, 7428, 8082, 8083, 8084, 16117, 16118}
    },

    BLUEDJINN_ITEMS = {
    position = BLUEDJINN_POS,
    items = {660, 674, 679, 693, 779, 793, 794, 810, 3046, 3049, 3050, 3056, 3060, 3061, 3062, 3071, 3072, 3073, 3074, 3075, 3079, 3081, 3082, 3083, 3091, 3092, 3093, 3271, 3279, 3280, 3284, 3301, 3302, 3313, 3320, 3380, 3381, 3382, 3385, 3391, 3392, 3415, 3416, 3418, 3419, 3439, 3567, 7391, 7410, 7412, 7436, 7451, 7454, 8092, 8093, 8094, 16096, 16115}
    },

    JEWELRY_ITEMS = {
    position = JEWELRY_POS,
    items = {3004, 3026, 3027, 3028, 3029, 3030, 3032, 3033, 9057, 9058, 16119, 16120, 16121, 16122, 16123, 16124, 16125, 16126, 16127, 281, 282, 22193, 22194}
    },

    EDRON_ITEMS = {
    position = EDRON_POS,
    items = {3062, 3076, 8042, 8043, 8064, 8072, 8073, 8074, 8075, 9103, 10438, 10439, 10451}
    },

    FARMINE_ITEMS = {
    position = FARMINE_POS,
    items = {4033, 10323, 10384, 10385, 10386, 10387, 10388, 10389, 10390, 10391, 10392, 10404, 10405, 10406, 10408, 10410, 10412, 10414, 10416, 10418, 11651, 11657, 11659, 11660, 11661}
    },

    POTION_ITEMS = {
    position = POTION_POS,
    items = {236, 237, 238, 239, 266, 268, 7439, 7440, 7443, 7642, 7643, 7876}
    },

    GRIZZLYADAMS_ITEMS = {
    position = GRIZZLYADAMS_POS,
    items = {7393, 7394, 7396, 7397, 7398, 7399, 7400, 7401, 10244, 10398, 10419, 10421}
    },

    TAMORIL_ITEMS = {
    position = TAMORIL_POS,
    items = {2903, 3036, 3037, 3038, 3039, 3041}
    },

    BRENHUS_ITEMS = {
    position = BRENGUS_POS,
    items = {3345, 3346, 3348, 3403, 3405, 3406, 3407, 3443, 3444, 3445, 3560, 4831, 4839}
    },

    FLINT_ITEMS = {
    position = FLINT_POS,
    items = {21168, 21177, 21892, 21176, 21170, 21183, 21178, 21179, 21180, 21172, 21164, 21167, 21171, 21169, 21174, 21175, 21166, 21173, 21165}
    },

    MUGRUU_ITEMS = {
    position = MUGRUU_POS,
    items = {22188, 22184, 22191, 22189, 22171, 22172, 22183, 22192}
    },

    GLADYS_ITEMS = {
    position = GLADYS_POS,
    items = {22086, 22085, 22051, 22055, 22056, 22057, 22053, 22054, 22087, 22052, 10317}
    },

    ALAISTAR_ITEMS = {
    position = ALAISTAR_POS,
    items = {21204, 21201, 21199, 21182, 21103, 21193, 21198, 21202, 21200, 21196, 21195, 21801, 21747, 21800, 21194, 21197}
    },

    TELAS_ITEMS = {
    position = TELAS_POS,
    items = {9632, 11447, 9656, 12600, 9028, 9027, 9067, 16138, 12806, 9655, 8775, 5892, 16130, 10298, 5889, 5888, 9664, 5887, 16133, 10310, 16137, 10315, 16135, 9654, 9063, 9064, 9065, 9066}
    },
    }

    init end

    auto(100)

    if windowcount() ~= 2 then
    minimizewindows('equip') wait(1000)
    closewindows() wait(1000)
    opendepot(true) wait(1000)
    openitem(3502) wait(1000)
    openitem(CONTAINER,3502,true) wait(1000)
    resizewindows(300) wait(1000)
    end

    local contagem = 0

    while contagem < 10 do
    for name, section in pairs(sections) do
    for _, item in ipairs(section.items) do
    while itemcount(item, CONTAINER) > 0 do
    moveitemsonto(item, section.position, 1, "Depot Chest", CONTAINER, 100)
    end
    end
    end
    contagem = contagem + 1
    end

    nextpage(1) wait(1000)

  2. #2
    Moderator SuNe's Avatar
    Join Date
    Dec 2013
    Location
    Sweden
    Posts
    2,881
    Reputation
    186
    Rep Power
    27
    Nice one =) Gonna try it out later when im home after work.
    กิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิ ิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิ ิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิ ิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิ ิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิ ิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิ ิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิ ิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิก ิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิ ิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิ ิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิ ิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิ ิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิ ิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิ ิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิ ิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิ ิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิ ิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิ ิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิ ิิิิิิิิิิิิิิิิกิิิิิิิิิิิิิิิิิิิิกิิิิิิิิิิิิ ิิิิิิิิ

  3. #3
    Free User eduardobpabreu's Avatar
    Join Date
    Jan 2014
    Posts
    43
    Reputation
    10
    Rep Power
    0
    Perfect!

  4. #4
    Free User
    Join Date
    Dec 2013
    Posts
    50
    Reputation
    10
    Rep Power
    21
    Could you add rafzan?

  5. #5
    Free User
    Join Date
    Mar 2016
    Posts
    37
    Reputation
    29
    Rep Power
    0
    Perfect! Thanks, mate!

  6. #6
    Free User broedrost's Avatar
    Join Date
    Mar 2014
    Posts
    275
    Reputation
    34
    Rep Power
    21
    Can the CONTAINER be a backpack inside a depot? Or does the loot have to be in a specific depot box?

  7. #7
    Free User
    Join Date
    Jun 2015
    Posts
    20
    Reputation
    10
    Rep Power
    0
    i dont know why but the first time i used it it worked fine, second time, it just works for a few min then stops and try to scroll down, any idea why?

  8. #8
    Free User
    Join Date
    Nov 2015
    Posts
    39
    Reputation
    10
    Rep Power
    0
    been looking for this kind of loot sorter, should be most practical script (this kind) on forum +rep

  9. #9
    Free User
    Join Date
    Apr 2015
    Location
    Brazil
    Posts
    509
    Reputation
    11
    Rep Power
    19
    I had problem with few itens, i was trying to use it with "your inbox", but I made some stuff manual and worked, thx mate
    bored? check out my new showcase, 4 vocs in hardcore pvp server!


    https://forums.tibiawindbot.com/show...421#post452421





    hardcore pvp characters for sell, accepting trades leave ur offer here:


    https://forums.tibiawindbot.com/show...600#post452600

  10. #10
    Free User
    Join Date
    Nov 2015
    Posts
    39
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by broedrost View Post
    Can the CONTAINER be a backpack inside a depot? Or does the loot have to be in a specific depot box?
    Got same question, at this moment I had to add 3 small script which I use after sorting - moving items to specific backpack which I carry to npc

 

 

Posting Permissions

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