Post or pm me the Money Pouch code so I can see what's going on.
|
Whenever somebody tries to take out money from the money pouch , it sends a private message to the last person u Pmed saying the amount of cash u withdrew. For example: I hit withdraw and type in 5000 , it takes out 5k from my pouch puts it in my invy , and automatically sends a message to the last person i pmed saying "5000" ...
Any ideas on how to fix? i will thank and +rep
EDIT:: The Interface is the same as the private messaging , I tested and say i pm somebody saying "HI" then i click Withdraw from money pouch , it will say how much will u like to withdraw and it will already have "HI" typed in.. so the messaging and money pouch are linked.. how can i separate them?
Post or pm me the Money Pouch code so I can see what's going on.
does a dialogue screen open when ur entering the amount of cash?
if so i would guess its using the same packet as the send messaging.
so u could look in client.java(client sided) for the send messaging packet
if someones got a better idea go for it just a thought
Right, the problem is that when your sending the packet to remove the certain amount of coins, its overlapping the send private message packet, so you've most likely added it wrong.
Go to client.java (client sided)
and search for:
You'll see something along the lines of adding a friend.if(anInt900 == 2) {
check under there for your private messaging if statement
it might be this line, thats the same in both cases:
Check for two numbers that are the same, and chance one to a unique case.interfaceButtonAction = 503;
Enjoy.
Well its not the 503 i think its 557. Not sure , heres my client.java // Pastebin
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |