EDIT (by Technology): dev description of problem & solution
I'm having trouble viewing my items for some reason it suddenly becomes like this. I already update my openkore to the latest version but it still the same and adjusted the char block size to 112.
Hope you can help me.
introduced in: r7640 | affects: pRO,tRO | desc: item error
Moderators: Moderators, Developers
Re: Item Error
There are some new items needed to be updated in items.txt. You can either edited it manuallly in \tables\iRO\items.txt (I assumed you in iRO) or just wait someone updated the new table for us.
Re: Item Error
this is not table issue. there are some error in src\Network\Receive\ServerType0.pm.
i also have this error but it was solved by edit some part of codes
(rev7643)
Line 1993:
Line 3638:
Line 6477:
replace
with
PS I was on tRO
i also have this error but it was solved by edit some part of codes
(rev7643)
Line 1993:
Line 3638:
Line 6477:
replace
Code: Select all
$psize = 28;
Code: Select all
$psize = 26;
-
- Super Moderators
- Posts: 801
- Joined: 06 May 2008, 12:47
- Noob?: No
Re: Item Error
Yep that pretty much nailed the problem, its the usual story, it seems a recent commit (r7640) to fix one serverType (twRO) broke the others (tRO, pRO, etc...)Lightwave wrote:this is not table issue. there are some error in src\Network\Receive\ServerType0.pm.
i also have this error but it was solved by edit some part of codes
(rev7643)
Line 1993:
Line 3638:
Line 6477:
replacewithCode: Select all
$psize = 28;
PS I was on tROCode: Select all
$psize = 26;
Don't assume that when one ST changes a struct that others will immediatly change as well, this is why we have twRO.pm and the like.
For proper interservertype compatibility, instead I suggest that ServerType0.pm adopts Sakexe0.pm's "items_(non)stackable" handling.
There, we deal with the $psize servertype specific cruft (in terms of the packet's inner struct's length & unpackstring) in a cleaner, reusable and serverType overridable manner.
(ex. in Sakexe0.pm, RagexeRE_2010_06_29a.pm overrides the "26 length inner struct" with an "28 length inner struct" for items_nonstackable type3)
(however still a bit hacky, its far better than what we have now, until we get a full blown struct un-packer)
Since this a src problem, i changed the title and moved this to bug reports.
It should be fairly easy to port Sakexe0.pm's "items_(non)stackable" handling to ST0,
so this task is open for anyone who wants to give it a try.
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!
One ST_kRO to bring them all and in the darkness bind them...
Mount Doom awaits us, fellowship of OpenKore!
-
- Human
- Posts: 26
- Joined: 28 Jan 2011, 03:05
- Noob?: No
Re: Item Error
Lightwave wrote:this is not table issue. there are some error in src\Network\Receive\ServerType0.pm.
i also have this error but it was solved by edit some part of codes
(rev7643)
Line 1993:
Line 3638:
Line 6477:
replacewithCode: Select all
$psize = 28;
PS I was on tROCode: Select all
$psize = 26;
tried it and it works on pRO Valkyrie too.. +1reps to you mate.
Re: introduced in: r7640 | affects: pRO,tRO | desc: item error
Please follow twRO.pm in Network\Receive and you will get the solution
-
- Noob
- Posts: 8
- Joined: 25 Nov 2010, 02:15
- Noob?: Yes
Re: introduced in: r7640 | affects: pRO,tRO | desc: item error
I looked at servertype0.pm and couldn't find anything related to $psize = 28;
Anything else I could do to remedy unknown items?
Anything else I could do to remedy unknown items?