Unable to detect macro

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

forgotpzwrd
Noob
Noob
Posts: 16
Joined: 07 May 2014, 12:57
Noob?: Yes

Re: Unable to detect macro

#11 Post by forgotpzwrd »

ok, I might actually get my macro up and running if someone could just nitpick this for me and answer my question. This is from the site.
Go to your OpenKore main folder (the folder which contains the file openkore.pl) and create a subfolder called plugins, if there isn't already one. Create a subfolder macro in it.

Inside the Macro plugin's zipfile, you will find the file macro.pl, the folder Macro and other files and folders. Extract them to your plugins/macro folder, so macro.pl ends up in plugins/macro/macro.pl.
it says here to "extract". But there is nothing to extract. i download the plugins through SVN checkout. when i did it just showed me the macro folder, and macro.pl which i have to mention is blank.

Question:
1. is the macro.pl suppose to be blank? because i can't open it.
2. should i have really done extracting?
User avatar
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

Re: Unable to detect macro

#12 Post by SkylorD »

Macro Plugin 8868
Link for Download

Now you can extract.
1. is the macro.pl suppose to be blank? because i can't open it.
2. should i have really done extracting?
1 - No.
2 - Yes, because you installed by tortoise.

plugins/macro/macro.pl
plugins/macro/Macro -> here must have 6 files, counting with Wx folder. You can delete the test folder.
Learn rules
forgotpzwrd
Noob
Noob
Posts: 16
Joined: 07 May 2014, 12:57
Noob?: Yes

Re: Unable to detect macro

#13 Post by forgotpzwrd »

uh just received an error.. i cant even attached the picture..

it says:
This program has encountered an unexpected problem. This is probably because of a recent server update, a bug in this program or in one of the plugins.
back to zero.
forgotpzwrd
Noob
Noob
Posts: 16
Joined: 07 May 2014, 12:57
Noob?: Yes

Re: Unable to detect macro

#14 Post by forgotpzwrd »

here, i found this complete error message:

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

Error message:
Cannot load control file macros.txt

Stack trace:
Trace begun at C:\Users\may\Desktop\OK\src\Settings.pm line 443
Settings::loadByHandle(55) called at C:\Users\may\Desktop\OK\plugins\macro\macro.pl line 60
macro::onstart3('start3', undef, undef) called at src\Plugins.pm line 434
Plugins::callHook('start3') called at src\functions.pl line 290
main::loadDataFiles at src\functions.pl line 82
main::mainLoop at src\Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x29966ec)') called at openkore.pl line 97
main::__start at start.pl line 136

Died at this line:
$filename = $object->{name} || $object->{internalName} if (!defined $filename);
* if ($object->{type} == CONTROL_FILE_TYPE) {
FileNotFoundException->throw(
User avatar
SkylorD
Moderators
Moderators
Posts: 1202
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil

Re: Unable to detect macro

#15 Post by SkylorD »

forgotpzwrd wrote:here, i found this complete error message:

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

Error message:
Cannot load control file macros.txt

Stack trace:
Trace begun at C:\Users\may\Desktop\OK\src\Settings.pm line 443
Settings::loadByHandle(55) called at C:\Users\may\Desktop\OK\plugins\macro\macro.pl line 60
macro::onstart3('start3', undef, undef) called at src\Plugins.pm line 434
Plugins::callHook('start3') called at src\functions.pl line 290
main::loadDataFiles at src\functions.pl line 82
main::mainLoop at src\Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x29966ec)') called at openkore.pl line 97
main::__start at start.pl line 136

Died at this line:
$filename = $object->{name} || $object->{internalName} if (!defined $filename);
* if ($object->{type} == CONTROL_FILE_TYPE) {
FileNotFoundException->throw(
Cannot load control file macros.txt .

forgotpzwrd wrote:uh just received an error.. i cant even attached the picture..

it says:
This program has encountered an unexpected problem. This is probably because of a recent server update, a bug in this program or in one of the plugins.
back to zero.
Still ?
Learn rules
forgotpzwrd
Noob
Noob
Posts: 16
Joined: 07 May 2014, 12:57
Noob?: Yes

Re: Unable to detect macro

#16 Post by forgotpzwrd »

Still.

I have removed the macros.txt. put a new one. saved in UTF 8 format (yes i searched). still nada. im close but im missing a bit of information, i can feel it. My bot is in separate folder, which means it has its own start.exe, so i use that to check if the macros is installed. but i kept getting this error message.

What should i look for?
forgotpzwrd
Noob
Noob
Posts: 16
Joined: 07 May 2014, 12:57
Noob?: Yes

Re: Unable to detect macro

#17 Post by forgotpzwrd »

i have finally made it to work! this guy helped a ton. thanks a lot to you too. i hope people can see this.

http://forums.openkore.com/viewtopic.php?f=32&t=15312

my case is closed.