Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Accepted trade request question/request


manbearpig
 Share

Recommended Posts

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 items
Jack>HAYYY!!!!11one111one
Jill>CAN I HAS A CHEEZEBUGER
Jack> Okkkk lets trade
Jill>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!!1111

Example 2 For money profit showing
Jack>Oh Hayy!!!11
Jill>Hai
Jack>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

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!
Link to comment
Share on other sites

@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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...