Allmost foolproof KS run
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Allmost foolproof KS run
For the ppl that are patience with money farming and without luckypot are satisfied with 80 - 100k each run when lvl62.
Script will ask u before which boss to stop. Will take Lucky potion / Speed Potion / Clear Thought if the buff doesnt exist.
At Line 358 in the script. fill out the name of the character to invite. U will need an addon that auto accepts invites, then u can farm whole night.
EDIT: Version 25-05-2011
Credits (made the, and helped with the waypointfile):
OneofMany
Lisa
Rock5
Script will ask u before which boss to stop. Will take Lucky potion / Speed Potion / Clear Thought if the buff doesnt exist.
At Line 358 in the script. fill out the name of the character to invite. U will need an addon that auto accepts invites, then u can farm whole night.
EDIT: Version 25-05-2011
Credits (made the, and helped with the waypointfile):
OneofMany
Lisa
Rock5
Last edited by OneofMany on Wed May 25, 2011 6:25 am, edited 19 times in total.
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
You might want to remove your char name from that file.
I have been using function on every waypoint to check if inv is full then it would leave party and go sell items. Someone said that it might be better to do after each fight. Like onleavecombat on profile.
I have been using function on every waypoint to check if inv is full then it would leave party and go sell items. Someone said that it might be better to do after each fight. Like onleavecombat on profile.
Re: Allmost foolproof KS run
Thanks, didnt thought about that.
Edited
Edited
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
I got one question about my script.
It tells the client that when at revive point, if i dont have the lucky pot on, put it on.
But each time i get out of KS it will take a lucky pot...
What am i doing wrong there?
OneofMany
It tells the client that when at revive point, if i dont have the lucky pot on, put it on.
Code: Select all
player:updateBuffs();
if not player.Buffs["Turn of Luck Powder Dust"] then
inventory:useItem(207203);
end
What am i doing wrong there?
OneofMany
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
Was thinking about making that too. probably will be in the near feature. started to make the waypoints some weeks back. so have to get used to itGiram wrote:You might want to remove your char name from that file.
I have been using function on every waypoint to check if inv is full then it would leave party and go sell items. Someone said that it might be better to do after each fight. Like onleavecombat on profile.
Its not about cheating. Its about being smarter than the game...
-
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
Re: Allmost foolproof KS run
replacement for selling items to npc pancer
expl: it uses sell on every single item that worth more than 222 Gold. its like 3x faster than the normal selling
Onload Options: Party and start at nearest Waypoint
Mounting doesnt really works for me because i use macrotriggered "regeneration sigil" and "fast heal" so it dismount me every time
Code: Select all
--player:merchant("Pancer");
if player:openStore("Pancer") then -- opens the store, then continues if it opened.
for i, item in pairs(inventory.BagSlot) do
if (item.Worth > 222) then
item:use() -- sells it to the store
end
end
end
Onload Options: Party and start at nearest Waypoint
Code: Select all
<onLoad>
__WPL:setWaypointIndex(__WPL:getNearestWaypoint(player.X, player.Z));
while not RoMScript("UnitExists('party1')") do
sendMacro('InviteByName("YOURTOONHERE")');
yrest(400)
end
</onLoad>
Mounting doesnt really works for me because i use macrotriggered "regeneration sigil" and "fast heal" so it dismount me every time
-
- Posts: 276
- Joined: Thu Oct 22, 2009 3:58 am
Re: Allmost foolproof KS run
what i am working on is a additional option to run home to get addtional lucky potions
pseudocode:
if (Potion: Lucky Target) == 0 or not player:hasBuff("Turn of Luck Powder Dust") then
player:cast("RECALL:); -- Recall position should be Obsidian Stronghold
yrest(20000); -- or waitForLoadingScreen();
some waypoint from the teleporter to npc
player:target_NPC("Maylee");
sendMacro("ChoiceOption(3);"); --crafting square
yrest(15000);
some waypoint to Mishia Sister
player:target_NPC(" Mishia Sister");
sendMacro("ChoiceOption(1);"); --enter the house
yrest(10000);
wander around in the house
player:target_NPC("YOUR PAID HOUSE MAID2");
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
player:target_NPC("YOUR PAID HOUSE MAID2");
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
player:targe_NPC("Housekeeper"); -- talk to her to leave
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
What i am missing is to how to use a transport rune to get back to KS ?
how should i do that?
pseudocode:
if (Potion: Lucky Target) == 0 or not player:hasBuff("Turn of Luck Powder Dust") then
player:cast("RECALL:); -- Recall position should be Obsidian Stronghold
yrest(20000); -- or waitForLoadingScreen();
some waypoint from the teleporter to npc
player:target_NPC("Maylee");
sendMacro("ChoiceOption(3);"); --crafting square
yrest(15000);
some waypoint to Mishia Sister
player:target_NPC(" Mishia Sister");
sendMacro("ChoiceOption(1);"); --enter the house
yrest(10000);
wander around in the house
player:target_NPC("YOUR PAID HOUSE MAID2");
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
player:target_NPC("YOUR PAID HOUSE MAID2");
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
player:targe_NPC("Housekeeper"); -- talk to her to leave
sendMacro("SpeakFrame_ListDialogOption(1, 6)")
What i am missing is to how to use a transport rune to get back to KS ?
how should i do that?
Re: Allmost foolproof KS run
I gave the KS a try and it uses a luck potion every time, I'd say the buff check is incorrect. I'd suguest using the buff ID instead of the name. Should be a few posts around on how to get buff ID, it's a simple in game script.OneofMany wrote:I got one question about my script.
It tells the client that when at revive point, if i dont have the lucky pot on, put it on.
But each time i get out of KS it will take a lucky pot...Code: Select all
player:updateBuffs(); if not player.Buffs["Turn of Luck Powder Dust"] then inventory:useItem(207203); end
What am i doing wrong there?
OneofMany
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: Allmost foolproof KS run
To get the players buffs uselisa wrote:Should be a few posts around on how to get buff ID, it's a simple in game script.
Code: Select all
/script i=1 while UnitBuff( "player", i) ~= nil do name, __, __, ID = UnitBuff( "player", i) SendSystemChat(name.." "..ID) i = i + 1 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
Re: Allmost foolproof KS run
And the items u loot that are worth less? i dont have the lootfilter on. Can imagine more ppl dont have that. Then its not gonna be foolproof again i think? suppose i can leave out theGermangold wrote:replacement for selling items to npc pancerexpl: it uses sell on every single item that worth more than 222 Gold. its like 3x faster than the normal sellingCode: Select all
--player:merchant("Pancer"); if player:openStore("Pancer") then -- opens the store, then continues if it opened. for i, item in pairs(inventory.BagSlot) do if (item.Worth > 222) then item:use() -- sells it to the store end end end
Code: Select all
if (item.Worth > 222) then
End
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
And thats the part i needed for the buffs im gonna alter that when i got time, and test, if works upload it.rock5 wrote:To get the players buffs useCode: Select all
/script i=1 while UnitBuff( "player", i) ~= nil do name, __, __, ID = UnitBuff( "player", i) SendSystemChat(name.." "..ID) i = i + 1 end
Thnx lisa and rock5
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
Ok, i found that the buffs ID = 506687
Now i do:
Still it takes its Lucky Pot each time. What am i doing wrong with the code?
EDIT: Got it
was the solution
Now i do:
Code: Select all
player:updateBuffs();
if not player.Buffs[506687] then (i tried ["506687"] too)
inventory:useItem(207203);
end
EDIT: Got it
Code: Select all
player:updateBuffs();
if not player:hasBuff(506687) then
inventory:useItem(207203);
end
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
player:hasBuff updates the buffs already. You don't need to run "player:updateBuffs()"
- 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: Allmost foolproof KS run
Copy that. changed. updated scripts in 1st post
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
It would be very cool to get this working but.... if ur unlucky and dont get lucky potions? then everytime it enters, or finishes the run it will go to housemaids? Dont think it will work for most ppl. 9 of the 10 times i get them with 4 housemaids making them. That 1 time failure would be long runs i thinkGermangold wrote:what i am working on is a additional option to run home to get addtional lucky potions
lot of code....
What i am missing is to how to use a transport rune to get back to KS ?
how should i do that?
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
I see the issue you used [ ] instead of ( )
Last edited by lisa on Thu May 12, 2011 10:47 am, edited 3 times in total.
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: Allmost foolproof KS run
I think his issue was he was trying to access the player.Buffs table instead of using the player:hasBuff function.lisa wrote:I see the issue you used [ ] instead of ( )
- 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: Allmost foolproof KS run
Allready found that out. starting to like the scripting if i got more time i will go more into it. Looks a lot like VB and C++ so think i will get the hang of it.lisa wrote:I see the issue you used [ ] instead of ( )
All depends on time
Will try to keep the KS waypoints updated with tips and tricks from others when i think they are usefull and "foolproof". Its a nice way to make money
Its not about cheating. Its about being smarter than the game...
Re: Allmost foolproof KS run
this works for me, clear thought, luck and speed. I forget which is which.
Code: Select all
if (not player:hasBuff("506687")) then
inventory:useItem(207203);
end
if (not player:hasBuff("506686")) then
inventory:useItem(207202);
end
if (not player:hasBuff("506684")) then
inventory:useItem(207200);
end
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: Allmost foolproof KS run
Why not have just the 1 file and an option to choose which boss you want to go to?
- 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 3 guests