Suppose I want to modify on the fly, without changing itemdesc.cfg and rebooting, buy/sell price for an item. I could save the value somewhere, but how I make POL use them? Should I packethook packet 0x74 (Open Buy Window)? Reading its description, seems quite complicated to packethook, as there are related packets before
Anyone did something similar before?
Modify sell/buy price at runtime
Moderator: POL Developer
Re: Modify sell/buy price at runtime
Item.buyprice/sellprice are members with write access, check: docs.polserver.com/pol099/objref.php#Item
Re: Modify sell/buy price at runtime
Aaaaaa thanks Turley!!!!!!!