Osro Anti police bot

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

Message
Author
vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Osro Anti police bot

#1 Post by vaughndat »

Sir please help me to make an auto response for this thanks oldschool-ro.net
Image
Image

khaigh21
Noob
Noob
Posts: 16
Joined: 25 Feb 2010, 22:01
Noob?: Yes

Re: Osro Anti police bot

#2 Post by khaigh21 »

Here is the sample macro for OsRO anti bot. Learn to study it.

automacro bot09 {
console /^.+\s.\d+:\s+.?(one|önê|onê|öne|two|twö|thrêe|three|thrêê|threê|föûr|four|föur|foûr|fïve|five|fïvê|fivê|f.ve|sïx|six|s.x|sêvên|seven|sêven|sevên|eïght|eight|êight|êïght|e.ght|nïne|nine|nïnê|ninê|n.ne)+.?$/i
exclusive 1
overrideAI 1
priority 1
call {

$first = $.lastMatch1

if ($first =~ /one|önê|onê|öne/) goto one
if ($first =~ /two|twö/) goto two
if ($first =~ /thrêe|three|thrêê|threê/) goto three
if ($first =~ /föûr|four|föur|foûr/) goto four
if ($first =~ /fïve|five|fïvê|fivê|f?ve/) goto five
if ($first =~ /sïx|six|s?x/) goto six
if ($first =~ /sêvên|seven|sêven|sevên/) goto seven
if ($first =~ /eïght|eight|êight|êïght|e?ght/) goto eight
if ($first =~ /nïne|nine|nïnê|ninê|n?ne/) goto nine

:one
$num = 1
goto result
:two
$num = 2
goto result
:three
$num = 3
goto result
:four
$num = 4
goto result
:five
$num = 5
goto result
:six
$num = 6
goto result
:seven
$num = 7
goto result
:eight
$num = 8
goto result
:nine
$num = 9
goto result

:result
$result = $num
do talk $result
do talk num $result
release all
}
}

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#3 Post by vaughndat »

so where will i place this in macros.txt or make an .pl?

khaigh21
Noob
Noob
Posts: 16
Joined: 25 Feb 2010, 22:01
Noob?: Yes

Re: Osro Anti police bot

#4 Post by khaigh21 »

@vaug you have to make sure that you have a macro folder in the plugins.
Yeah insert the antibot macro in the macros.txt then put the macros.txt in the config folder.

BTW the macro that i posted is just one of the combinations for the anti bot. I've posted it for your basis.

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#5 Post by vaughndat »

oh i see that's why i keep getting an error when i put it in macros.txt
Yeah i have macro folder in my plugins

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#6 Post by vaughndat »

@khaigh im really having a hard time lol what combination will i make a .pl file?

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#7 Post by vaughndat »

@khaigh i get this error when i put it into macros.txt

Error message:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 55.

Stack trace:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 55.
at src/Interface/Wx.pm line 161
Interface::Wx::mainLoop('Interface::Wx=HASH(0x53597fc)') called at openkore.pl line 97
main::__start() called at start.pl line 136

khaigh21
Noob
Noob
Posts: 16
Joined: 25 Feb 2010, 22:01
Noob?: Yes

Re: Osro Anti police bot

#8 Post by khaigh21 »

vaughndat wrote:@khaigh im really having a hard time lol what combination will i make a .pl file?
you dont have to make a .p file. put your combinations in the macros.txt and follow the pattern that i gave.
learn and study this http://wiki.openkore.com/index.php/Macro_plugin

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#9 Post by vaughndat »

oh ok

now this kind of error i get after putting it on macros.txt

OpenKore version what-will-become-2.1
SVN revision: 8496
Loaded plugins:
plugins/macro.pl (macro; description: allows usage of macros)

Error message:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 54.

Stack trace:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 54.
at src/Interface/Wx.pm line 161
Interface::Wx::mainLoop('Interface::Wx=HASH(0x547dfdc)') called at openkore.pl line 97
main::__start() called at start.pl line 136

vaughndat
Noob
Noob
Posts: 17
Joined: 25 Mar 2013, 20:46
Noob?: Yes

Re: Osro Anti police bot

#10 Post by vaughndat »

BTW sir khaigh can you give me a link for macro i could not download it anymore in openkore i search the google maybe i get a old one so it gets an error

Post Reply