Let's resolve that
Could u upload both ur original RSApplet and the RSApplet post ur attempt at implementing this snippet? (https://pastebin.com)
|
I spent a few hours trying to get this to work,no luck. But that doesn't say much because I'm a new coder. I am having issues with a finding symbols. I normally don't post for help, but i can't figure this out.
Let's resolve that
Could u upload both ur original RSApplet and the RSApplet post ur attempt at implementing this snippet? (https://pastebin.com)
It seems like you're missing the required import, add this one and u should be fine:
I recommend u try to get used to an IDE, it will notify you of these kind of issues and offer solutions when directly available (https://www.jetbrains.com/idea/download/)Code:import javax.swing.SwingUtilities;
yes yes yes
You are an absolute LEGEND!!!
hi i was wondering if someone could help me out with this I know am new to this, but tried to follow this. but somethings i really could not find. I have to state I currently use the dawntained (released version on rune-server) https://pastebin.com/xLhd5zDV current un-edited RSApplet.java
this is what i could not find nor something that looked similare
here is the new code. Also where can I find the letter (SwingUtilities.isRightMouseButton(e)) in this case the e that my client uses so i can change that.Code:if (type == 2) { mouseWheelDown = true; mouseWheelX = i; mouseWheelY = j; return; }
old code.Code:public final void mousePressed(MouseEvent mouseevent) { int i = mouseevent.getX(); int j = mouseevent.getY(); if (gameFrame != null) { i -= 4; //4 j -= 22; //22 } idleTime = 0; clickX = i; clickY = j; clickTime = System.currentTimeMillis(); if(SwingUtilities.isRightMouseButton(e)) { { clickMode1 = 2; clickMode2 = 2; } else if(SwingUtilities.isLeftMouseButton(e)){ { clickMode1 = 1; clickMode2 = 1; } }
can you please help me out with this?Code:if (mouseevent.isMetaDown()) { clickMode1 = 2; clickMode2 = 2; } else { clickMode1 = 1; clickMode2 = 1; } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |