Page 1 of 4

no inventory information SVN r8349

Posted: 27 Dec 2012, 08:13
by ptcarino
like the title said, whenever i use any inventory commands, it says "Inventory is empty". my bot even bought 300+ awakening potions from the npc cause it thought it's out of awakening potions.

Openkore version: SVN r8349
Server: pRO Valkyrie

though when i try to log it in on a slightly older SVN version (dunno what version as i don't know where to look without updating it), it shows my inventory info.

screenshot:
Image

Re: no inventory information SVN r8349

Posted: 27 Dec 2012, 11:22
by exe099
Same problem as mine. pRO Valkyrie :(

Re: no inventory information SVN r8349

Posted: 28 Dec 2012, 09:13
by kazeken
No Fix yet?

how do I update or use older SVN?

pRO Valkyrie server

Re: no inventory information SVN r8349

Posted: 28 Dec 2012, 09:54
by ptcarino
kazeken wrote:No Fix yet?

how do I update or use older SVN?

pRO Valkyrie server
there's a new update now but i can't check if it's the fix since pRO valkyrie is down for EM.

Re: no inventory information SVN r8349

Posted: 28 Dec 2012, 21:17
by sofax222
It could be a bug in the src/Network/Receive/ServerType0.pm.
Such as :
The original code lines:

Code: Select all

unless ($local_item = $args->{getter} && $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }
It should be something like:

Code: Select all

unless (!$args->{getter} || $local_item = $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }

Re: no inventory information SVN r8349

Posted: 28 Dec 2012, 22:14
by ptcarino
sofax222 wrote:It could be a bug in the src/Network/Receive/ServerType0.pm.
Such as :
The original code lines:

Code: Select all

unless ($local_item = $args->{getter} && $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }
It should be something like:

Code: Select all

unless (!$args->{getter} || $local_item = $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }
did that and this is what happened:

Image

Re: no inventory information SVN r8349

Posted: 28 Dec 2012, 23:31
by flashdbest
The problem here mostly lies on the fact the pRO is using iRO server type. (then due to recent updates, iRO settings is now different from what pRO uses)

well, just a pointer - hope this helps.

Re: no inventory information SVN r8349

Posted: 29 Dec 2012, 00:16
by ptcarino
flashdbest wrote:The problem here mostly lies on the fact the pRO is using iRO server type. (then due to recent updates, iRO settings is now different from what pRO uses)

well, just a pointer - hope this helps.
not really. because older SVN versions have inventory information. if server settings were really changed then even older SVN versions wouldn't have inventory info.

most probably the problem here is in the codes.

Re: no inventory information SVN r8349

Posted: 29 Dec 2012, 02:17
by flashdbest
pRO is using : src/Network/Receive/iRO.pm

chances are that file was modified due to recent changes. thus affecting pRO. check your tables folder. inside open servers.txt search for your server it should have a serverType of iRO

Well, if you already have a copy of the older version of openkore. i suggest use that first :)

Re: no inventory information SVN r8349

Posted: 29 Dec 2012, 04:23
by kazeken
sofax222 wrote:It could be a bug in the src/Network/Receive/ServerType0.pm.
Such as :
The original code lines:

Code: Select all

unless ($local_item = $args->{getter} && $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }
It should be something like:

Code: Select all

unless (!$args->{getter} || $local_item = $args->{getter}($item)) {
     $local_item = $args->{class}->new;
     $add = 1;
 }
I tried this one too, same as above error... =(