[help]Is there a plugin to count the monsters nearby?
Moderator: Moderators
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
[help]Is there a plugin to count the monsters nearby?
when your character snatch or fly into a random place ,u maybe want to know how many active-attack monsters near your character to decide whether to attack or to snatch of fly again for avoiding death from too many monsters.
Perhaps we can use the count in attackSkillSlot to improve the efficiency.
THX
Perhaps we can use the count in attackSkillSlot to improve the efficiency.
THX
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
What do you exactly mean by "active-attack monsters"?
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
[HELP]HOW CAN I GET THE QUANTITY OF THE MONSTERS NEARBY ?
WHEN UR CHARACTER FLY INTO A NEW RANDOM POINT OF THE LOCKMAP ,THERE IS A NEED TO LOOK AROUND TO SEE IF THERE IS ENOUGH MONSTERS LEFT FOR UR CHARACTER TO DECIDE WHETHER TO USE AOE. SKILL TO KILL THE MONSTERS NEARBY OR FLY AGAIN TO SEARCH MORE MONSTERS TO KILL.
AND THEN , WE CAN SEE IF WE CAN GOT THE QUANTITY OF THE MONSTERS NEAR BY, SO THAT WE CAN IMPROVE THE EFFICIENCY OF THE BOTS BY BOTS JUDGING THE FIGURE OF QUANTITY.
SO MY QUESTION IS ,IS THERE ANY MACROS OF PLUGINS FOR ME TO GET THE QUANTITY OF THE MONSTERS NEARBY.
THX FOR SHARING UR WORK AND OPINION.
AND THEN , WE CAN SEE IF WE CAN GOT THE QUANTITY OF THE MONSTERS NEAR BY, SO THAT WE CAN IMPROVE THE EFFICIENCY OF THE BOTS BY BOTS JUDGING THE FIGURE OF QUANTITY.
SO MY QUESTION IS ,IS THERE ANY MACROS OF PLUGINS FOR ME TO GET THE QUANTITY OF THE MONSTERS NEARBY.
THX FOR SHARING UR WORK AND OPINION.
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
those monsters like Familiar,Scorpion,Orc Warrior ...EternalHarvest wrote:What do you exactly mean by "active-attack monsters"?
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
teleportAuto_searchIF THERE IS ENOUGH MONSTERS
Easy to do manually, either by using $monstersList or $ai_v{temp}{searchMonsters} (current amount of search monsters); or by configuring monsters as always aggressive via mon_control and using options for teleporting from aggressives.snatch of fly again for avoiding death from too many monsters
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
sorry ,i can't understand clearly.could u explain this more?Easy to do manually, either by using $monstersList or $ai_v{temp}{searchMonsters} (current amount of search monsters);
using aggressives may lead to a situation that if i make aggressives > 1 and then stop snatching ,my character roger continue snatching endlessly .or by configuring monsters as always aggressive via mon_control and using options for teleporting from aggressives.
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
Openkore's internal variables, can be used in your macros (via @eval) and plugins.could u explain this more?
I can't really understand what kind of situation you're describing here.using aggressives may lead to a situation that if i make aggressives > 1 and then stop snatching ,my character roger continue snatching endlessly .
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
fine ,forget it.I can't really understand what kind of situation you're describing here.
could u give me a example about using $monstersList or $ai_v{temp}{searchMonsters} ? THX
maybe transform the one below:
automacro ag0 {
exclusive 1
aggressives < 2 #change this one
run-once 1
location dic_dun02
call {
do conf attackAuto 0
release ag1
}
}
automacro ag1 {
exclusive 1
aggressives >= 2 #change this one
run-once 1
location dic_dun02
call {
do conf attackAuto 1
release ag0
}
}
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
Maybe rephrase or elaborate it?peeinginthepants wrote:fine ,forget it.I can't really understand what kind of situation you're describing here.
I still don't quite understand what exactly you need here. Doesn't teleportAuto_search do the same, initiating the attack only when there is enough monsters?automacro ag0
automacro ag1
If you want to teleport from too many search monsters, use something like this in automacro conditions for macro with teleport:
Code: Select all
eval $ai_v{temp}{searchMonsters} >= 5
-
- Noob
- Posts: 7
- Joined: 12 May 2012, 22:50
- Noob?: Yes
Re: [help]Is there a plugin to count the monsters nearby?
here,assuming that my character can't teleport, his job is rogue, so he can snatch a monster instead of teleport to search monsters.I still don't quite understand what exactly you need here. Doesn't teleportAuto_search do the same, initiating the attack only when there is enough monsters?
If you want to teleport from too many search monsters, use something like this in automacro conditions for macro with teleport: