I want to make it if you double click an item in a shop you buy it and if you double click in inv you sell the item.
Thank you, Greg
Different shop items
I’d hate to be "that guy_"_, butwhat engine are you using? Something like this has a big impact of the usefulness of whatever someone suggests doing. I’m fairly certain DX8 engines render their own GUI, whereas DX7 engines use form objects, so the sub that someone tells you to look for might not exist because the mouse events are handled differently between the two types of engines.
At its core, the premise is fairly simple. Go to the sub of code that would be called when you click on an item in the shop and in the inventory. From there, call one of the packets that requests to buy or sell an item. You might have to change a bit of the code because I know EO 2.0 uses BuyStates, but it shouldn’t be anything too complicated.