Results 1 to 5 of 5

Thread: Hotkey for house loot drop

  1. #1
    Normal User
    Join Date
    Apr 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Hotkey for house loot drop

    Hellow, Ive been testing out diferent hotkeys to make a house loot drop, so far none have worked, ide appreciate if anybody would lead me to something that works!

    Thank you!

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    What are you talking about?

    Like a loot sorter? or an action to drop all loot from hunt on the ground, or inside a chest or something?

    Provide more information.

  3. #3
    Normal User
    Join Date
    Apr 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    hunting coryms, bought a house in PH to make loot drop on the ground, loot sells to 2 diferent npc's, stackable in edron, all the rest in venore, so i probably wanna make 2 piles and then make another script for knight to sell it and deposit gold.
    (hunting corym you make 60+ bps of loot per stamina, big problem)

    tks for the attention.

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Try this..

    you will need to change the loot bp name and edronPos and venorePos. Atm it is venore to the right and edron to the left
    PHP Code:
    local venoreItems = {"item1""item2""ect"}
    local venorePos ground(posx+1posyposz)

    local edronItems = {"item1""item2""ect"}
    local edronPos ground(posx-1posyposz)

    local lootBp "Blue Backpack"


    local vitems = {unpack(venoreItems)}

    for 
    i,j in pairs(vitems) do
       while 
    itemcount(vitems[i], lootBp) > do
          
    moveitems(vitems[i], lootBpvenorePos100)
          
    wait(400,500)
       
    end
    end


    local eitems 
    = {unpack(edronItems)}

    for 
    i,j in pairs(eitems) do
       while 
    itemcount(eitems[i], lootBp) > do
          
    moveitems(eitems[i], lootBpedronPos100)
          
    wait(400,500)
       
    end
    end 


    PS: I didnt test it :/

    Id also recommend you make an islocation check around this action to make sure it only does it when standing inside your house, to avoid it bugging and throwing all the shit on the ground in somewhere else.

    very easy to do, just put this action inside something like...

    while islocation() do

    past here

    end


    and just make sure the action pos you make is inside your house
    Last edited by pink_panther; 01-01-2013 at 12:01 AM.

  5. #5
    Normal User
    Join Date
    Apr 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    tks dude, ill test it!

Posting Permissions

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