Ks bot
Re: Ks bot
I did post a ksfrogsloot waypoint in that topic, which loots instead of needing pet perfume.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
lisa, I can't find that ksfrogsloot, which you are talking about? I looked through this topic + the one you made, and I can't find it /:
Re: Ks bot
Typically you would set the loot distance to a value a bit more than the COMBAT_DISTANCE or the longest range skill to make sure it loots everything it attacks. With Thunderstorm, though, you need to also take into account the AOE range which I believe is 65. So loot distance should be set to a little more than 180+65 which is 245. I would probably set it to 250.noobbotter wrote:Also, I would check the profile option and set loot distance to maybe 180. Might have to play around with that to make sure it loots everything properly.
- 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
Re: Ks bot
yeah seems I got mixed up I posted a ksmagmaloot which is a version of ksmagma that looted instead of using pet perfume.Littlejacky wrote:lisa, I can't find that ksfrogsloot, which you are talking about? I looked through this topic + the one you made, and I can't find it /:
Hmm well KSfrogs has a function in it to loot if the pet is a bit slow at looting, could change that to loot it all instead of looting all but 3.
give this a test and see how it goes. If you haven't got it already you will need the teleport userfunction.
Basically any time you get an error saying.
if you do a forum search for what is in between the ' ' you will more than likely find a userfunction for it =)attempt to call global 'setwindow' (a n il value)
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
I just sticked with the ksfrogs waypoints, and I changed a bit of the looting settings in it. Now my bot is looting, but when it hits like 59/60 items (I only use 2 bags, because I'm just learning/testing atm) and the monster got like 4 items, the bot just hang in the window for 2-3 sec, and loot the 1 item, maybe the item gets dropped (maybe some arrows), and then I'm at 59/60 again, then it don't loot the same monster or from that cluster, it just runs to next cluster of mobs, and when I'm lucky and it's an item I can use, I get 60/60 - but the bot keeps killing and looting even though the bags are completely full, it first leave party and go sell when anything is killed. Is there a way that I can do this better?
Then I also added some potions to my profile;
if not player:hasBuff(506684) then -- Unbridled Enthusiasm
inventory:useItem(207200)
end
if not player:hasBuff(506687) then -- housemaid luck
inventory:useItem(207203)
end
Housemaid luck buff activates after like 1-60 secs, but I can't make the bot activate the buff Unbridled Enthusiasm, do I have the wrong ID?
Then I also added some potions to my profile;
if not player:hasBuff(506684) then -- Unbridled Enthusiasm
inventory:useItem(207200)
end
if not player:hasBuff(506687) then -- housemaid luck
inventory:useItem(207203)
end
Housemaid luck buff activates after like 1-60 secs, but I can't make the bot activate the buff Unbridled Enthusiasm, do I have the wrong ID?
Re: Ks bot
Ummm yeah do what I suguested in that topic. Get all 6 bags, get pet perfume =)Littlejacky wrote:Is there a way that I can do this better?
That code looks fine, do you have it in the onleavecombat section of profile.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
But can't it not be done without all bags, because I said I'm going to test this atm. So I could be cool if I could do normally loot + 2 bags?
Looks like this;
<onLeaveCombat><![CDATA[
if not player:hasBuff(503479) then -- pet perfume 30 days
inventory:useItem(204514) -- 30 day
--inventory:useItem(207582) --1 day
end
if not player:hasBuff(506684) then -- Unbridled Enthusiasm
inventory:useItem(207200)
end
if not player:hasBuff(506687) then -- housemaid luck
inventory:useItem(207203)
end
]]></onLeaveCombat>
Looks like this;
<onLeaveCombat><![CDATA[
if not player:hasBuff(503479) then -- pet perfume 30 days
inventory:useItem(204514) -- 30 day
--inventory:useItem(207582) --1 day
end
if not player:hasBuff(506684) then -- Unbridled Enthusiasm
inventory:useItem(207200)
end
if not player:hasBuff(506687) then -- housemaid luck
inventory:useItem(207203)
end
]]></onLeaveCombat>
Re: Ks bot
yeah you should be able to, you won't get much gold/hour though and the waypoints I posted were optimized for 6 bags and pet perfume. So can't say it will work for sure with 2 bags and no pet perfume.Littlejacky wrote:But can't it not be done without all bags, because I said I'm going to test this atm. So I could be cool if I could do normally loot + 2 bags?
first glance the code looks fine.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
Isn't there anything in profile or ksfrogs waypoint I can change; so it 1st don't hang in loot window, and 2nd just leave party when it hits 60/60, I know it is not leaving because the bot still thinks I have a pet and the extra 20 spaces, or how much it is. How to totally switch this off?
Re: Ks bot
Ok I removed all the stuff that might inhibit you in using 2 bags and no pet.
Keep in mind if you have a loot addon like lootomatic it will mess things up.
Keep in mind if you have a loot addon like lootomatic it will mess things up.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
Thanks, I will look at it while I'm home again. I have used lootomatic, why shall I turn it off? What can it mess up?
Re: Ks bot
What you saw before of the bot trying to loot and the loot not going to bags and just being left behind is because of addons like that. This WP is specifically designed to throw away rubish loot, so you shouldn't need an addon to mess with what the bot is trying to do.Littlejacky wrote:Thanks, I will look at it while I'm home again. I have used lootomatic, why shall I turn it off? What can it mess up?
Code: Select all
if item:isType("Runes") or item:isType("Monster Cards") then
item:delete()
end
if ( item:isType("Weapons") or item:isType("Armor") ) and (400 > item.Worth and 3 > item.Quality) then
item:delete()
end
if item:isType("Production Runes") then
item:delete()
end
if item:isType("Potions") and (45 > item.RequiredLvl and item.RequiredLvl > 10) then
item:delete()
end
I run 3 bots 23/7 in KS, average 3Mil/hour each char, 1 hour a day for things like getting house maid luck pots and buying honor scrolls and what not, roughly 200Mil gold per day. I could do more if I really wanted but I don't need that much gold really, at current prices that is around 1200 dias a day. I don't normally run them 7 days straight though, usually just 3 days then have a couple days off.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
Shall I just disable lootomatic or shall I completely uninstall it ?? 

Re: Ks bot
I personally don't use the addon but I seem to recall Rock using it, just personal choice really.Littlejacky wrote:Shall I just disable lootomatic or shall I completely uninstall it ??
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
Why does the Bot open the shop a Pancer two times, when all is sold first time?
And isn't it possible to let the bot leave the instance for selling items at a certain amount of items, maybe 59/60 or 60/60, does it have to killed all mobs before leaving at 60/60?
And isn't it possible to let the bot leave the instance for selling items at a certain amount of items, maybe 59/60 or 60/60, does it have to killed all mobs before leaving at 60/60?
Re: Ks bot
Because the code in the WP tells it to, when all your bags are full it expects you to have more (from pet looting) and so it waits for a couple seconds and then opens merchant again.Littlejacky wrote:y does the Bot open the shop a Pancer two times
Personally I am more of a teach people to fish kind of person, I have posted a working WP that suited your requirements but now it is time for you to learn how to fish and make the small adjustments you want because you will keep thinking of small adjustments and there will be more and more adjustments you want, so it is best if you learn to do them yourself =)
Get yourself Notepad++ and have a play around with it, if you mess up and it no longer works then just redownload the one I posted and try again

Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Ks bot
You can use ItemQueueCount() to tell you how many items are in the incoming queue. If there are any, then sell twice, otherwise sell once.
- 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
-
- Posts: 37
- Joined: Mon Apr 28, 2014 2:41 pm
Re: Ks bot
I tried to change
function bagcheck()
if inventory:itemTotalCount(0) == 0 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
into
function bagcheck()
if inventory:itemTotalCount(59) == 0 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
But then the bot just leave the instance, if bag is 37/60 or something like that..
function bagcheck()
if inventory:itemTotalCount(0) == 0 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
into
function bagcheck()
if inventory:itemTotalCount(59) == 0 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
end
But then the bot just leave the instance, if bag is 37/60 or something like that..
Re: Ks bot
The number in the brackets is the id or name of the item you wish to count, in this case empty slots which have an id of 0. Try
>= mean "more than or equals to". You don't want to use "equals to 59" because what happens if between checks it jumps to 60 and stays at 60?
Code: Select all
if inventory:itemTotalCount(0) >= 59 then
- 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
Who is online
Users browsing this forum: No registered users and 1 guest