Openkore.com

OpenKore Forums
It is currently 27 May 2018, 11:40

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: sell all items (a lot of random items)
PostPosted: 28 Jul 2014, 13:51 
Offline
Human
Human

Joined: 04 Aug 2010, 13:15
Posts: 21
is it possible to do it via macros? i noticed sellAuto in config.txt but on wiki is stated that its enabled after auto storage but I use macros for putting items in and out of storage because we have @storage command
the thing is my bot collects a lot of gift boxes and OBBs and when he opens them all I want to sell all the items so it would hard to cover every item individually


I can do it this way lets say I want to open 100 gift box, I will put all items i want to keep in inventory then open gift boxes and then selll items index 0-100
if theres better way please help, thanks


Top
 Profile  
 
 Post subject: Re: sell all items (a lot of random items)
PostPosted: 30 Jul 2014, 06:29 
Offline
Noob
Noob

Joined: 22 Jul 2014, 10:13
Posts: 19
I'm not so sure I understood what you want but I think you have a list of items you want to store and you don't want to make a list of items you want to sell?

If that's it, you can do it inside your items_control.txt
Code:
all 0 0 1 #all items will be sell except the following you notify
gift box 100 1 0
emperium 0 1 0
gold 0 1 0
white dyestuffs 0 1 0
....
....


You can do an automacro where it detects when you don't have anymore gift box such that :
Code:
automacro GiftBoxOpening {
inventory "Gift Box" < 1
exclusive 1
run-once 1
call {
do autosell
pause 1
do autostorage
pause 1
}
}


In your config.txt put SellAuto 0 and StorageAuto 0.

I didn't try the code and I'm not that good but it should work


Top
 Profile  
 
 Post subject: Re: sell all items (a lot of random items)
PostPosted: 30 Jul 2014, 09:20 
Offline
Human
Human

Joined: 04 Aug 2010, 13:15
Posts: 21
I have macro to load boxes from storage, then it will open and then will try to sell the same amount of items as I loaded gift boxes from storage, all itemsi want to save i load to storage so eg I get 80 gift boxes and try to sell items index 0-79, even if i got only 40 different items .. it doesnt have delay so its really fast still, nvm I dont know how autoSell works and dont have time to try that


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group