macro: Malformed UTF-8 character

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderators: Moderators, Developers

merchantako
Noob
Noob
Posts: 3
Joined: 11 May 2011, 13:48
Noob?: No

macro: Malformed UTF-8 character

#1 Post by merchantako »

Code: Select all

OpenKore version what-will-become-2.1
SVN revision: 7715
Loaded plugins:
  plugins/macro.pl (macro)

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

Stack trace:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 42, <FILE> line 70.
 at plugins/Macro/Parser.pm line 42
	Macro::Parser::parseMacroFile('control\macros.txt', 0) called at E:/ObbTest_1/plugins/macro.pl line 104
	macro::parseAndHook('control\macros.txt', 'HASH(0x287a604)') called at E:/ObbTest_1/src/Settings.pm line 454
	Settings::loadByHandle(54) called at E:/ObbTest_1/plugins/macro.pl line 60
	macro::onstart3('start3', undef, undef) called at src/Plugins.pm line 431
	Plugins::callHook('start3') called at src/functions.pl line 287
	main::loadDataFiles() called at src/functions.pl line 80
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x12185cc)') called at openkore.pl line 97
	main::__start() called at start.pl line 136


Ive just inserted on the macros.txt this

Code: Select all

automacro OBB {
location comodo 73 194
inventory “Cyfar” > 49
inventory “Clam Shell” > 14
inventory “Crab Shell” > 9
inventory “Brigan” > 9
run-once 1
call OBB-1
}

macro OBB-1 {
do talk @npc (68 195)
}

automacro OBB1-1 {
location comodo 73 194
console /Responses/
run-once 1
call OBB-1-1
}

macro OBB-1-1 {
do talk resp 0
release OBB1-1
}

automacro OBB2-0 {
console /with that nugget of wisdom./
run-once 1
call OBB-2-1
}

automacro OBB2-1 {
console /You feel there may be something you missed./
run-once 1
call OBB-2-1
}

automacro OBB2-2 {
console /Come back later./
run-once 1
call OBB-2-1
}

automacro OBB2-3 {
console /Do me this favor, young man./
run-once 1
call OBB-2-1
}

automacro OBB2-4 {
console /much trouble for my own good./
run-once 1
call OBB-2-1
}

automacro OBB2-5 {
console /Calculating lockMap route to:/
run-once 1
call OBB-2-1
}

automacro OBB2-6 {
timeout 60
call OBB-2-1
}

macro OBB-2-1 {
release all
}

automacro quit {
storage “cyfar” < 1000
call quit-1
}

automacro quit1 {
storage "Brigan" < 200
call quit-1
}

automacro quit2 {
storage "Clam Shell" < 300
call quit-1
}

automacro quit3 {
storage "Crab Shell" < 200
call quit-1
}

macro quit-1 {
do quit
}