Need help connecting through XKore 2 to Valkyrie | 2.0.7

International

Moderator: Moderators

Message
Author
Feynt
Noob
Noob
Posts: 3
Joined: 22 Feb 2010, 18:11
Noob?: Yes

Need help connecting through XKore 2 to Valkyrie | 2.0.7

#1 Post by Feynt »

I rather like the idea of connecting through the bot program at my leasure with the Valkyrie client. XKore 1 works just fine, but requires the valk client be open the entire time the bot is online, which I don't always want. I'd just like to log into the bot now and then to either take control or to check on it and make sure it's not blowing a gasket and selling all the precious loot.

Thus far I've followed the XKore 2 tutorial I had to find through the Internet Archive, and I can connect to the bot somewhat, but when I do it crashes. The steps go:
  1. Start up client
  2. Log in
  3. Pick Valkyrie server
  4. Pick Character (which is kind of confusing to me at this point)
and then it crashes with the following error.txt

Code: Select all

OpenKore version 2.0.7 (Release Candidate) 
@ai_seq = attack route
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6803
Loaded plugins:
  plugins/macro.pl (macro)

Error message:
'x' outside of string in unpack at src/Base/Ragnarok/MapServer.pm line 83.

Stack trace:
'x' outside of string in unpack at src/Base/Ragnarok/MapServer.pm line 83.
 at src/Interface/Wx.pm line 113
	Interface::Wx::mainLoop('Interface::Wx=HASH(0x44ced88)') called at openkore.pl line 96
	main::__start() called at start.pl line 125

Died at this line:
  	} else { #oRO and pRO and idRO
* 		my ($accountID, $charID, $sessionID, $gender) = unpack('x2 a4 x5 a4 x2 V x4 C', $message);
  		$self->handleLogin($client, $accountID, $charID, $sessionID, $gender);
config.txt snippet

Code: Select all

# For an overview of all servertypes please go to the following URL:
# http://www.openkore.com/wiki/index.php/ServerType#English
serverType 22

# 1 = hook into RO client, 2 = Act as stand-alone proxy, proxy = act as true proxy
XKore 2
XKore_silent 1
XKore_bypassBotDetection 0
XKore_exeName ragfree.exe
XKore_ID Valkyrie


# XKore 2 / Proxy configuration
XKore_listenIp 127.0.0.1
XKore_listenPort 6901
XKore_publicIp 127.0.0.1

# It is not advised to set secureAdminPassword if you're using Xkore 2
secureAdminPassword 1
adminPassword --------
callSign
commandPrefix ;

pauseCharServer 0
pauseMapServer 0
ignoreInvalidLogin 0
secureLogin_requestCode

message_length_max 80
Now, the bot will chug along on its own without me connecting just fine. But as soon as I pick a character in the RO client, boom. Anyone have any ideas?

And no, XKore 1 isn't a solution. >P

Scarya
Moderators
Moderators
Posts: 136
Joined: 26 May 2008, 12:25
Noob?: No

Re: Need help connecting through XKore 2 to Valkyrie | 2.0.7

#2 Post by Scarya »

xKore 2 is pretty buggy and not support.
Why isn't xKore 1 no solution? It hooks into gameclient and you can watch kore play.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots.
So far, the universe is winning.

Richard Cook

Wiki

Feynt
Noob
Noob
Posts: 3
Joined: 22 Feb 2010, 18:11
Noob?: Yes

Re: Need help connecting through XKore 2 to Valkyrie | 2.0.7

#3 Post by Feynt »

It's not a solution because I don't want to have the RO client open all the time. It's surprisingly bloated and slows down other programs like Blender or large games of SpringRTS. If the only thing I'm doing is playing RO, then great, fine, xkore 1 does the job. And yes, I could just turn off xkore and restart the bot. But I'd like to draw as little attention to myself as possible, and logging off and then logging back on a few seconds later several times might draw unwanted attention quicker. I figure if xkore 2 is possible, I can just log in through that with the client and control the bot when I want/need to and no relogging is required.

Feynt
Noob
Noob
Posts: 3
Joined: 22 Feb 2010, 18:11
Noob?: Yes

Re: Need help connecting through XKore 2 to Valkyrie | 2.0.7

#4 Post by Feynt »

Woo, double posts. Needing to be authorized to post sucks.

This problem hardly matters now, my account got banned, and the only way I'd really play RO is with botted up high level characters. Soooo on to greener pastures. >3

User avatar
twist3d
Testers Team
Testers Team
Posts: 94
Joined: 09 Sep 2009, 04:34
Noob?: No
Location: USA

Re: Need help connecting through XKore 2 to Valkyrie | 2.0.7

#5 Post by twist3d »

Feynt wrote:Woo, double posts. Needing to be authorized to post sucks.

This problem hardly matters now, my account got banned, and the only way I'd really play RO is with botted up high level characters. Soooo on to greener pastures. >3
Ya, but in the future, just set xKore to 0 and when you want to watch the bot set it to 1 and restart. If you cant watch the bot through the text you might as well just leave xkore on then.
Member since 09/09/09, botter since its first creation days. Thanks Kura for the original Kore.

Post Reply