getting multiple items by getAuto/autoconfchange prob

International

Moderator: Moderators

geometry77
Noob
Noob
Posts: 12
Joined: 27 May 2008, 02:57
Noob?: Yes

getting multiple items by getAuto/autoconfchange prob

#1 Post by geometry77 »

Good day fellas, how you all doing.
I just got stuck at configuring once again and beseech expert kore ppl's help/suggestion.
My goal here is to use a merch char with overcharge to sell loots that rogue char in same acc gathers/storage and do it automatically so. My plan was to use autoconfchange every ten hours or so for 1 min to switch to merch conf then merch conf gets, sells, and switch back to rogue char. However, i ran into several problems as i tried to make my plan real. The problems are:
Problem 1. i can't get getauto to take more than one kind of items...using commas or multiple blocks all did not work :( the bot won't initiate getauto at all
EX1
getAuto Jellopy, Fluff {
minAmount 0
maxAmount 1500
passive 0
}
EX2
getAuto Jellopy {
minAmount 0
maxAmount 1500
passive 0
}
getAuto Fluff {
minAmount 0
maxAmount 1500
passive 0
}

Problem 2. In order for my merch/rogue conversion to work, they need to have different item_control file becuz rogues shouldn't sell loots but store them (ex jellopy 0 1 0) and merch should sell to activate sellauto (ex jelloy 0 0 1) but when autoconfchange initiates, can secondary switching config file be put into diff control folders in different directory?
The syntax of autoconfchange from manual is as follows;
autoConfChange [{list of files}] {
minTime [<seconds>]
varTime [<seconds>]
lvl [<range>]
joblvl [<range>]
isJob [<job>]
}
now here's the example also from manual
autoConfChange control\config_2.txt {
minTime 3600
varTime 1800
isJob Thief
}
So this [{list of files}] part i can put directory in it and kore will look for config file in the folder and maybe use item_control from that folder too?
(ex. say u make folder control2 in control folder with everything like control except config and item_control and make
autoConfChange control\control2\config_2.txt {
minTime 3600
varTime 1800
isJob
}
this will work? if not, is there alternative? i'm sure some ppl r using merch to sell loots for higher price, and trying to figure out how. I'll greatly appreciate it for any help, whether it works or not. Thank you for reading freaking long text, and bid you a good day.
EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: getting multiple items by getAuto/autoconfchange prob

#2 Post by EternalHarvest »

geometry77 wrote:i can't get getauto to take more than one kind of items...using commas or multiple blocks all did not work :( the bot won't initiate getauto at all
http://forums.openkore.com/viewtopic.php?t=12506, http://forums.openkore.com/viewtopic.php?p=47900#p47900
So this [{list of files}] part i can put directory in it and kore will look for config file in the folder and maybe use item_control from that folder too?
(ex. say u make folder control2 in control folder with everything like control except config and item_control and make
autoConfChange control\control2\config_2.txt {
minTime 3600
varTime 1800
isJob
}
this will work? if not, is there alternative?
A random file out of the specified list will be selected.
autoConfChange by itself only changes config file, not control files.

It's possible to do with more advanced configuring, like creating a plugin/macro (or improving autoConfChange to work with other files) for Kore or some script to start Kore with specified control dirs after it closes if that's more familiar (you need to relogin anyway).
geometry77
Noob
Noob
Posts: 12
Joined: 27 May 2008, 02:57
Noob?: Yes

Re: getting multiple items by getAuto/autoconfchange prob

#3 Post by geometry77 »

ty, i guess i'll just have to rely on macro :) thank you for your help appreciated!