Jump to content

Packets Editing


Pleyne

Recommended Posts

Hey, I'm reaching out for help, I was wondering, which packet determinates such ability, to modify products quantity format and colour.
This is an example in one of the most popular server:

http://prntscr.com/e7pcml - it shows up as green colour - you have enough money to buy
http://prntscr.com/e7pdaa - it shows up as red colour - you don't have enough money to buy

 

I'm interested also in price formatting. 

Link to comment
Share on other sites

Interface.u modification.

In MultiSellWnd you need to find function addNeededItem(int, ItemInfo), modifying t_color of itemAmountNode allows you to set desired color. I based it on UIScript GetInventoryItemCount function value.

Link to comment
Share on other sites

Interface.u modification.

In MultiSellWnd you need to find function addNeededItem(int, ItemInfo), modifying t_color of itemAmountNode allows you to set desired color. I based it on UIScript GetInventoryItemCount function value.

 

Yeah but you need the u script for the target client with source and the knowledge to import it, are these things accessible for mortals like us ?

Link to comment
Share on other sites

Yeah but you need the u script for the target client with source and the knowledge to import it, are these things accessible for mortals like us ?

I'm not sure if you're asking for this, but let's try.

https://cloud.mail.ru/public/6ke2/7SxPnkT7F

pw: NewYear2017

 

Happy usage.

Edited by Pleyne
Link to comment
Share on other sites

I'm not sure if you're asking for this, but let's try.

https://cloud.mail.ru/public/6ke2/7SxPnkT7F

pw: NewYear2017

 

Happy usage.

 

Thats looks right, but whats the client chronicle that this compiles to ?

Link to comment
Share on other sites

  • 2 weeks later...

Interface.u modification.

In MultiSellWnd you need to find function addNeededItem(int, ItemInfo), modifying t_color of itemAmountNode allows you to set desired color. I based it on UIScript GetInventoryItemCount function value.

 

interface.u doesn't seem to relate with the design of the window, its more like event handling and parsing, I could be wrong because I have to make further research on these scripts. Maybe Im even looking on the wrong place

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...