Ir para Versão Original : Erro com openkore 2.0.5
Aurion
08/05/2008, 14:07:05
Eu não estava conseguindo usar o bot no ragnabr, então baixei a última versão (2.0.5) e fiz alguns ajustes (recevpacks, etc). Agora o bot funciona normalmente.
Mas se eu instalar o plugin pra macro da erro:
http://img88.imageshack.us/img88/7167/macropl7.jpg
Tentei baixar um novo plugin aqui mas o link está quebrado:
http://forum.jogosonline.com.br/showthread.php?t=24479
As configurações no arquivo config.txt do macro estão certinhas.
Alguem pode me indicar onde baixar um plugin que funcione com a versão 2.0.5? Ou então me dizer como corrigir o erro.
Vlw
Gabriel Anbu
08/05/2008, 14:35:04
Esse erro nunk aconteceu comigo, deve ser pq ñ tem nada dentro do macros.txt ñ sei.
http://bibian.ath.cx/ pra abaixa a pasta plugins.
Lembrete: Vc deve monta sua pasta asim... pasta plugins dentro da do openkore e dentro da control um .txt com nome macros com a macro que vc que.
Aurion
08/05/2008, 16:00:45
Agora deu um erro diferente:
http://img371.imageshack.us/img371/5524/macro2wa1.jpg
As pastas do macro estão certinhas, eu já usava as macros antes, só começou a dar erro depois que mudei a versão do openkore =/
Gabriel Anbu
08/05/2008, 22:17:09
Pode ser algum erro do macro... posta ele pra eu tentar ver se é xD
Aurion
09/05/2008, 10:56:42
Eu só tinha colocado o macro do anti-police. Mas também tentei com o macros.txt em branco e aparece o mesmo erro do openkore.pl
Edit: Eu reparei que o erro acontecia quando tava carregando o arquivo mconv.pl. Eu apaguei esse arquivo e agora o kore funciona normalmente. Mas a macro do anti-police não funciona. A única macro que to usando é a do alerta quando o police aparece:
automacro chame {
status Frozen
timeout 30
call chame_me
}
macro chame_me {
log ############## ALGUEM ME TESTOU ##############################
do eval Utils::Win32::playSound('C:\WINDOWS\Media\ringin.w av')
stop
}
Uma dúvida: a macro do anti-police também tem os nomes de "chame" e "chame_me", não dá pra usar ambas simultaneamente?
alburion
25/11/2008, 14:41:45
Olá povo!
Eu tb estou com um erro durante a inicialização do Openkore (uso a versão Openkore-2.0.6.1).
Ele carrega o "macro.pl" e o mconv.pl" mas em seguida não carrega o "openkore.pl". Ele acusa um erro de sintaxe no arquivo. Posto aqui o conteúdo integral do meu "openkore.pl":
#!/usr/bin/env perl
################################################## #######################
# This software is open source, licensed under the GNU General Public
# License, version 2.
# Basically, this means that you're allowed to modify and distribute
# this software. However, if you distribute modified versions, you MUST
# also distribute the source code.
# See http://www.gnu.org/licenses/gpl.html for the full license.
#
################################################## #######################
package main;
use strict;
use FindBin qw($RealBin);
use lib "$RealBin";
use lib "$RealBin/src";
use lib "$RealBin/src/deps";
use Time::HiRes qw(time usleep);
use Carp::Assert;
sub __start {
use ErrorHandler;
use XSTools;
srand();
##### BASIC INITIALIZATION #####
use Translation;
use Settings qw(%sys);
use Utils::Exceptions;
eval "use OpenKoreMod;";
undef $@;
parseArguments();
Settings::loadSysConfig();
Translation::initDefault(undef, $sys{locale});
use Globals;
use Interface;
$interface = Interface->loadInterface($Settings::interface);
selfCheck();
##### LOAD OPENKORE MODULES #####
use Utils::PathFinding;
require Utils::Win32 if ($^O eq 'MSWin32');
require 'functions.pl';
use Modules;
use Log;
use Utils;
use Plugins;
use FileParsers;
use Network::Receive;
use Network::Send ();
use Commands;
use Misc;
use AI;
use AI::CoreLogic;
use AI::Attack;
use Actor;
use Actor::Player;
use Actor::Monster;
use Actor::You;
use Actor::Party;
use Actor::Portal;
use Actor::NPC;
use Actor::Pet;
use Actor::Unknown;
use ActorList;
use Interface;
use ChatQueue;
use TaskManager;
use Task;
use Task::WithSubtask;
use Task::TalkNPC;
use Utils::Benchmark;
use Utils::HttpReader;
use Utils::Whirlpool;
use Poseidon::Client;
Modules::register(qw/Utils FileParsers
Network::Receive Network::Send Misc AI AI::CoreLogic
AI::Attack AI::Homunculus
ChatQueue Actor Actor::Player Actor::Monster Actor::You
Actor::Party Actor::Unknown Actor::Item Match Utils::Benchmark/);
##### MAIN LOOP #####
# Note: Further initialization is done in the mainLoop() function in functions.pl.
Benchmark::begin("Real time") if DEBUG;
$interface->mainLoop();
Benchmark::end("Real time") if DEBUG;
main::shutdown();
}
# Parse command-line arguments.
sub parseArguments {
eval {
if (!Settings::parseArguments()) {
print Settings::getUsageText();
exit 1;
}
};
if (my $e = caught('IOException', 'ArgumentException')) {
print "Error: $e\n";
if ($e->isa('ArgumentException')) {
print Settings::getUsageText();
}
exit 1;
} elsif ($@) {
die $@;
}
}
# Perform some self-checks to ensure everything is OK.
# Precondition: $interface is initialized.
sub selfCheck {
use Globals qw($interface);
if ($^O eq 'MSWin32' && !defined(getprotobyname("tcp"))) {
$interface->errorDialog(TF(
"Your Windows TCP/IP stack is broken. Please read\n" .
" %s\n" .
"to learn how to solve this.",
"http://www.visualkore-bot.com/faq.php#tcp"));
exit 1;
}
# If Misc.pm is in the same folder as openkore.pl, then the
# user is still using the old (pre-CVS cleanup) source tree.
# So bail out to prevent weird errors.
if (-f "$RealBin/Misc.pm") {
$interface->errorDialog(T("You have old files in the OpenKore folder, which may cause conflicts.\n" .
"Please delete your entire OpenKore source folder, and redownload everything."));
exit 1;
}
if (!defined &XSTools::majorVersion) {
$interface->errorDialog(TF("Your version of the XSTools library is too old.\n" .
"Please read %s", "http://www.openkore.com/aliases/xstools.php"));
exit 1;
} elsif (XSTools::majorVersion() != 4) {
my $error;
if (defined $ENV{INTERPRETER}) {
$error = TF("Your version of (wx)start.exe is incompatible.\n" .
"Please upgrade it by reading %s", "http://www.openkore.com/aliases/xstools.php");
} else {
$error = TF("Your version of XSTools library is incompatible.\n" .
"Please upgrade it by reading %s", "http://www.openkore.com/aliases/xstools.php");
}
$interface->errorDialog($error);
exit 1;
} elsif (XSTools::minorVersion() < 8) {
my $error;
if (defined $ENV{INTERPRETER}) {
$error = TF("Your version of (wx)start.exe is too old.\n" .
"Please upgrade it by reading %s", "http://www.openkore.com/aliases/xstools.php")
} else {
$error = TF("Your version of the XSTools library is too old.\n" .
"Please upgrade it by reading %s", "http://www.openkore.com/aliases/xstools.php")
}
$interface->errorDialog($error);
exit 1;
}
}
sub shutdown {
Plugins::unloadAll();
# Translation Comment: Kore's exit message
Log::message(T("Bye!\n"));
Log::message($Settings::versionText);
if (DEBUG && open(F, ">:utf8", "benchmark-results.txt")) {
print F Benchmark::results("mainLoop");
close F;
print "Benchmark results saved to benchmark-results.txt\n";
}
}
if (!defined($ENV{INTERPRETER}) && !$ENV{NO_AUTOSTART}) {
__start();
}
1;
Caso alguém ai consiga uma resposta pra gente, poxa, valeu mesmo.
Valeu ai!!!
Guilhotina
25/11/2008, 19:02:20
Antes de nada, nunca de ress em um tópico.
Só não enetedi, você tá com problema ou você tá respondedno? se tiver com problema poste uma SS
alburion
26/11/2008, 10:02:49
Putz Wensi... foi mal ai! :frown2:
Esclarecendo o meu post: eu estou com um problema!!!
Já baixei várias versões dos benditos MACROS e nada... estou procurando um post ou link com a pasta de plugins que funcione corretamente, mais ainda estou no procurando.
E Wensi... mais uma vez, me desculpe!
Guilhotina
26/11/2008, 11:06:55
[Guia] Como instalar Macro SVN (http://forum.jogosonline.com.br/showthread.php?t=25374)
vBulletin v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.