Cleanbag userfunction 2.5

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Cleanbag userfunction 2.5

#101 Post by botje » Fri Jun 13, 2014 1:59 am

here silinky, try the one i attached here, i cant test it, i got my ass banned xd
userfunction_CleanBag.lua
2.5.1 test
(4.81 KiB) Downloaded 322 times

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Cleanbag userfunction 2.5

#102 Post by silinky » Sun Jun 15, 2014 6:15 pm

ty didn't know it is that easy :)
sorry for your ban. what were you doing when banned (to avoid it as high risk action)?

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Cleanbag userfunction 2.5

#103 Post by botje » Mon Jun 16, 2014 12:07 pm

minigames on 6 chars after eachother.

guess i were reported :P

User avatar
silinky
Posts: 213
Joined: Mon Nov 23, 2009 5:07 am

Re: Cleanbag userfunction 2.5

#104 Post by silinky » Tue Jun 17, 2014 5:50 am

i think they are watching the minigames. this why i asked, because one of my chars that never botted, except minigames(andor, malatina, lyliya), was banned for 2 weeks. the dog meat. ks and tier stone bots were not affected.
sorry for the offtopic and thx for the fix :)

Bubi
Posts: 57
Joined: Tue May 04, 2010 3:51 pm

Re: Cleanbag userfunction 2.5

#105 Post by Bubi » Tue Jun 17, 2014 5:56 am

silinky wrote:i think they are watching the minigames. this why i asked, because one of my chars that never botted, except minigames(andor, malatina, lyliya), was banned for 2 weeks. the dog meat. ks and tier stone bots were not affected.
sorry for the offtopic and thx for the fix :)
They also watching ks !! :evil: !!

User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Cleanbag userfunction 2.5

#106 Post by botje » Tue Jun 17, 2014 6:11 am

ah, that explains it then.

oh well, was my first ban in 4 years or so, 7 days.

its a risk you take :P

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: Cleanbag userfunction 2.5

#107 Post by Lamkefyned » Mon Sep 15, 2014 6:29 am

hi, I'm trying as deleting the object (203024) but does not work Cleanbag userfunction
If you think something is right just because everyone else believes,you're not thinking.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Cleanbag userfunction 2.5

#108 Post by rock5 » Mon Sep 15, 2014 7:09 am

I had a look at version 2.5 on the first post and 2.5.1 on the last page. Neither of them allow you to delete an item by id or name. Or are you saying you used cleanbag, it cleaned your bag but left that item? What command exactly did you use? Do you get a confirmation dialog when you try to delete it?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: Cleanbag userfunction 2.5

#109 Post by Lamkefyned » Tue Sep 16, 2014 9:18 pm

the fact is that I could not delete the object ....

You can make a function to delete by id?
If you think something is right just because everyone else believes,you're not thinking.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Cleanbag userfunction 2.5

#110 Post by rock5 » Wed Sep 17, 2014 12:41 am

The question is "Why can't you delete it?". Can you delete it manually? If so, what do you have to do to delete it manually? For instance do you get the confirmation dialog confirming whether you want to delete the item?

By the way normally to delete an item by id you could do

Code: Select all

item = inventory:findItem(id)
if item then
    item:delete()
end
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: Cleanbag userfunction 2.5

#111 Post by Lamkefyned » Wed Sep 17, 2014 1:44 am

I had already tried a similar code but does not work so resorted to this userfunction. In the end I already like deleting objects

Thanks a lot! R5
If you think something is right just because everyone else believes,you're not thinking.

User avatar
Lamkefyned
Posts: 348
Joined: Thu May 23, 2013 11:38 am
Location: Spain

Re: Cleanbag userfunction 2.5

#112 Post by Lamkefyned » Tue Nov 04, 2014 1:12 am

Hello, good
as we walk?
Well I wanted to ask how you could make a table to delete several objects .... for example ...

Code: Select all

itemsDelete=[[25488,54554,56555]]
item = inventory:findItem(itemsDelete)
if item then
    item:delete()
end
but does not work for me ... guess where the problem but did not fix it xD
If you think something is right just because everyone else believes,you're not thinking.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Cleanbag userfunction 2.5

#113 Post by rock5 » Tue Nov 04, 2014 2:24 am

Code: Select all

local itemsDelete={25488,54554,56555}
for k,v in pairs(itemsDelete) do
   while inventory:itemTotalCount(v) > 0 do
      local item = inventory:findItem(v)
      if item then
         item:delete()
      end
   end
end
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests