manbearpig Posted July 3, 2009 Author Share Posted July 3, 2009 1.How can i add a little box on the bottom of the trade menu? Saying "Other player has agreed to trade, Do you accept? When the other player clicked the trade button??__________2.Or if possible if it can say "Other player has agreed to trade, You make (MONEY) coins in profit Do you accept?"Example 1 For just other player has agreed to trade for itemsJack>HAYYY!!!!11one111oneJill>CAN I HAS A CHEEZEBUGERJack> Okkkk lets tradeJill>YEAYYYS!*Jack trades a cheeseburger worth 30 coins*Jill trades 31 coins*"Other player has agreed to trade, Do you accept?"*Jack clicks no*Jack> L0L Pwnt. I has cheeze burger noaw!!1111Example 2 For money profit showingJack>Oh Hayy!!!11Jill>HaiJack>Wana tradde?Jill>KK*Jill trades 50 gold**Jack trades 1 fish worth 20 gold**Jill agrees*"Other player has agreed to trade, You make 30 coins in profit Do you accept?"* Jack Clicks Yes*Jill> Oh **** i got ripped off. Link to comment Share on other sites More sharing options...
Kimimaru Posted July 3, 2009 Share Posted July 3, 2009 I'm not exactly sure about the second one, but I think I might know how to do the first one. **Please make a backup of your frmPlayerTrade.frm before attempting this.**First, make a new label and name it "Message." Then, expand it so it's big enough to fit whatever you want in it. Put it wherever you want it to be on the trade menu.Now, double-click on the label called "Message" and put in this code:```If SendData(packet) = True ThenCall AddText("Other player has agreed to trade. Do you accept?", 12)End If```I'm really not sure if that code works because I don't have time to test it right now. If there's something wrong, please tell me, and I'll try to fix it. I hope it works! Link to comment Share on other sites More sharing options...
emblem Posted July 3, 2009 Share Posted July 3, 2009 @Kimimaru:> I'm not exactly sure about the second one, but I think I might know how to do the first one. **Please make a backup of your frmPlayerTrade.frm before attempting this.**> > First, make a new label and name it "Message." Then, expand it so it's big enough to fit whatever you want in it. Put it wherever you want it to be on the trade menu.> > Now, double-click on the label called "Message" and put in this code:> > ```> If SendData(packet) = True Then> Call AddText("Other player has agreed to trade. Do you accept?", 12)> End If> ```> I'm really not sure if that code works because I don't have time to test it right now. If there's something wrong, please tell me, and I'll try to fix it. I hope it works!The above will not work, at all.And if I'm right, the "trade" button changes colors if the other player has agreed to the trade. Link to comment Share on other sites More sharing options...
goku1993 Posted July 3, 2009 Share Posted July 3, 2009 you can try this, i don t know if it ll help but i think it will http://www.touchofdeathforums.com/smf/index.php/topic,22148.0.html Link to comment Share on other sites More sharing options...
Kimimaru Posted July 3, 2009 Share Posted July 3, 2009 I don't believe that will help, as he is simply asking how to make it so that there's a box on the bottom of the trade screen that says something like, "Other player has accepted trade." Link to comment Share on other sites More sharing options...
goku1993 Posted July 3, 2009 Share Posted July 3, 2009 i m not home right now but at home i have the code of when someone accepts the trade i ll check that out for you Link to comment Share on other sites More sharing options...
manbearpig Posted July 4, 2009 Author Share Posted July 4, 2009 Thanks for all the help but I dont think those tutorials did much. Like the player request trade box ( i added it) and decided to keep it =D But It wasnt what i was looking for=).Thanks, Your eclipse friend,Blue 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