Legendary Weapons

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Legendary Weapons

Postby Xaves » Fri Jun 24, 2011 2:33 am

Changing line 1825 of PacketLib168 from pak.WriteByte((byte) ((item.Type_Damage << 6) | item.Object_Type)); to pak.WriteByte((byte)((item.Type_Damage > 3 ? 0 : item.Type_Damage << 6) | item.Object_Type)); will stop showing the wrong damagetype of weapons in the merchant window.
Xaves
DOL Initiate
 
Posts: 17
Joined: Sat Apr 14, 2007 8:39 pm

Re: Legendary Weapons

Postby Graveen » Fri Jun 24, 2011 8:20 am

Thank you Xaves, is it a recent change in packet ? Does anyone notice this was not working for a long time or is it a recent trouble ?
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Legendary Weapons

Postby Xaves » Fri Jun 24, 2011 6:08 pm

It wasnt working for a long time, had this bug on Ariadolis & Morrigan too.
Xaves
DOL Initiate
 
Posts: 17
Joined: Sat Apr 14, 2007 8:39 pm


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest