YAKSS - Yet Another KS Script
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.
-
- Posts: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Hi,
I got some problems running this script :S
Bot kills few mobs then I see:
Tue Jun 18 11:43:59 2013 : [string "..."]:110: attempt to index local 'item' (a nil value)
Tue Jun 18 11:43:59 2013 : Execution error: Runtime error
Profile seems to be alright and I get this error only with this script :S
Thank you
I got some problems running this script :S
Bot kills few mobs then I see:
Tue Jun 18 11:43:59 2013 : [string "..."]:110: attempt to index local 'item' (a nil value)
Tue Jun 18 11:43:59 2013 : Execution error: Runtime error
Profile seems to be alright and I get this error only with this script :S
Thank you
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: YAKSS - Yet Another KS Script
hmm...looks like the item returned from
on line 110 of the file, is nil for some reason. No idea why this is happening, so I'd suggest a change to the file to test it.
If you can change the lines from 109 to 120 from:
to
then that should fix your problem (theoretically).
Code: Select all
item = inventory.BagSlot[slot]
item:update()
If you can change the lines from 109 to 120 from:
Code: Select all
for slot = first, last do
item = inventory.BagSlot[slot]
item:update()
if item.Available and (item.Id == itemNameOrId or item.Name == itemNameOrId) then
if itemNameOrId == "<EMPTY>" or itemNameOrId == 0 then -- so you can count empty slots
totalCount = totalCount + 1
else
totalCount = totalCount + item.ItemCount;
end
end;
end;
Code: Select all
for slot = first, last do
item = inventory.BagSlot[slot]
if (item) then
item:update()
if item.Available and (item.Id == itemNameOrId or item.Name == itemNameOrId) then
if itemNameOrId == "<EMPTY>" or itemNameOrId == 0 then -- so you can count empty slots
totalCount = totalCount + 1
else
totalCount = totalCount + item.ItemCount;
end
end;
end;
end;
-
- Posts: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Nice it works! Thanks.
I got another problem now
At the begining of KS, the bot doesnt kill all the frogs and later, it will attack only when aggroed. As my character is lvl 80 (only for test), I dnt get the aggro often, so I kill only few mobs. I use thunderstorm as main skill (I also tried to profile settings used by Lisa)
Thank you
I got another problem now
At the begining of KS, the bot doesnt kill all the frogs and later, it will attack only when aggroed. As my character is lvl 80 (only for test), I dnt get the aggro often, so I kill only few mobs. I use thunderstorm as main skill (I also tried to profile settings used by Lisa)
Thank you
Code: Select all
<skills_mage>
<skill name="MAGE_LIGHTNING" hotkey="MACRO" priority="80" />
<skill name="PRIEST_RISING_TIDE" hotkey="MACRO" priority="80" />
<skill name="MAGE_PLASMA_ARROW" hotkey="MACRO" priority="80" />
<skill name="MAGE_PURGATORY_FIRE" hotkey="MACRO" priority="100" />
<skill name="MAGE_THUNDERSTORM" hotkey="MACRO" priority="100" inbattle="false" mobcount="2"/>
<skill name="MAGE_ESSENCE_OF_MAGIC" hotkey="MACRO" priority="30" />
<skill name="PRIEST_URGENT_HEAL" hotkey="MACRO" priority="100" hpper="60" />
<skill name="PRIEST_REGENERATE" hotkey="MACRO" priority="100" hpper="80" />
<skill name="MAGE_ENERGY_INFLUX" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="MAGE_ENERGY_WELL" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="PRIEST_HOLY_AURA" hotkey="MACRO" priority="100" inbattle="true" hpper="24" />
<skill name="MAGE_ELEMENTAL_CATALYST" hotkey="MACRO" priority="30" inbattle="true" />
<skill name="PRIEST_MAGIC_BARRIER" hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
<skill name="MAGE_FLAME" hotkey="MACRO" priority="60" />
<skill name="MAGE_FIREBALL" hotkey="MACRO" priority="70" />
</skills_mage>
-
- Posts: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: YAKSS - Yet Another KS Script
gmm...sounds like the TARGET_LVL_BELOW setting in your profile to me - i'm not at my botting machine, so can't tell you any more than that atm - check your porfile for an option like TARGET_LVL_BELOW and make sure it is set to something like 30
-
- Posts: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Thanks for fast reply
Umm it is set to 40...just to make sure i didnt miss anything: 80-40 = 40 ? So it should kill them...
And when I use my other KS script, it kills the mobs. Strange thing.
Is there a reason why you use swimhack outside the instance? Isn't it very dangerous to get caught? I know people see people who swimhack like if they where jumping very high... So when the traffic is high, people might take screenshots or videos? I might try to change that return waypoint a bit.
Thank you
Umm it is set to 40...just to make sure i didnt miss anything: 80-40 = 40 ? So it should kill them...
And when I use my other KS script, it kills the mobs. Strange thing.
Is there a reason why you use swimhack outside the instance? Isn't it very dangerous to get caught? I know people see people who swimhack like if they where jumping very high... So when the traffic is high, people might take screenshots or videos? I might try to change that return waypoint a bit.
Thank you
Re: YAKSS - Yet Another KS Script
Sounds like a waypoint type might be set to RUN.rocking666 wrote:Thanks for fast reply
Umm it is set to 40...just to make sure i didnt miss anything: 80-40 = 40 ? So it should kill them...
And when I use my other KS script, it kills the mobs. Strange thing.
-
- Posts: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Umm I didnt modify the script, so it shouldnt be there...anyway I did a fast search and nothing is set to RUN. Profile seems alright also.
The new waypoint I made from pancer to KS (without fly) seems to work alright. Only thing left is to make the bot kill every mob in each room. Don't know why it doesn't.
The new waypoint I made from pancer to KS (without fly) seems to work alright. Only thing left is to make the bot kill every mob in each room. Don't know why it doesn't.
Re: YAKSS - Yet Another KS Script
If you rewrote the code from Pancer, obviously there must be a change to "RUN" or "TRAVEL" so that it doesn't attack mobs on the way back to KS. Maybe you accidentally deleted the code that changes it back to "NORMAL".
- 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: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Well I just tried the original script again, without modifications...and it still does the same thing. Ill look further into that...
Re: YAKSS - Yet Another KS Script
Try using the Default profile and see if it works, that will atleast point out that the issue is in the profile being used or not.rocking666 wrote:Well I just tried the original script again, without modifications...and it still does the same thing. Ill look further into that...
I suspect there is a name in the "mobs" section of the 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: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
Doesn't work with default profile either. I still didn't find what the issue is... It's a strange thing because it's the only wp doing this. I think it might have something to do will the killzone, because other wp without the killzone work great..
Re: YAKSS - Yet Another KS Script
Cool, you may have found your answer. I don't use the killzone function, not sure if it is relevant in the current version of the bot, so I can not help with that. I mainly have my WPs set to TRAVEL when I'm out of KS and NORMAL inside. I adjust my target rangesrocking666 wrote:Doesn't work with default profile either. I still didn't find what the issue is... It's a strange thing because it's the only wp doing this. I think it might have something to do will the killzone, because other wp without the killzone work great..
Code: Select all
changeProfileOption("MAX_TARGET_DIST", ##);
-
- Posts: 17
- Joined: Sat Nov 10, 2012 5:29 pm
Re: YAKSS - Yet Another KS Script
This is what i use also with normal WP (without killzone). I think i'll forget about this script since I can't get it working Wanted to compare g/h of a script using killzone with another using normal WP.
This script seems to be a very nice work although it doesnt work for me
This script seems to be a very nice work although it doesnt work for me
Who is online
Users browsing this forum: No registered users and 11 guests