A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
0

Configure Feed

Select the types of activity you want to include in your feed.

Merge remote-tracking branch 'upstream/master' into theblackparade

+19 -19
+1 -1
src/com/jagex/runescape/GameFrame.java
··· 11 11 this.gameStub = gameStub; 12 12 setTitle("Jagex"); 13 13 setResizable(false); 14 - setSize(width + 8, height + 28); 14 + setSize(width, height + 22); 15 15 setVisible(true); 16 16 toFront(); 17 17 }
+18 -18
src/com/jagex/runescape/GameShell.java
··· 51 51 width = _width; 52 52 height = _height; 53 53 gameFrame = new GameFrame(this, width, height); 54 - gameGraphics = getParentComponent().getGraphics(); 55 - imageProducer = new ProducingGraphicsBuffer(width, height, getParentComponent()); 56 - this.setPreferredSize(new Dimension(width, height)); 57 - this.setMaximumSize(new Dimension(width, height)); 58 - this.setMinimumSize(new Dimension(width, height)); 59 - gameFrame.add(this); 60 - gameFrame.pack(); 54 + gameGraphics = gameFrame.getGraphics(); 55 + imageProducer = new ProducingGraphicsBuffer(width, height, gameFrame); 56 + // this.setPreferredSize(new Dimension(width, height)); 57 + // this.setMaximumSize(new Dimension(width, height)); 58 + // this.setMinimumSize(new Dimension(width, height)); 59 + // gameFrame.add(this); 60 + // gameFrame.pack(); 61 61 62 62 startRunnable(this, 1); 63 63 } ··· 71 71 } 72 72 73 73 public void run() { 74 - this.addMouseListener(this); 75 - this.addMouseMotionListener(this); 76 - this.addMouseWheelListener(this); 77 - this.addKeyListener(this); 78 - this.addFocusListener(this); 74 + gameFrame.addMouseListener(this); 75 + gameFrame.addMouseMotionListener(this); 76 + gameFrame.addMouseWheelListener(this); 77 + gameFrame.addKeyListener(this); 78 + gameFrame.addFocusListener(this); 79 79 if (gameFrame != null) { 80 80 // Handle SIGTERM and exit 81 81 gameFrame.addWindowListener(new WindowAdapter() { ··· 219 219 int mouseX = mouseevent.getX(); 220 220 int mouseY = mouseevent.getY(); 221 221 if (gameFrame != null) { 222 - // mouseX -= 1; 223 - mouseY -= 2; 222 + // mouseX -= 2; 223 + mouseY -= 24; 224 224 } 225 225 idleTime = 0; 226 226 eventClickX = mouseX; ··· 263 263 int mouseX = mouseevent.getX(); 264 264 int mouseY = mouseevent.getY(); 265 265 if (gameFrame != null) { 266 - // mouseX -= 1; 267 - mouseY -= 2; 266 + // mouseX -= 2; 267 + mouseY -= 24; 268 268 } 269 269 if (mouseWheelDown) { 270 270 mouseY = mouseWheelX - mouseevent.getX(); ··· 287 287 int mouseX = mouseevent.getX(); 288 288 int mouseY = mouseevent.getY(); 289 289 if (gameFrame != null) { 290 - // mouseX -= 1; 291 - mouseY -= 2; 290 + // mouseX -= 2; 291 + mouseY -= 24; 292 292 } 293 293 idleTime = 0; 294 294 this.mouseX = mouseX;