Pretty Sick of "waiting on aggressive enemies"
Pretty Sick of "waiting on aggressive enemies"
Subject says it all. I looked around and saw most people don't have an answer... anyone know how to eliminate this problem?
"waiting on aggressive enemies"
/facepalm
edit: I turned off "loot in combat" and it's been running okay for a while... not sure if that was just coincidental or why it would matter...
"waiting on aggressive enemies"
/facepalm
edit: I turned off "loot in combat" and it's been running okay for a while... not sure if that was just coincidental or why it would matter...
Re: Pretty Sick of "waiting on aggressive enemies"
Awhile back I remember changing a few of those to actually looking for the mobs that have you targeted and if it didn't find any then it wouldn't wait. I think there are still a few in there that weren't changed. I could probably have a look for them.
Why are you getting aggro? AOE from mobs? In a party?
Why are you getting aggro? AOE from mobs? In a party?
- 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: Pretty Sick of "waiting on aggressive enemies"
My first thought is the aoe the mobs do on the way to do butterflies daily, if so then just set the waypoint type to "travel" or was it "run" I always get the 2 mixed up.
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: Pretty Sick of "waiting on aggressive enemies"
I haven't been watching it real closely, unfortunately. Can tell you it wasn't when I was in a party. AOE is possible as the new zone does some wierd things such as give you a debuff here and there but I can't verify at this time.
Last thing I changed was to not loot in combat and I haven't had issues since then but it could be some other thing such as world events and I don't really want to get into exact locations. will continue to watch it. Problem is that it freezes up in the "waiting on aggressive..." mode and will end up with xp deaths as mobs beat me senseless.
And I want to kill things so travel/run options aren't good for this issue.
Last thing I changed was to not loot in combat and I haven't had issues since then but it could be some other thing such as world events and I don't really want to get into exact locations. will continue to watch it. Problem is that it freezes up in the "waiting on aggressive..." mode and will end up with xp deaths as mobs beat me senseless.
And I want to kill things so travel/run options aren't good for this issue.
Re: Pretty Sick of "waiting on aggressive enemies"
I see no "wait for aggro" in the code during looting. Also, what you did is counter-intuitive. If loot in combat is enabled then it would ignore aggro and loot. If loot in combat is disabled then it wont loot if it has aggro and possibly it might wait for aggro.
- 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: Pretty Sick of "waiting on aggressive enemies"
Yeah it's most likely set off by a world event, maybe it does some AOE, not sure.
What's the purpose of waiting on aggressive enemies? Freezing the bot just doesn't seem like a good outcome when the failsafe results in a death.
What's the purpose of waiting on aggressive enemies? Freezing the bot just doesn't seem like a good outcome when the failsafe results in a death.
Re: Pretty Sick of "waiting on aggressive enemies"
I just had a pretty thorough look. I couldn't find anywhere where it waits for aggro. So you'll need to let us know when, where, why it's stopping so we know where to look. Then we might be able to help you.
- 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: Pretty Sick of "waiting on aggressive enemies"
I get this message a lot, too. I have two sure ways to reproduce it:
1. Put several chars in a party, turn off ANTI_KS and set them in the same area with mobs. I would expect all chars to attack some mob, but only the first one to spot a mob attacks, the others show the message "we have aggro - waiting". If they are standing, they freeze for the time, but what's worse, if they were moving they just keep running on aimlessly in the last direction, sometimes to their death.
2. Let a char fight b1 in DoD. When the boss has jumped, the char just sits there showing the aggro message instead of re-engaging and doing some damage.
Maybe this helps. It would be really great to get those aggro wait conditions removed as they at best make the bot slow and ineffective, but often get the char killed.
1. Put several chars in a party, turn off ANTI_KS and set them in the same area with mobs. I would expect all chars to attack some mob, but only the first one to spot a mob attacks, the others show the message "we have aggro - waiting". If they are standing, they freeze for the time, but what's worse, if they were moving they just keep running on aimlessly in the last direction, sometimes to their death.
2. Let a char fight b1 in DoD. When the boss has jumped, the char just sits there showing the aggro message instead of re-engaging and doing some damage.
Maybe this helps. It would be really great to get those aggro wait conditions removed as they at best make the bot slow and ineffective, but often get the char killed.
Re: Pretty Sick of "waiting on aggressive enemies"
easiest "work around" would be to set in profile PARTY to true.
the party ignores the wait for agro code.
In bot.lua it has this.
Code: Select all
<!-- Party Bot options -->
<option name="PARTY" value="true" />
In bot.lua it has this.
Code: Select all
while(player.Battling) do
if( player.Current_waypoint_type == WPT_TRAVEL ) then
cprintf(cli.green, language[113]); -- we don't stop and don't fight back
break;
end;
if ( settings.profile.options.PARTY ~= true ) then
player:target(player:findEnemy(true, nil, evalTargetDefault, player.IgnoreTarget));
-- wait a second with the aggro message to avoid wrong msg
-- because of slow battle flag from the client
if( msg_print == false and os.difftime(os.time(), aggroWaitStart) > 1 ) then
cprintf(cli.green, language[35]); -- Waiting on aggressive enemies.
msg_print = true;
end;
if( player:haveTarget() ) then
if( msg_print == false ) then
cprintf(cli.green, language[35]); -- Waiting on aggressive enemies.
msg_print = true;
end;
break;
end;
if( os.difftime(os.time(), aggroWaitStart) > 4 ) then
cprintf(cli.red, language[34]); -- Aggro wait time out
break;
end;
yrest(10);
player:update();
else
player:target(player:findEnemy(true, nil, nil));
local target = player:getTarget();
if player:haveTarget() then
if( settings.profile.options.ANTI_KS ) then
if( target:haveTarget() and
target:getTarget().Address ~= player.Address and
(not player:isFriend(CPawn(target.TargetPtr))) and
target:getTarget().Address ~= 0 -- because of distance limitation
and target:getTarget().InParty ~= true )then
cprintf(cli.red, language[5], target.Name);
else
player:fight();
end
else
player:fight();
end
yrest(10);
player:update();
end
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: Pretty Sick of "waiting on aggressive enemies"
I think I see what's happening. If the wait for aggro is triggered and it looks for the aggro mob, if it fails the 'evaltargetdefault' tests then it will wait 4-5 seconds. Maybe remove the eval function as you probably always want to attack aggroed mobs regardless of if they pass the eval function. So line 618 of bot.lua
should look like
Maybe even get rid of the last argument. If you fail to attack a mob and ignore it, you don't want to ignore it if it then attacks you. So maybe it should be like the party one.
Hm.. but what if you are getting aggro from and AOE but nothing is attacking you? I think it would still wait 4s. Lisa is right, the party bit still looks for the aggro mob but if it doesn't find it it just moves on. I think the non party bit need to be like that too. Probably that whole section needs to be rewritten.
Code: Select all
player:target(player:findEnemy(true, nil, evalTargetDefault, player.IgnoreTarget));
Code: Select all
player:target(player:findEnemy(true, nil, nil, player.IgnoreTarget));
Code: Select all
player:target(player:findEnemy(true));
- 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: Pretty Sick of "waiting on aggressive enemies"
Lisa, Rock... you two are awesome. Thx!
Pretty annoyed I did a search (windows crappy search thing) for "waiting" and "aggressive" in the micromacro folders and didn't come up with the bot.lua text even though it's supposed to. oh well..
I ended up doing the set WP to "TRAVEL" which was okay since I could tell it to engage combat with more specific commands, player:fight() seemed to work fine. I actually shoved off from the place where I was having problems so maybe I'll go back and take another shot armed with the bot.lua info.
Thank you again
Pretty annoyed I did a search (windows crappy search thing) for "waiting" and "aggressive" in the micromacro folders and didn't come up with the bot.lua text even though it's supposed to. oh well..
I ended up doing the set WP to "TRAVEL" which was okay since I could tell it to engage combat with more specific commands, player:fight() seemed to work fine. I actually shoved off from the place where I was having problems so maybe I'll go back and take another shot armed with the bot.lua info.
Thank you again
Re: Pretty Sick of "waiting on aggressive enemies"
I use and recommend FileSeek for searching for text in files.grande wrote:(windows crappy search thing)
http://www.fileseek.ca/
- 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: Pretty Sick of "waiting on aggressive enemies"
I'll try that, thx!! I think you're the one that turned me onto cleanmem too
Re: Pretty Sick of "waiting on aggressive enemies"
I like notepad ++ and use the search for in files option. Love how it can also replace text in any open files all in 1 go too =)
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: 446
- Joined: Wed Aug 03, 2011 7:37 pm
Re: Pretty Sick of "waiting on aggressive enemies"
lol...I use notepad++ too...brilliant prog that one.
and an app called 'Everything' which searches all files on comp, blindingly fast
and an app called 'Everything' which searches all files on comp, blindingly fast
Re: Pretty Sick of "waiting on aggressive enemies"
As a quick workaround I triedlisa wrote:easiest "work around" would be to set in profile PARTY to true.
the party ignores the wait for agro code.Code: Select all
<!-- Party Bot options --> <option name="PARTY" value="true" />
Code: Select all
changeProfileOption("PARTY",true)
Re: Pretty Sick of "waiting on aggressive enemies"
That function can only change values that already exist. Most options have default values so should be able to be changed but it looks like Lisa forgot to add default values for the party options. Anyway, I prefer to just use.
That way I know exactly what it does and it's pretty much fool proof.
Code: Select all
settings.profile.options.PARTY = true
- 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: Pretty Sick of "waiting on aggressive enemies"
Shouldn't those options be in a different capizalization in the code than in the XML.
I would have guessed that PARTY becomes .Party.
confused
I would have guessed that PARTY becomes .Party.
confused
Re: Pretty Sick of "waiting on aggressive enemies"
Some things loaded from xmls are interpreted and converted, eg. most of the skill values in skills.xml are converted to caps. But the profile options are added as is. That's why you can even add your own variables to the options and they get added.
Example, if you want to make a choice based on a profile option, lets say which waypoint file to load next, you could add options to your profiles such asand that would get loaded so it would be available for you to use in your waypoint file, eg.
The point is, unlike lua files that what you see is what you get, xml files have to be read and interpreted. Some of the xml files the bot uses, it changes the variable names as it loads them. Hope that helps.
Example, if you want to make a choice based on a profile option, lets say which waypoint file to load next, you could add options to your profiles such as
Code: Select all
<option name="MyCHOICE" value="eastpath"/>
Code: Select all
if settings.profile.option.MyChoice == "eastpath" then
loadPaths("waypointeast")
elseif settings.profile.option.MyCHOICE == "westpath" then
loadPaths("waypointwest")
etc..
- 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: Pretty Sick of "waiting on aggressive enemies"
Ok, I put the bot into party mode using
At first it seemed to work, it aggressively attacked instead of showing the "waiting for aggro".
But after a while, the bot simply stopped after killing a mob. It would simply do nothing at all anymore.
I tried it with two different scripts and three different characters. The bot would always run for a while but simply stop doing anyting after a kill after 5-10 minutes.
Code: Select all
settings.profile.options.PARTY = true
But after a while, the bot simply stopped after killing a mob. It would simply do nothing at all anymore.
I tried it with two different scripts and three different characters. The bot would always run for a while but simply stop doing anyting after a kill after 5-10 minutes.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests