Jumbofile Posted June 15, 2014 Author Share Posted June 15, 2014 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 Link to comment Share on other sites More sharing options...
Matt Posted June 15, 2014 Share Posted June 15, 2014 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. Link to comment Share on other sites More sharing options...
Jumbofile Posted June 16, 2014 Author Share Posted June 16, 2014 Im using PVO and I have no programming experience. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now