fix iro valkyre venderItemList

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

common123
Human
Human
Posts: 33
Joined: 05 Apr 2008, 06:42

fix iro valkyre venderItemList

#1 Post by common123 »

a smallest modification
now iro valkyre added a new packet 0080 (length is 0)

in Receive.pm

packet_list

after the '0133' => ['vender_items_list'],

add the line '0800' => ['vender_items_list2'],

and the "sub vender_items_list2" is same as the "sub vender_items_list" but changing the
"for (my $i = 8; $i < $msg_size; $i+=22) {"

to

for (my $i = 12; $i < $msg_size; $i+=22) {

8--->12 in the "sub vender_items_list2"


:D :) ;) :( :o :shock: :lol: :x 8-) :? :idea: :arrow: :| :ugeek:
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: fix iro valkyre venderItemList

#2 Post by Technology »

gratz,

but i was a few days faster :P
http://forums.openkore.com/viewtopic.php?f=56&t=8421
(which means, this is already in svn)

if you want to do development, my advice is that you use svn,
so that nobody has to solve the same problem again.
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!
common123
Human
Human
Posts: 33
Joined: 05 Apr 2008, 06:42

Re: fix iro valkyre venderItemList

#3 Post by common123 »

:D you are right thanks