What I have done:
1. Installed OpenKore from SVN
2. Installed Macros using SVN and WIKI guide
3. added proper Sys.txt and Config.txt lines
4. looked through multiple threads for any information regarding any changes not mentioned in the setup wiki.
5. I have redownloaded from SVN the entire plugins folder and updated the SVN main directory.
6. I have also tried what was recommended by a thread and delete trunk in the plugin download and pulled the [pluginname].pl to the main folder like:
Code: Select all
|-- plugins
| |-- macro
| | |-- pluginmacroname
| | | |-- pluginmacroname.pl
What is my problem:
while using OpenKore with WXstart.exe the bot loads(a slave bot but i think that is irrelevant),and i never see any macros loaded on startup, and when i use "macro list" or any thing for the commands it doesnt work. So i have my bot working properly, but i cannot get the macros to actually load...... or work.
My folders are setup as per the wiki:
Code: Select all
openkore
|-- openkore.pl
|-- control
| |-- macros.txt
|-- fields
|-- logs
|-- plugins
| |-- macro
| | |-- Macro
| | | |-- Automacro.pm
| | | |-- Data.pm
| | | |-- Parser.pm
| | | |-- Script.pm
| | | |-- Utilities.pm
| | |-- macro.pl
|-- src
|-- tables
Code: Select all
############### MACROS ###############
macro_file macros.txt
#Use this when you need to answer a number
reactOnNPC ASCIInumberKiller num {
type number
msg_0 /.*/
msg_1 /.*/
msg_2 /.*/
msg_3 /.*/
}
alertSound 1
alertSound {
eventList public gm chat, public chat, map change, GM near, death, private chat, monster Drops, moster Picky
notInTown 1
inLockOnly 1
play C:\Ro OpenKore\OpenKore Sounds\RTWarning.wav
}
This was added to my sys.txt:
Code: Select all
####
loadPlugins 2
###### Vx interface settings ######
panelTwo_domains publicchat, pm, guildchat, partychat, pm/sent, list, info, selfchat, schat, error, warning
panelOne_lineLimit 900
panelTwo_lineLimit 100
panelFont Verdana
menuFont Lucida Console
sbarFont Arial
panelOne_height 8
panelOne_width 60
panelOne_side top
panelOne_fontsize 8
panelTwo_height 4
panelTwo_width 40
panelTwo_side bottom
panelTwo_fontsize 8
####
wxHideConsole 1
####
loadPlugins_list macro, alertsound, responseOnNPCImage, responseOnASCIInumber, reactOnNPC, reactOnMiniMap
This is in my macros.txt:
Code: Select all
automacro XYY{
console /.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+.?(tên|elêvên|twêlve|thïrtêên|föûrtêên|fïftêên|sïxtêên|sêvêntêên|eïghtêên|nïnêtêên|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen).?\s*$/i
call XYY
}
macro XYY{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$pt = @eval({"ten" => 10,"eleven" => 11,"twelve" => 12,"thirteen" => 13,"fourteen" => 14,"fifteen" => 15,"sixteen" => 16,"seventeen" => 17,"eighteen" => 18,"nineteen" => 19,"tên" => 10,"elêvên" => 11,"twêlve" => 12,"thïrtêên" => 13,"föûrtêên" => 14,"fïftêên" => 15,"sïxtêên" => 16,"sêvêntêên" => 17,"eïghtêên" => 18,"nïnêtêên" => 19}->{"$.lastMatch2"})
$res = @eval($h + $pt)
log $res
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro XXX{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call XXX
}
macro XXX{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch2"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch3"})
$res = @eval($h + $t + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro X0X{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call X0X
}
macro X0X{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch2"})
$res = @eval($h + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro XX0{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s*$/i
call XX0
}
macro XX0{
[
$h = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch2"})
$res = @eval($h + $t)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro X00{
console /^^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s+Hundred()?\s*$/i
call X00
}
macro X00{
[
$res = @eval({"one" => 100,"two" => 200,"thrêe" => 300,"föûr" => 400,"fïve" => 500,"sïx" => 600,"sêvên" => 700,"eïght" => 800,"nïne" => 900,"three" => 300,"four" => 400,"five" => 500,"six" => 600,"seven" => 700,"eight" => 800,"nine" => 900}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
do talk num $res
}
automacro XX{
console /^.*:\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call XX
}
macro XX{
[
$t = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch1"})
$o = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch2"})
$res = @eval($t + $o)
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro YY{
console /^.*:\s+.?(tên|elêvên|twêlve|thïrtêên|föûrtêên|fïftêên|sïxtêên|sêvêntêên|eïghtêên|nïnêtêên|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen).?\s*$/i
call YY
}
macro YY{
[
$res = @eval({"ten" => 10,"eleven" => 11,"twelve" => 12,"thirteen" => 13,"fourteen" => 14,"fifteen" => 15,"sixteen" => 16,"seventeen" => 17,"eighteen" => 18,"nineteen" => 19,"tên" => 10,"elêvên" => 11,"twêlve" => 12,"thïrtêên" => 13,"föûrtêên" => 14,"fïftêên" => 15,"sïxtêên" => 16,"sêvêntêên" => 17,"eïghtêên" => 18,"nïnêtêên" => 19}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro X0{
console /^.*:\s+.?(twênty|thïrty|förty|fïfty|sïxty|sêvêntÿ|eightÿ|ninêtÿ|twenty|thirty|forty|fifty|sixty|seventy|eighty|ninety).?\s*$/i
call X0
}
macro X0{
[
$res = @eval({"twenty" => 20,"thirty" => 30,"forty" => 40,"fifty" => 50,"sixty" => 60,"seventy" => 70,"eighty" => 80,"ninety" => 90,"twênty" => 20,"thïrty" => 30,"förty" => 40,"fïfty" => 50,"sïxty" => 60,"sêvêntÿ" => 70,"eightÿ" => 80,"ninêtÿ" => 90}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro X{
console /^.*:\s+.?(one|two|thrêe|föûr|fïve|sïx|sêvên|eïght|nïne|one|two|three|four|five|six|seven|eight|nine).?\s*$/i
call X
}
macro X{
[
$res = @eval({"one" => 1,"two" => 2,"thrêe" => 3,"föûr" => 4,"fïve" => 5,"sïx" => 6,"sêvên" => 7,"eïght" => 8,"nïne" => 9,"three" => 3,"four" => 4,"five" => 5,"six" => 6,"seven" => 7,"eight" => 8,"nine" => 9}->{"$.lastMatch1"})
]
log -o--o--o--o--o- $res -o--o--o--o--o-
pause 5
do talk num $res
}
automacro antiBotMonTalk {
console /^\[Guild\] .*: .*\s(\d+)\s.*$/
overrideAI 1
priority 1
call aBMT
}
macro aBMT {
pause 5
do talk num $.lastMatch1
release all
}