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.
Re: Allmost foolproof KS run
Hi, i tried this script today but i have a problem im mage/druid 21.3k base life,5.2k int, 22k matt and i almost die in the beginning of the instance because when i fall in the way to the instance portal i lose a lot of life like 16k wich keeps me with 6k then i recover like 3k in the way to the instance and in the rest time of the bot when he enters. And he starts with like 10k but then he starts to attacks the mobs and i almost die what im asking for is a code for he stop and use recover because while the bot rests he doesnt use it then when he starts to run he tries to use but no effect because while he runs cant cast magic and i died because of that.Anyone can help me?
Im using Ntbuff for heals and buffs
Im using Ntbuff for heals and buffs
Re: Allmost foolproof KS run
at the waypoint at the bottom of the cliff use this
It will heal you back up before continuing
Code: Select all
if player.Class2 == 5 or player.Class1 == 5 then - priest
while (80> player.HP / player.MaxHP * 100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class2 == 8 or player.Class1 == 8 then - druid
while (80> player.HP / player.MaxHP * 100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
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
i think im doing something wrong its supost be like this? i put it when he enters in the portal and starts the instance
Code: Select all
print(" 1. Iron Rune Warrior")
print(" 2. Locatha")
print(" 3. Harp")
print(" 4. Full run")
print(" 5. Quit")
print("\n StopAtBoss>")
StopAtBoss = io.stdin:read()
StopAtBoss = tonumber(StopAtBoss)
until StopAtBoss and StopAtBoss > 0
if StopAtBoss == 5 then error("Closing.",0) end
</onLoad>
if player.Class2 == 5 or player.Class1 == 5 then - priest
while (80> player.HP / player.MaxHP * 100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class2 == 8 or player.Class1 == 8 then - druid
while (80> player.HP / player.MaxHP * 100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
end
<!-- # 1 --><waypoint x="4755" z="900" type="TRAVEL">
</waypoint>
<!-- # 2 --><waypoint x="4626" z="913">changeProfileOption("MAX_TARGET_DIST", 90);
</waypoint>
<!-- # 3 --><waypoint x="4456" z="912">
Re: Allmost foolproof KS run
more like this
Assuming waypoint 1 is the first waypoint inside the instance then when you get inside it will heal u up.
Code: Select all
<!-- # 1 --><waypoint x="4755" z="900" type="TRAVEL">
if player.Class2 == 5 or player.Class1 == 5 then - priest
while (80> player.HP / player.MaxHP * 100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class2 == 8 or player.Class1 == 8 then - druid
while (80> player.HP / player.MaxHP * 100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
end
</waypoint>
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
@Lisa
Thanks. I'm going to check it today, but is this going to sell items in all bags?
<!-- Auto selling options when used with player:merchant -->
<option name="INV_AUTOSELL_ENABLE" value="true" /> <!-- true | false -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- 1 = bag 1 slot 1 -->
<option name="INV_AUTOSELL_TOSLOT" value="30" /> <!-- 30 = last slot bag 1 -->
<option name="INV_AUTOSELL_QUALITY" value="white,green" /> <!-- white,green,blue,purple -->
Because <!-- 30 = last slot bag 1 --> so it's not going to sell more than is in first bag? If yes than how to change it? Because I have around 3-4 bps after every round.
Thanks. I'm going to check it today, but is this going to sell items in all bags?
<!-- Auto selling options when used with player:merchant -->
<option name="INV_AUTOSELL_ENABLE" value="true" /> <!-- true | false -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- 1 = bag 1 slot 1 -->
<option name="INV_AUTOSELL_TOSLOT" value="30" /> <!-- 30 = last slot bag 1 -->
<option name="INV_AUTOSELL_QUALITY" value="white,green" /> <!-- white,green,blue,purple -->
Because <!-- 30 = last slot bag 1 --> so it's not going to sell more than is in first bag? If yes than how to change it? Because I have around 3-4 bps after every round.
Re: Allmost foolproof KS run
bag 1 is slot 1-30
bag 2 is slot 31-60
bag 3 is slot 61-90
bag 4 is slot 91-120
if you want it to sell all 4 bags then do
FROMSLOT 1
TOSLOT 120
if you want to sell just bag 4 then
FROMSLOT 91
TOSLOT 120
bag 2 is slot 31-60
bag 3 is slot 61-90
bag 4 is slot 91-120
if you want it to sell all 4 bags then do
FROMSLOT 1
TOSLOT 120
if you want to sell just bag 4 then
FROMSLOT 91
TOSLOT 120
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
Now it gives a error failed to compile and run Lua code for waypoint #2
Code: Select all
<!-- # 1 --><waypoint x="4755" z="900" type="TRAVEL">
if player.Class2 == 5 or player.Class1 == 5 then - priest
while (80> player.HP / player.MaxHP * 100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class2 == 8 or player.Class1 == 8 then - druid
while (80> player.HP / player.MaxHP * 100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
end
</waypoint>
<!-- # 2 --><waypoint x="4626" z="913">changeProfileOption("MAX_TARGET_DIST", 90);
</waypoint>
Re: Allmost foolproof KS run
A little slip from Lisa. LoL
This is a commentThis is not a comment
This is a comment
This is not a comment
This is a comment
Code: Select all
-- priest
Code: Select all
- priest
Code: Select all
-- druid
Code: Select all
- druid
- 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
Now i have more 2 errors unknow profile skill Druid_Recover.Check ur manual castings(e.g events or waypoints files).Be sure the skill is in the skill section on ur profile.
the other is rom/macro/micromacro/scripts/rom/classes/player.lua:596: attempt to concatenate field ´Name´ <a nil value>
And thanks for the help of u 2
whats the problem now?
the other is rom/macro/micromacro/scripts/rom/classes/player.lua:596: attempt to concatenate field ´Name´ <a nil value>
And thanks for the help of u 2
whats the problem now?
Re: Allmost foolproof KS run
Can anyone help me what im supsot to do?
Re: Allmost foolproof KS run
The error says it all really.Mostikos wrote:Be sure the skill is in the skill section on ur profile.
Since it says
I would say you typed it that way in the code, it needs to be all capitals.Mostikos wrote:Druid_Recover
DRUID_RECOVER
You also need to make sure it is in your profile, since mage is your primary class it needs to be in the mage skills section.
Code: Select all
<skill name="DRUID_RECOVER" hotkey="MACRO" priority="90" hpper="30" />
Use this
Code: Select all
sendMacro('CastSpellByName("Recover")')
player:cast("DRUID_RECOVER")
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
LoL it happens to the best of usrock5 wrote:A little slip from Lisa. LoL
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
Ty very much i think everything is work just fine is there anyone of select the mount i want the bot ride because i have a thunder wartiger and thunder hippogriff and wartiger doesnt walk on water so i want him to ride hippogriff. is there any code?
Re: Allmost foolproof KS run
did you try
obviously replace itemNameOrId with the name or id of the item. If you use name then use " " if using id then don't use " "
Code: Select all
inventory:useItem(itemNameOrId)
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 have 2 problems:
1. It's still not selling more than 2 bps and look at my options:
<!-- Auto selling options when used with player:Pancer -->
<option name="INV_AUTOSELL_ENABLE" value="true" /> <!-- true | false -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- 1 = bag 1 slot 1 -->
<option name="INV_AUTOSELL_TOSLOT" value="129" /> <!-- 30 = last slot bag 1 -->
<option name="INV_AUTOSELL_QUALITY" value="white,green,blue,purple" /> <!-- white,green,blue,purple -->
2. It's not useing mana potions if they are in 3,4,5,6 bp and If I have them in 2 bp than he is using it but in next round he will sell them to NPC. What should I do?
1. It's still not selling more than 2 bps and look at my options:
<!-- Auto selling options when used with player:Pancer -->
<option name="INV_AUTOSELL_ENABLE" value="true" /> <!-- true | false -->
<option name="INV_AUTOSELL_FROMSLOT" value="1" /> <!-- 1 = bag 1 slot 1 -->
<option name="INV_AUTOSELL_TOSLOT" value="129" /> <!-- 30 = last slot bag 1 -->
<option name="INV_AUTOSELL_QUALITY" value="white,green,blue,purple" /> <!-- white,green,blue,purple -->
2. It's not useing mana potions if they are in 3,4,5,6 bp and If I have them in 2 bp than he is using it but in next round he will sell them to NPC. What should I do?
Re: Allmost foolproof KS run
k
1.
try start bot with the debug option.
rom/bot path:whatever debug
2.
These are all of the autosell options, you can add which you think will get what you want done, lik enot selling pots.
As for not using pots in bags 3-6, have you got the current version of bot with no yellow or red icons on files? I say this because it sounds like your rent bag address is wrong.
1.
try start bot with the debug option.
rom/bot path:whatever debug
2.
These are all of the autosell options, you can add which you think will get what you want done, lik enot selling pots.
Code: Select all
INV_AUTOSELL_ENABLE = false, -- autosell items at merchant true|false
INV_AUTOSELL_FROMSLOT = 0, -- autosell from slot #
INV_AUTOSELL_TOSLOT = 0, -- autosell to slot #
INV_AUTOSELL_QUALITY = "white", -- itemcolors to sell
INV_AUTOSELL_IGNORE = nil, -- itemnames never so sell
INV_AUTOSELL_NOSELL_DURA = 0, -- durability > x will not sell, 0=sell all
INV_AUTOSELL_STATS_NOSELL = nil, -- stats (text search at right tooltip side) that will not be selled
INV_AUTOSELL_STATS_SELL = nil, -- stats (text search at right tooltip side) that will be selled, even if in nosell
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 used svn to update it and something are udpated, but now I have red addresses.lua. It uses mp from others bp but something is wrong with camera. I mean it's going back than again forward. Should I reinstall bot? ; x
Re: Allmost foolproof KS run
right click file that has red icon and then toutoisesvn then click revert. It will make the file to the version you have. So if you have current version it will make the file the current version of the file.
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
Thanks a lot for everything.
Re: Allmost foolproof KS run
Hi, im back from a nice and long vacation!
I see lots of questions have been put here regarding the script, and lots have been solved too.
Just want to let you readers know i stopped working on this script. I wont be making any updates anymore, specially because it works fine for 48 hours in 1 piece here.
Im working on a different project know and then. Hope i can realize my goal in that project and share it again
Regards,
OneofMany
I see lots of questions have been put here regarding the script, and lots have been solved too.
Just want to let you readers know i stopped working on this script. I wont be making any updates anymore, specially because it works fine for 48 hours in 1 piece here.
Im working on a different project know and then. Hope i can realize my goal in that project and share it again
Regards,
OneofMany
Its not about cheating. Its about being smarter than the game...
Who is online
Users browsing this forum: No registered users and 1 guest