xkore3 crashes every map change

International

Moderator: Moderators

Message
Author
gooey
Noob
Noob
Posts: 10
Joined: 06 Jul 2018, 15:27
Noob?: Yes

xkore3 crashes every map change

#1 Post by gooey »

Hi.

Xkore3 crashes whenever I change map.
By change map I mean city to city. Example, from prontera->alberta, from alberta->payon, etc.
It does not happen if its within city. e.g. yuno->yuno_fild08, yuno->yuno_in
I'm pretty sure my openkore is updated since I just pulled it from the repo

Here's the error text

Code: Select all

OpenKore version what-will-become-2.1
Network state = 4
Network handler = Network::XKoreProxy
Revision: git:c3d3d28_2018-12-14 ctime:2018_09_08
Loaded plugins:
  plugins/breakTime/breakTime.pl (breakTime; description: Automatically disconnect and reconnect at certain times of the day)
  plugins/macro/macro.pl (macro; description: allows usage of macros)
  plugins/profiles/profiles.pl (profiles; description: Profiles Selector)

Error message:
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at src/Network/XKoreProxy.pm line 624.

Stack trace:
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at src/Network/XKoreProxy.pm line 624.
 at src/Interface/Wx.pm line 163
	Interface::Wx::mainLoop('Interface::Wx=HASH(0x5c79a84)') called at openkore.pl line 97
	main::__start() called at start.pl line 136

Died at this line:
  		} else {
* 			$mapInfo->{ip} = inet_ntoa($mapInfo->{ip});
  		}


User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: xkore3 crashes every map change

#2 Post by fadreus »

Only in XKore 3?
How about 1/2?

WxStart only or with start.exe too?

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

gooey
Noob
Noob
Posts: 10
Joined: 06 Jul 2018, 15:27
Noob?: Yes

Re: xkore3 crashes every map change

#3 Post by gooey »

Xkore 3 only, I think.
I tried Xkore 2 and it seems to be working properly. I do not know about Xkore 1 because I am getting some errors when I tried to run it.

Both for wxstart and start.

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: xkore3 crashes every map change

#4 Post by fadreus »

Could you run in XKore 1 too and then file this issue at github with both error from Xkore 3 and XKore 1.

iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

Sasaki Haise
Noob
Noob
Posts: 7
Joined: 14 Dec 2018, 14:05
Noob?: No

Re: xkore3 crashes every map change

#5 Post by Sasaki Haise »

any solution for this?

zexeta
Plain Yogurt
Plain Yogurt
Posts: 54
Joined: 11 Jul 2017, 00:49
Noob?: No

Re: xkore3 crashes every map change

#6 Post by zexeta »

I use xkore 3 daily on iro, never had this problem. You either didn't fully update or messed with the timeouts in some very odd way.

Raven13
Noob
Noob
Posts: 2
Joined: 06 Jan 2019, 04:22
Noob?: No

Re: xkore3 crashes every map change

#7 Post by Raven13 »

Having the same issue with city to city warp as well as memorial dungeon and probably more but after getting this error on memorial dungeon my character got stuck in limbo until GMs reset their location back to prontera. Oh and I am on fRO.

Code: Select all

OpenKore version what-will-become-2.1
@ai_seq = NPC follow
Network state = 4
Network handler = Network::XKoreProxy
Revision: ctime:2018_12_27
Loaded plugins:
  plugins/breakTime/breakTime.pl (breakTime; description: Automatically disconnect and reconnect at certain times of the day)
  plugins/item_weight_recorder/item_weight_recorder.pl (item_weight_recorder; description: item_weight_recorder plugin)
  plugins/macro/macro.pl (macro; description: allows usage of macros)
  plugins/map/map.pl (map; description: map)
  plugins/profiles/profiles.pl (profiles; description: Profiles Selector)
  plugins/raiseSkill/raiseSkill.pl (raiseSkill; description: automatically raise character skills)
  plugins/raiseStat/raiseStat.pl (raiseStat; description: automatically raise character stats)
  plugins/reconnect/reconnect.pl (reconnect; description: v1.0)
  plugins/xConf/xConf.pl (xConf; description: commands for change items_control, mon_control, pickupitems, priority)

Error message:
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at src/Network/XKoreProxy.pm line 624.

Stack trace:
Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at src/Network/XKoreProxy.pm line 624.
 at src/Network/XKoreProxy.pm line 624
	Network::XKoreProxy::modifyPacketIn('Network::XKoreProxy=HASH(0x68ca1dc)', '\x{92}\x{0}0011@sara.gat\x{0}E\x{0}\x{fa}\x{0}\x{9b}\x{0}6$L\x{8d}\x{7}\x{12}') called at src/Network/XKoreProxy.pm line 210
	Network::XKoreProxy::clientSend('Network::XKoreProxy=HASH(0x68ca1dc)', '\x{92}\x{0}0011@sara.gat\x{0}E\x{0}\x{fa}\x{0}\x{9b}\x{0}6$L\x{8d}\x{7}\x{12}') called at src/functions.pl line 756
	main::mainLoop_initialized() called at src/functions.pl line 75
	main::mainLoop() called at src/Interface.pm line 75
	Interface::mainLoop('Interface::Console::Win32=HASH(0x32dd63c)') called at openkore.pl line 97
	main::__start() called at start.pl line 136

Died at this line:
  		} else {
* 			$mapInfo->{ip} = inet_ntoa($mapInfo->{ip});
  		}

User avatar
fadreus
The Kore Devil
The Kore Devil
Posts: 708
Joined: 17 Nov 2017, 23:32
Noob?: No
Location: Genting Highland, Malaysia
Contact:

Re: xkore3 crashes every map change

#8 Post by fadreus »


iRO Supporter.
Read before you ask is the wisest thing human can do.
Unless you're a cat.
Image

User avatar
alisonrag
Developers
Developers
Posts: 34
Joined: 30 Jun 2011, 12:25
Noob?: No
Location: Brazil

Re: xkore3 crashes every map change

#9 Post by alisonrag »

@opn-1
go to openkore\src\network\XkoreProxy.pm line 624 and change this:

Code: Select all

$mapInfo->{ip} = inet_ntoa($mapInfo->{ip});
to this:

Code: Select all

$mapInfo->{ip} = inet_ntoa($mapInfo->{'IP'});
post result here please
"ignorance is a blessing"

Raven13
Noob
Noob
Posts: 2
Joined: 06 Jan 2019, 04:22
Noob?: No

Re: xkore3 crashes every map change

#10 Post by Raven13 »

thanks alison that seems to have resolved it

Post Reply