Error with Mercenary l 2.0.7

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

wordy5
Noob
Noob
Posts: 5
Joined: 09 Dec 2009, 01:23
Noob?: No

Error with Mercenary l 2.0.7

#1 Post by wordy5 »

When i run my bot with a mercenary out, I get a error and my openkore shuts down.

Can't locate object method "sendHomunculusStandBy" via package "Network::Send::kRO::RagexeRE_2009_01_21a" at src/AI/Slave.pm line 1298.

Stack trace:
Can't locate object method "sendHomunculusStandBy" via package "Network::Send::kRO::RagexeRE_2009_01_21a" at src/AI/Slave.pm line 1298.
at src/AI/Slave.pm line 1298
AI::Slave::sendStandBy('AI::Slave=HASH(0x55c117c)') called at src/AI/Slave.pm line 216
AI::Slave::iterate('AI::Slave=HASH(0x55c117c)') called at src/AI/SlaveManager.pm line 54
AI::SlaveManager::iterate() called at src/functions.pl line 606
main::mainLoop_initialized() called at src/functions.pl line 70
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x3fed954)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:
my ($slave) = @_;
* $messageSender->sendHomunculusStandBy ($slave->{ID});
}
I've downloaded the latest SVN and looked through the configs several times. Can anyone pinpoint the source of this error?

- More Information -
Upon changing server type to 8_5, I noticed that openkore is able to identify the bot and run without closing. However, when it runs on that particular server type, ( 8_5 ), openkore is unable to move in-game and just stays idle. Thus, the problem is not solved. I am currently using RagexeRE_2009_01_21a to play, and it runs without a hitch apart from the mercenary portion.
Last edited by wordy5 on 11 Dec 2009, 02:59, edited 1 time in total.
wordy5
Noob
Noob
Posts: 5
Joined: 09 Dec 2009, 01:23
Noob?: No

Re: Error with Mercenary l 2.0.7

#2 Post by wordy5 »

If I were to run xkore, would the mercenary move according to the RO AI or openkore's AI?



Sorry for double posting, but I thought I'd bump since I was asking a new question @__@ (
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Error with Mercenary l 2.0.7

#3 Post by Technology »

Both will affect the merc, you should get the empty client AI files.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
wordy5
Noob
Noob
Posts: 5
Joined: 09 Dec 2009, 01:23
Noob?: No

Re: Error with Mercenary l 2.0.7

#4 Post by wordy5 »

Alright, and thanks for the reply.
By the way, from the observation stated earlier
Upon changing server type to 8_5, I noticed that openkore is able to identify the bot and run without closing. However, when it runs on that particular server type, ( 8_5 ), openkore is unable to move in-game and just stays idle. Thus, the problem is not solved. I am currently using RagexeRE_2009_01_21a to play, and it runs without a hitch apart from the mercenary portion.
Is it logical to conclude openkore doesn't support mercenaries on server type RagexeRE_2009_01_21a ?

And also, why is it that the bot doesn't move on server type 8_5?
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Error with Mercenary l 2.0.7

#5 Post by Technology »

wordy5 wrote:Is it logical to conclude openkore doesn't support mercenaries on server type RagexeRE_2009_01_21a ?
not really, since kRO::Sakexe_2005_04_11a has:

Code: Select all

# 0x0234,6,hommovetomaster,0
sub sendHomunculusStandBy {
	my $self = shift;
	my $homunID = shift;
	my $msg = pack('v a4', 0x0234, $homunID);
	$self->sendToServer($msg);
	debug "Sent Homunculus standby\n", "sendPacket", 2;
}
and more recent kRO ST's inherit from that one, so it should be supported.
Maybe i made a mistake and short circuited the inheritance chain somewhere. (you know, i built the whole kRO tree in 1 day, that was some crazy shit :P )
wordy5 wrote:And also, why is it that the bot doesn't move on server type 8_5?
The 8_x series are outdated.


EDIT: found the mistake in the inheritance chain, will be fixed soon
EDIT: fixed, test kRO ST's please.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
wordy5
Noob
Noob
Posts: 5
Joined: 09 Dec 2009, 01:23
Noob?: No

Re: Error with Mercenary l 2.0.7

#6 Post by wordy5 »

The error is gone and I don't d/c upon starting up with a mercenary anymore. However, my mercenary is not detected on openkore, and is only detectable via xkore. May I have some advice pertaining to this?

Upon typing 'ml', I see that my mercenary is identified as Unknown #239411008 Unknown. I've got no clue as to whether it's follow kore's merc config while in openkore, because it's coordinates are 0,489, and its distance is 281, thus there's a possibility of an error making the bot stay put while screwing up its coordinates, or perhaps the bot is following but kore's just screwing up its coordinates.
(Side info : I've already extracted the recvpackets from the server's client )

Thank you very much for your swift and helpful response, much appreciated!
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: Error with Mercenary l 2.0.7

#7 Post by Technology »

It seems like there is something wrong with some of the actor packet parsing on kore's side.

We will need more information in order to fix this:
- server
- packet captures
- ...
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
wordy5
Noob
Noob
Posts: 5
Joined: 09 Dec 2009, 01:23
Noob?: No

Re: Error with Mercenary l 2.0.7

#8 Post by wordy5 »

The recvpacket has been uploaded.
I'm not sure what server info you're asking for, but I hope this helps.

ShovahRO, latest SVN ( 14197 ) <-- Assumption =/



master_version 2
version 20
serverType kRO_RagexeRE_2009_01_21a
You do not have the required permissions to view the files attached to this post.
User avatar
kLabMouse
Administrator
Administrator
Posts: 1301
Joined: 24 Apr 2008, 12:02

Re: Error with Mercenary l 2.0.7

#9 Post by kLabMouse »

Fixed in r6973
Closed.