Making Items appear scrolled
This'll work in any Rev with scrolling. Credits go to my good friend jwshan for figuring this out(before scrolling was even out haha). Cheers. =]
Just replace all instances of:
Code:
packet.addShort(equip->slots);
With:
Code:
packet.addByte(equip->slots); // Slots
packet.addByte(equip->scrolls); // Scrolls
Just do a quickreplace over the entire solution for ease. Cheers.
Screenshot
Re: [Release] Making Items appear scrolled
Wow, nice release as always Doyos.
Thanks for this its really what I have been trying to find out.
Re: [Release] Making Items appear scrolled
WOW TNX YOU ROCK I REALLY WANTED THAT!!!
everyone in my server said "wtf why its not apearing scrolled?"
so now it will xD
Re: [Release] Making Items appear scrolled
Re: [Release] Making Items appear scrolled
At oshri221, press ctrl +f Then go quick replace and fill in the boxes o.O
Doyos great release as always! Thanks!
-Ashur
Re: [Release] Making Items appear scrolled
nvm found ,
ty man and ty to Ashur too :P
good job.
Re: [Release] Making Items appear scrolled
Go look in InventoryPacket.cpp Oshri,
Tell me if ya get it
Re: [Release] Making Items appear scrolled
Quote:
Originally Posted by
dashar
Go look in InventoryPacket.cpp Oshri,
Tell me if ya get it
its not playerpacket.cpp ? :|
Re: [Release] Making Items appear scrolled
Quote:
Originally Posted by
oshri221
its not playerpacket.cpp ? :|
It's in both.
Re: [Release] Making Items appear scrolled
All I did was replace it in InventoryPacket.cpp and it works for me.
Just tested, thanks Doyos.
Re: [Release] Making Items appear scrolled
Quote:
Originally Posted by
doyos
It's in both.
tnx man :P
i post here if i get error or somthing.
edit : i dont see +1 +2 when i scrolled item .
and i alrbdy replace in the files.
i need to make rebuild ? : X
Re: [Release] Making Items appear scrolled
I didnt have to rebuild for it to work.
Where exactly replace it and what did you do?
Re: [Release] Making Items appear scrolled
Thank you for the release...arigatou ^_^
Re: [Release] Making Items appear scrolled
i have problems with packet.addByte(equip->scrolls); // Scrolls
seems like i canot add that line in, it will give error
Re: [Release] Making Items appear scrolled
Quote:
Originally Posted by
dashar
I didnt have to rebuild for it to work.
Where exactly replace it and what did you do?
i did rebuild and its work now ,
ty man . good job :P