Originally Posted by
Timo123
Hello, Rune-Server i have a problem with clicking stuff.
Example: I have 3 Boxes of Mysterious Gift.
Way to dupe: If i now click the boxes VERY fast it will result:
This is how it will result:
Code:
Clicking 3 boxes very fast or example 500Ms per click
i will recive 6 rewards.
Another Example:
When you get a clickingbuttons request example clicking a dialogue to give you a phat
Example: Dialogue says: free phat
Way to dupe: Click the continue text very fast will result:
This:
Code:
I might recive 2 Phats deepends how fast i click the dialogue
Is this a fix? or a code that is commented out? or why is it possible doing this! i need a fix very fast
Thanks for all Spoon feeding
Skype: Eyohawk
Or reply here!
Easy peezy lemon squeezy!
You can do two things. Have a variable such as a boolean like openedBox = false;
Then for the item click this:
Code:
if (c.openedBox == false) {
c.openedBox = true;
doSomething();
}
BOOM!
Ooorr add a little timer.
Declare a long variable called like lastBox or something.
Code:
public long lastBox = System.currentTimeMillis();
Then on the item click something like this:
Code:
if (System.currentTimeMillis() - c.lastBox > 2000) {
c.lastBox = System.currentTimeMillis();
doSomething();
}
Boom!