Valentine90 Posted September 11, 2012 Author Share Posted September 11, 2012 **Sorry my english**The fix is ​​simple, but the error is serious. Suppose you are on an exchange and trade offers on an item, this item will appear in trade for both players, as should happen … the problem is if you equip that item, it disappears in exchange for you, but not for the other player, so you can trick him using the trade to sell an item that will not him.**Open Server****1 -** In **modPlayer**, look for:```Public Sub UseItem(ByVal index As Long, ByVal invNum As Long, ByVal useType As Byte)```**2 -** After:``` ' Prevent hackingIf invNum < 1 Or invNum > MAX_ITEMS ThenExit SubEnd If```**3 -** Add:```If TempPlayer(index).InTrade > 0 Then Exit Sub```**Credits:**Valentine Link to comment Share on other sites More sharing options...
lel Posted September 12, 2012 Share Posted September 12, 2012 Well not sure if that would work on my engine. But I noticed no one thanked you for this. So…...Thanks! Link to comment Share on other sites More sharing options...
Whackeddie99 Posted September 14, 2012 Share Posted September 14, 2012 Good job dude, your tutorials are all nice finds! You should post them in the source section though. But I just wanted to say keep up the good work, these will help people in the future! Link to comment Share on other sites More sharing options...
Valentine90 Posted September 15, 2012 Author Share Posted September 15, 2012 Thanks, I like Fix bugs Link to comment Share on other sites More sharing options...
matthewpull Posted September 15, 2012 Share Posted September 15, 2012 Thanks also 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