Search found 11 matches

by hasper
Sat Sep 01, 2012 1:56 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Allmost foolproof KS run
Replies: 421
Views: 155703

Re: Allmost foolproof KS run

Thank a lot rock5, tried that and worked (I also changed the number to the buff name if not player:hasBuff("Magic Perfume") then.. )) I realy dont know what of these 2 worked, but it worked thx again. PS while waiting was reading the YAKSS - Yet Another KS Script, which has a function solu...
by hasper
Sat Sep 01, 2012 12:59 pm
Forum: Userfunctions, waypoint scripts, etc.
Topic: Allmost foolproof KS run
Replies: 421
Views: 155703

Re: Allmost foolproof KS run

Hi again Lisa, i tried today the code, but unfortunately i get an error and crashes the bot. It seems that the problem arises from "elseif profile.options.LOOT ~= true then" line, since when erased that line the bot didnt crash (but offcourse didnt loot anything either :D ) There is no pro...
by hasper
Wed Aug 22, 2012 6:04 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Allmost foolproof KS run
Replies: 421
Views: 155703

Re: Allmost foolproof KS run

Thanks Lisa, but could you explain what this do: elseif profile.options.LOOT ~= true then ?
meaning <>? I couldnt find this expression.

Asking because i want to be able to understand the code for future needs.
by hasper
Wed Aug 22, 2012 5:37 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Allmost foolproof KS run
Replies: 421
Views: 155703

Re: Allmost foolproof KS run

I also have an another question. It is about onLeaveCombat options in my profile. There I have the following code: if (not player:hasBuff("506687")) then inventory:useItem(207203); end if (not player:hasBuff("506686")) then inventory:useItem(207202); end if (not player:hasBuff(&q...
by hasper
Wed Aug 22, 2012 5:34 am
Forum: Userfunctions, waypoint scripts, etc.
Topic: Allmost foolproof KS run
Replies: 421
Views: 155703

Re: Allmost foolproof KS run

Not sure if it is the right section for my question, but it has to do with my KS bot. The question has to do with looting option when having magic perfume. When char has magic perfume I have to change the loot options from true to false, in order for the pet doing the job and not the char. But I nee...
by hasper
Thu Aug 16, 2012 10:07 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Re: Faster runs

It seems that i have to live with double checking :D
I guess i have to make a mage char for ks farming ;)
Nevermind thanks both of you for your time, at least i know that the code is right and the bot doesnt have any problem.
by hasper
Thu Aug 16, 2012 8:28 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Re: Faster runs

As mentioned above I have lootomatic having not loot for "Amulet of Light" (but not drop as well) In the following code the bot kills 1 sallamander and tries to loot it. It finds Amulet inside and dont loot it, then the bot tries to loot the body again and finds the Amulet and ofcourse don...
by hasper
Thu Aug 16, 2012 8:23 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Re: Faster runs

I did this and got the following: Fight finished. Killed 1 Ousul Salamander. (fight #3 / runtime 1 minutes) [DEBUG] 1132321792 target dist > MAX_TARGET_DIST with battling from other mob Engaging enemy [Ousul Salamander] in combat. [DEBUG] MAXHPPER PRIEST_URGENT_HEAL 95 50 [DEBUG] MAXHPPER PRIEST_REG...
by hasper
Thu Aug 16, 2012 6:26 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Re: Faster runs

PS i have noticed also something else (not sure if it is normal) In the first wp inside the instace i have my char to cast regenerate and urgent heal, after casting these 2, i get in bot log the 2 casts and 1 clearing target message. Not sure if it is normal, but i am mentioning that too. Apologize,...
by hasper
Thu Aug 16, 2012 6:21 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Re: Faster runs

Lisa I have tried doing what you suggested, but i get the same bot log (double clearing targets message) I also tried leaving leaving this code in onleave combat and making it false in Loot setting (but didnt worked, just looted the last mob :) ) I think the problem arises when i have code in onleav...
by hasper
Thu Aug 16, 2012 5:39 am
Forum: Runes of Magic
Topic: Faster runs
Replies: 12
Views: 4063

Faster runs

Hi all, this is my first post and I must admit that I am not familiar with coding, that is why any help would be appreciated. I have a bot farming ks (using the original ks waypoint, with some modifications from http://www.solarstrike.net/phpBB3/viewtopic.php?f=27&t=2449 ) The problem seems to b...