Osro Anti police bot
Moderator: Moderators
Osro Anti police bot
Sir please help me to make an auto response for this thanks oldschool-ro.net
Re: Osro Anti police bot
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
}
}
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
}
}
Re: Osro Anti police bot
so where will i place this in macros.txt or make an .pl?
Re: Osro Anti police bot
@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.
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.
Re: Osro Anti police bot
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
Yeah i have macro folder in my plugins
Re: Osro Anti police bot
@khaigh im really having a hard time lol what combination will i make a .pl file?
Re: Osro Anti police bot
@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
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
Re: Osro Anti police bot
you dont have to make a .p file. put your combinations in the macros.txt and follow the pattern that i gave.vaughndat wrote:@khaigh im really having a hard time lol what combination will i make a .pl file?
learn and study this http://wiki.openkore.com/index.php/Macro_plugin
Re: Osro Anti police bot
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
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
Re: Osro Anti police bot
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