Page 10 of 22
Re: Allmost foolproof KS run
Posted: Mon Aug 01, 2011 3:16 am
by lisa
Use the skill name you use in your profile.
Re: Allmost foolproof KS run
Posted: Mon Aug 01, 2011 6:34 am
by wilifox
profile in My documents/Runes of magic/profile_name
or
in C:\micromacro\script\rom\profiles\profile_name?
Thx very much
Re: Allmost foolproof KS run
Posted: Thu Aug 04, 2011 9:30 am
by mschmitd
@Lisa
No i have remove this part of Code
Code: Select all
if player.Class1 == 5 or player.Class2 == 5 then -- priest
while (80 > player.HP/player.MaxHP*100) do
player:cast("PRIEST_URGENT_HEAL");
yrest(2300);
end
end
if player.Class1 == 8 or player.Class2 == 8 then -- druid
while (80 > player.HP/player.MaxHP*100) do
player:cast("DRUID_RECOVER");
yrest(2300);
end
end
Mike
Re: Allmost foolproof KS run
Posted: Tue Aug 09, 2011 2:38 am
by wilifox
Thx very much Ms
Re: Allmost foolproof KS run
Posted: Fri Aug 12, 2011 2:03 am
by zarossa
Is there any script on alt to accept the party requst from my main character?
Re: Allmost foolproof KS run
Posted: Fri Aug 12, 2011 6:59 am
by mschmitd
I use the AddOn GroupInvite v2.06
This works perfect for me you only need to
change the parameter Accept Invite by Friend
and Set your Char in your Friend-List and its work
Mike
sry for my bad English
Re: Allmost foolproof KS run
Posted: Sat Aug 13, 2011 2:00 am
by zarossa
Thanks a lot, I'm going to test it soon, but first I want to ask about skills which I should use on mage? Which ones would be the best? Maybe someone can just paste here those lines with skills he is using from character settings? Which profession is the best on this script?
Re: Allmost foolproof KS run
Posted: Sat Aug 13, 2011 3:18 am
by Germangold
i use mage/priest and mage/druids
pro's
aoe skill MAGE_PURGATORY_FIRE
power full MAGE_FLAME
self heal with URGENTHEAL/REGENERATE/RECOVER
cons
expensive items needed
at least T8 lvl60 staff
18k life/mana needed
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 8:58 am
by botje
Code: Select all
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
would it not be possible to change this function to delete items from bag that are worth less then 1000?
is there a call to delete items?
Botje
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 9:18 am
by rock5
Yes "item:delete()". You might have to take care not to delete items that have no value but you want to keep, such as quest items or moster cards.
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 10:20 am
by botje
and where can i find what info item stores?
so i maybe can check for other things too before i delete them?
Botje
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 10:42 am
by rock5
If you look at the top of the file "item.lua" you will see the where the CItem class is initialized. You can see whats stored there.
To see what 'type' the item is you can use.
Code: Select all
if (item:isType("weapons") or item:isType("armor")) and 1000 > item.Worth then
item:delete()
end
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 11:35 am
by botje
Code: Select all
function CleanBag()
for i, item in pairs(inventory.BagSlot) do
if item.SlotNumber >= settings.profile.options.INV_AUTOSELL_FROMSLOT and
settings.profile.options.INV_AUTOSELL_TOSLOT >= item.SlotNumber then
if (item:isType("weapons") or item:isType("armor")) and 1000 > item.Worth then
printf("Deleting Item: "..item.Name.."\n");
item:delete()
end
end
end
end
i cant wrap my head around the item quality colors, would
work?
Botje
Re: Allmost foolproof KS run
Posted: Wed Aug 17, 2011 12:38 pm
by Administrator
botje wrote:
i cant wrap my head around the item quality colors, would
work?
Botje
I don't think so. If I remember correctly, the quality colors are RGB (or maybe RGBA?), and do not follow an order of 1,2,3..., so you will have to check each each one. Or you could just check if it is not orange.
Re: Allmost foolproof KS run
Posted: Thu Aug 18, 2011 12:42 am
by rock5
Items have 2 quality values. One is item.Quality that holds a number that represents a color as stated in the item class initialisation.
Code: Select all
-- 0 = white / 1 = green / 2 = blue / 3 = purple / 4 = orange / 5 = gold
Items also have item.Color which match the PURPLE format.
It might be easiest to say
Re: Allmost foolproof KS run
Posted: Wed Aug 31, 2011 5:15 am
by zarossa
Some questions:
1. Why it's not selling items? I got on 1 round maybe 3-4 full backpacks and he is not selling it. Where should I set it?
2. Is he will use lucky potion from my housemaid?
3. Is it possible to set only FLAME on bosses?
Re: Allmost foolproof KS run
Posted: Wed Aug 31, 2011 6:08 am
by rock5
1. Will depend on your autosell options in your profile.
2. The description on the first post says it will.
3. This is a bit more tricky and would involve either changing all your other skills to "autouse=false" and then back again after the fight, or using your own attack sequence that only uses that skill. Maybe someone else can think of an easier way to do it. I'm sure this has come up before.
Re: Allmost foolproof KS run
Posted: Wed Aug 31, 2011 6:18 am
by zarossa
I uploaded my profile. I don't see there any autosell thing. May you just add this function there?
Which is the best and faster way to sell items? I got sellmode addon which was mentioned in this topic. I know how it working but I don't know how while botting. What I have to do? I'm kinda noobie in this so please give me real examples, because this is the best method to learn for me. Moreover you can explain it step by step if you got so much time.
I found something like this:
player:openStore("Pancer")
RoMScript("Sellslots1()")
RoMScript("Sellslots2()")
RoMScript("Sellslots3()")
RoMScript("Sellslots4()")
Where should I add it? What I need more to let it play?
Re: Allmost foolproof KS run
Posted: Thu Sep 01, 2011 2:56 pm
by zarossa
Is it so hard to help?
,
I added this selling options from deflaut profile, but I want to know where should I add this
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
Or what should I do?
Re: Allmost foolproof KS run
Posted: Thu Sep 01, 2011 8:54 pm
by lisa
zarossa wrote:Is it so hard to help?
,
Update to latest version of bot and look in the default profile, it has the autosell options in it.
There is no need to do anything else, no need for other addons, no need to rewrite code for you, you just need to use the options provided.
zarossa wrote:I added this selling options from deflaut profile, but I want to know where should I add this
if player:openStore("Pancer") then -- opens the store, then continues if it
The WP file that is on this topic has the sell option to merchant already, if you have the profile options added correctly then you don't need to do anything else.