WXSTart click OK 2.6.0.1 | crash when go in to gold area

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

Moderators: Moderators, Developers

alex1622
Noob
Noob
Posts: 9
Joined: 08 Feb 2009, 20:03
Noob?: Yes

WXSTart click OK 2.6.0.1 | crash when go in to gold area

#1 Post by alex1622 »

hi There ! ^^
im new so so in boting
today when i try to go to gold room
i got crash the bot

i Download openkore 2.0.6.1 wx and intall m33Zz_Edition-v19_of_Click_Wx-v21_EN.


this is the report
OpenKore version 2.0.6.1
Network state = 5
Network handler = Network::DirectConnection
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)

Error message:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1666.

Stack trace:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1666.
at src/Interface/Wx.pm line 125
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2dd5c28)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:

* $walkable = $field->isWalkable($x, $y);
if ($x >= 0 && $y >= 0 && $walkable) {
sorry for my english ;)
kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#2 Post by kali »

Get the latest SVN and see if the same error occurs
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.
alex1622
Noob
Noob
Posts: 9
Joined: 08 Feb 2009, 20:03
Noob?: Yes

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#3 Post by alex1622 »

i download the last svn
from openkore page
and i get the same error
kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#4 Post by kali »

Somehow I doubt you actually got the latest SVN. Tell me how you did it.

My patience is growing thin. I really thought you had a valid bug report there. If you don't redeem yourself soon I'll be ignoring this report. Though the other devs are free to assist you.

You should also contact the person who made that wx plugin. Remember, that is not part of OpenKore. Do not expect us to support something we didn't make, or haven't seen before.
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.
alex1622
Noob
Noob
Posts: 9
Joined: 08 Feb 2009, 20:03
Noob?: Yes

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#5 Post by alex1622 »

kali wrote:Somehow I doubt you actually got the latest SVN. Tell me how you did it.

My patience is growing thin. I really thought you had a valid bug report there. If you don't redeem yourself soon I'll be ignoring this report. Though the other devs are free to assist you.

You should also contact the person who made that wx plugin. Remember, that is not part of OpenKore. Do not expect us to support something we didn't make, or haven't seen before.
firts sorry for my english xD

at the end of the forum is part of the svn links, download the svn here. Copies files and replace those that had Wxstart of openkore

I suppossed its a bug .
Btw i had beed download openkore from sourceforge "openkore-wx-2.0.6.1 " and intall wx click plugin from another page

Btw 2 : thanks for yours wonderful work all devs do with openkore :D


Editing


Hi again :)
I just use a clear wx openkore 2.0.6.1
without plugins from click wx

and i got this error
OpenKore version 2.0.6.1
@ai_seq = NPC
Network state = 5
Network handler = Network::DirectConnection
SVN revision: unknown
Loaded plugins:
plugins/macro.pl (macro)

Error message:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1003.

Stack trace:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1003.
at src/Interface/Wx.pm line 113
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2dd4e6c)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:

* $walkable = $field->isWalkable($x, $y);
if ($x >= 0 && $y >= 0 && $walkable) {
sli
Perl Monk
Perl Monk
Posts: 810
Joined: 04 Apr 2008, 17:26
Noob?: No

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#6 Post by sli »

OpenKore version 2.0.6.1 <-- NOT SVN VERSION
cs : ee : realist
alex1622
Noob
Noob
Posts: 9
Joined: 08 Feb 2009, 20:03
Noob?: Yes

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#7 Post by alex1622 »

i think i was wrong hehe

now I just Download openkore_ready
from the forum and use without interface WX and i din't get error

i think is because i used a wx interface from openkore
can somene tell me how i can use Wx interface with last svn :oops:

and thank a alot

Editing

ok i Now try Downloading openkore svn from http://openkore.collectskin.com/

and i put a Wxstart with openkore_ready.zip and openkore.zip ( i putting config tables field forder from openkore_ready to openkore just had source code only and putting Wstart and i got crash again )

this is error
OpenKore version what-will-become-2.0.7 (SVN Version)
@ai_seq =
Network state = 5
Network handler = Network::DirectConnection
SVN revision: 6661
No loaded plugins.

Error message:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1003.

Stack trace:
Can't call method "isWalkable" on an undefined value at src/Interface/Wx.pm line 1003.
at src/Interface/Wx.pm line 113
Interface::Wx::mainLoop('Interface::Wx=HASH(0x2df2078)') called at openkore.pl line 96
main::__start() called at start.pl line 125

Died at this line:

* $walkable = $field->isWalkable($x, $y);
if ($x >= 0 && $y >= 0 && $walkable) {
Click
Human
Human
Posts: 39
Joined: 15 Apr 2008, 06:08
Noob?: Yes
Location: Russia, Velikiy Novgorod

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#8 Post by Click »

run start.exe
error?
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#9 Post by Technology »

The error speaks for itself.

The user will hover the mouse over the minimap,
and there is an action onMouseOver or something that will trigger (see sub of line 1003 in src/Interface/Wx.pm),
now this will use method isWalkable on $field (the global variable),
$field is undefined, so either the user hovers his mouse over the minimap before the mapdata is loaded into $field,
or he does not have the mapdata, wich I assume because this goldroom map is probably a custom map.

So if this is the case, then my fix would be to check wether $field is defined before using method isWalkable on it.
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!
alex1622
Noob
Noob
Posts: 9
Joined: 08 Feb 2009, 20:03
Noob?: Yes

Re: WXSTart click OK 2.6.0.1 | crash when go in to gold area

#10 Post by alex1622 »

Click wrote:run start.exe
error?
when i use run start i didn't get any errors
but when i used wxstart i got the above error .
Technology wrote:The error speaks for itself.

The user will hover the mouse over the minimap,
and there is an action onMouseOver or something that will trigger (see sub of line 1003 in src/Interface/Wx.pm),
now this will use method isWalkable on $field (the global variable),
$field is undefined, so either the user hovers his mouse over the minimap before the mapdata is loaded into $field,
or he does not have the mapdata, wich I assume because this goldroom map is probably a custom map.

So if this is the case, then my fix would be to check wether $field is defined before using method isWalkable on it.
sorry im very stupid xD
how i could fix . Sorry my english its no really good >.<

Btw : when i go to gold room in my server the map of gold room is Pvp Room sandwich (pvp_n_8-1)
i Don't think so is a custom map