What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to delete some items while Using GB2

badeed

New Member
Joined
Jan 31, 2012
Messages
4
Well i like to use the bot on lowbies nods
but they drop annoying stones like Coarse Stone
how to make the bot automatic delete them?
since the profile i have doesnt have mailer or vendor and i dont know how to add them
PS:profile is for tin vein
 
better to use Blacklist so that it doesn't go to that area in the first place.
 
no i mean when i get the tin vein it has alot of Coarse Stone more then the ore bags get full fast
 
You can use my deleteIt, it automaticly deletes it when it finds it in your bags.

all you need to do is change the code to include your items, very easy if you open up the file you'll see where you can put your item names.
 
Code:
                    if (item.Name.Contains("Coarse Stone") || item.Name.Contains("Tough Jerky"))
                    {
                        Logging.Write("Deleting Mutton Chop and Tough Jerky, We don't need these anymore");

                        /* Delete "Mutton Chop" ID: 3770 */
                        string Delete3770 = "i=\"Coarse Stone\" d=1 for x=0,4 do for y=1,GetContainerNumSlots(x) do  if (d>0) then l=GetContainerItemLink(x,y)  if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end";
                        Lua.DoString(Delete3770);
                        /* Delete "Tough Jerky" ID: 117 */
                        string Delete117 = "i=\"Tough Jerky\" d=1 for x=0,4 do for y=1,GetContainerNumSlots(x) do  if (d>0) then l=GetContainerItemLink(x,y)  if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end";
                        Lua.DoString(Delete117);
                    }

will this work?
 
@Giwin i tested it worked
:) ty
and btw you should update your plugin to add a UI window which allows to add and remove items
 
Code:
 if (item.Name.Contains("Coarse Stone"))
                    {
                        Logging.Write("Deleting Coarse Stone, We don't need these anymore");

                        /* Delete "Tough Jerky" ID: 117 */

                        string Delete117 = "i=\"Coarse Stone\" d=1 for x=0,4 do for y=1,GetContainerNumSlots(x) do  if (d>0) then l=GetContainerItemLink(x,y)  if l and GetItemInfo(l)==i then PickupContainerItem(x,y) DeleteCursorItem() d=d-1 end end end end";
                        Lua.DoString(Delete117);
                    }

EDIT1: Good to hear, maybe in the future I'll add a UI when I figure out how to do that :D
 
Back
Top