Avoid All Except Certain Players
Moderator: Moderators
-
- Noob
- Posts: 1
- Joined: 08 Jul 2010, 19:19
- Noob?: Yes
Avoid All Except Certain Players
Hi there,
I have a question that I could not find an answer to. Is it possible to make your bot avoid everyone except certain players? Basically, the map I'm on has exactly one other bot on it. Obviously they're not a threat to me. However, I'd like the bot to disconnect for an extended period of time when other players happen to come to the map and near my bot. Is it possible to create whitelist for certain players while disconnecting from all others?
Thanks.
I have a question that I could not find an answer to. Is it possible to make your bot avoid everyone except certain players? Basically, the map I'm on has exactly one other bot on it. Obviously they're not a threat to me. However, I'd like the bot to disconnect for an extended period of time when other players happen to come to the map and near my bot. Is it possible to create whitelist for certain players while disconnecting from all others?
Thanks.
-
- Plain Yogurt
- Posts: 56
- Joined: 23 Jun 2009, 00:17
- Noob?: Yes
Re: Avoid All Except Certain Players
oh my god are we getting parranoid
Re: Avoid All Except Certain Players
Code: Select all
automacro whenSomeoneIsNear {
player /^(?!EXCEPTION$)(.*)$/
call {
...
...
...
}
}
and the (?!EXCEPTION$) with the name of the character yu want to avoid.
you can add many exceptions if you like.
Just like old times.
Re: Avoid All Except Certain Players
do you mind explaining to me how to make this work?gamenikko wrote:just edit the macro,Code: Select all
automacro whenSomeoneIsNear { player /^(?!EXCEPTION$)(.*)$/ call { ... ... ... } }
and the (?!EXCEPTION$) with the name of the character yu want to avoid.
you can add many exceptions if you like.
Re: Avoid All Except Certain Players
sorry for ress this topic
but I got just one question: is there any problem if I add a lot of exceptions ? like 20 exceptions ? I mean the code will run 'slowly' ?
EDIT --
It worked BUT nor worked well
my bots have weird names to avoid ban
but it teleport to all players because it doesn't wait the name player to be loaded, it warp when it's still unknown
it's says
[macro log] Unknown #363243253
and others unknown too
but I got just one question: is there any problem if I add a lot of exceptions ? like 20 exceptions ? I mean the code will run 'slowly' ?
EDIT --
It worked BUT nor worked well
Code: Select all
automacro avoidallexcep {
player /^(?!EXCEPTION$)(?!lllIIlIloIIllIlIIIlIllI$)(?!olloIIlIllIllIIIl$)(?!llIIlIIIloIIlIIlIIIl$)(?!llIIlIlIItIIlIllIIllIIl$)(?!lll0ll0IIlIllIIl$)(?!lll9IIllIIlIIllIiIl$)(?!98sllIIlIIlIIllIIllII$)(.*)$/
call {
do tele
log $.lastPlayerName
}
timeout 1
}
but it teleport to all players because it doesn't wait the name player to be loaded, it warp when it's still unknown
it's says
[macro log] Unknown #363243253
and others unknown too
Re: Avoid All Except Certain Players
Why not?
So it wont trigger on Unknown players and when nicks are loaded will...
Code: Select all
player /^(?!EXCEPTION$)(?!lllIIlIloIIllIlIIIlIllI$)(?!olloIIlIllIllIIIl$)(?!llIIlIIIloIIlIIlIIIl$)(?!llIIlIlIItIIlIllIIllIIl$)(?!lll0ll0IIlIllIIl$)(?!lll9IIllIIlIIllIiIl$)(?!98sllIIlIIlIIllIIllII$)(?!Unknown\s\#\d*$)(.*)$/
Please use pin function for uploading your file contents!
Re: Avoid All Except Certain Players
I dont recommend writing this to macro.
Openkore can not run two macros at a time, so therefore
If you have a anti-GM Macro, and also this "Player detecting" macro, most likely its your "Player detecting" macro will have the priority of running first, then this will cause your anti-GM macro become useless and your character will most likely teleport right away when you see a GM, then you will get ban
However, if you find a way to set the anti-GM macro to run first, it is possible but everytime when your openkore run, your bot has to go through anti-GM macro first then check if there are any GMs, then run the "Player Detecting" macro, this will likely slow down your bot's efficiency and cost a little bit more on your CPU.
Openkore can not run two macros at a time, so therefore
If you have a anti-GM Macro, and also this "Player detecting" macro, most likely its your "Player detecting" macro will have the priority of running first, then this will cause your anti-GM macro become useless and your character will most likely teleport right away when you see a GM, then you will get ban
However, if you find a way to set the anti-GM macro to run first, it is possible but everytime when your openkore run, your bot has to go through anti-GM macro first then check if there are any GMs, then run the "Player Detecting" macro, this will likely slow down your bot's efficiency and cost a little bit more on your CPU.
Re: Avoid All Except Certain Players
Just so you know.
You wont get ban when a player report you with screenshot or video.
You will only get ban when an Actual GM Caught you when you're botting.
This is how i think.
Im botting, and someone reported me.
Im like, Hmmmm, So?
Doesnt mean i dont talk to that player or ignore everyone makes me a bot,
as long as I response when the GM comes, Im not botting, Im real player.
You wont get ban when a player report you with screenshot or video.
You will only get ban when an Actual GM Caught you when you're botting.
This is how i think.
Im botting, and someone reported me.
Im like, Hmmmm, So?
Doesnt mean i dont talk to that player or ignore everyone makes me a bot,
as long as I response when the GM comes, Im not botting, Im real player.
Re: Avoid All Except Certain Players
well, my bots are at a PVP map (Gold Room) there's some people who go there only to kill bots, maybe it's dangerous to not run if their name are unknown because they can be one of these peoples that kill botsMortimal wrote:Why not?So it wont trigger on Unknown players and when nicks are loaded will...Code: Select all
player /^(?!EXCEPTION$)(?!lllIIlIloIIllIlIIIlIllI$)(?!olloIIlIllIllIIIl$)(?!llIIlIIIloIIlIIlIIIl$)(?!llIIlIlIItIIlIllIIllIIl$)(?!lll0ll0IIlIllIIl$)(?!lll9IIllIIlIIllIiIl$)(?!98sllIIlIIlIIllIIllII$)(?!Unknown\s\#\d*$)(.*)$/
but thanks for ur reply