Thread: Displaying: myheight mywidth clickx clicky mousex mousey on gamescreen.

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Displaying: myheight mywidth clickx clicky mousex mousey on gamescreen. 
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,311
    Thanks given
    782
    Thanks received
    175
    Rep Power
    229
    Tested on: galkons enhanced v3.1 by k4rn4ge.

    Difficulty: Easy of course!

    What you will be adding in this tutorial:



    Edited class's: Client.java, you will also might need to look at your RSApplet class.

    First off:

    Search for:
    Code:
    if(inputString.equals("::fpsoff"))
    fpsOn = false;
    under that add:

    Code:
    if(inputString.equals("::coordsandsizeson"))
    CoordsandSizes = true;
    if(inputString.equals("::coordsandsizesoff"))
    CoordsandSizes = false;
    in your draw3dscreen method, add:

    Code:
    		if(CoordsandSizes)
    		{
    		int x = baseX + (myPlayer.x - 6 >> 7);
    		int y = baseY + (myPlayer.y - 6 >> 7);
    			char c = '\u01FB';
    			int k = 20;
    			int i1 = 0x33A1DE;
    			aTextDrawingArea_1271.method380("MouseX: " + super.mouseX, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("MouseY: " + super.mouseY, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("ClickX: " + super.clickX, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("ClickY: " + super.clickY, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("MyWidth: " + super.myWidth, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("MyHeight: " + super.myHeight, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("CoordX: " + x, c, i1, k);
    			k += 15;
    			aTextDrawingArea_1271.method380("CoordY: " + y, c, i1, k);
    			k += 15;
    		}
    under:

    Code:
    		if(fpsOn)
    		{
    			char c = '\u01FB';
    			int k = 20;
    			int i1 = 0xffff00;
    			if(super.fps < 15)
    				i1 = 0xff0000;
    			aTextDrawingArea_1271.method380("Fps:" + super.fps, c, i1, k);
    			k += 15;
    			Runtime runtime = Runtime.getRuntime();
    			int j1 = (int)((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
    			i1 = 0xffff00;
    			if(j1 > 0x2000000 && lowMem)
    				i1 = 0xff0000;
    			aTextDrawingArea_1271.method380("Mem:" + j1 + "k", c, 0xffff00, k);
    			k += 15;
    		}
    then declare this variable:

    Code:
    private static boolean CoordsandSizes;
    under:

    Code:
    private static boolean fpsOn;
    Save and compile.

    run your client then log into your or a server with the client.

    then use the command:

    ::coordsandsizeson to show it.

    then:

    ::coordsandsizesoff to hide it.

    so go make some ideas with those methods...

    you can probably make a bot with these methods...
    Reply With Quote  
     

  2. #2  
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,311
    Thanks given
    782
    Thanks received
    175
    Rep Power
    229
    Updated! Now Grabs players coords X and Y!

    No need to have command: ::mypos anymore.


    Reply With Quote  
     

  3. #3  
    If you read this you're gay!
    Infexis's Avatar
    Join Date
    Aug 2009
    Age
    25
    Posts
    4,561
    Thanks given
    1,158
    Thanks received
    1,173
    Rep Power
    2949
    lol, ehmm.. It's to easy to post Ahh well..
    [Only registered and activated users can see links. ]
    "If you can't explain it simply, you don't understand it well enough." - Albert Einstein
    Reply With Quote  
     

  4. #4  
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,311
    Thanks given
    782
    Thanks received
    175
    Rep Power
    229
    I made a thingy once it draws the 3d screen it gives info about the client and stuff

    incase you want red:

    Code:
    i1 = 0xff0000;
    Reply With Quote  
     

  5. #5  
    Registered Member
    Purple's Avatar
    Join Date
    Feb 2010
    Age
    26
    Posts
    2,799
    Thanks given
    467
    Thanks received
    260
    Rep Power
    312
    Did you know that 317 clients already had that. Just type :ataon

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Apocalyptism
    Harry's Avatar
    Join Date
    Apr 2007
    Posts
    3,783
    Thanks given
    594
    Thanks received
    1,833
    Rep Power
    2934
    Was this really worth posting? lol
    ~ Harry
    Please bear this in mind when hearing the word 'soon' from a software programmer.

    As coding software generally takes thousands of years, software programmers have developed a natural adaptation to this in the form of an altered perception of the flow of time.

    Due to this, the word 'soon' when uttered by a programmer should be taken to mean 'a very, very long time from now' in the terminology used by common human specimens who have not developed such an adaptation.
    knowledge can be taught, but passion cannot.
    It's better to create something that others criticise than to create nothing and criticise others.
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Номер 1


    Leanbow's Avatar
    Join Date
    Feb 2008
    Posts
    5,910
    Thanks given
    1,558
    Thanks received
    2,617
    Rep Power
    5000
    Code:
    if(inputString.equals("::coordsandsizeson"))
    CoordsandSizes = true;
    if(inputString.equals("::coordsandsizesoff"))
    CoordsandSizes = false;
    Code:
    if(inputString.equals("::coordsandsizes"))
    CoordsandSizes = !CoordsandSizes;
    CoordsandSizes should be coordsAndSizes
    Reply With Quote  
     

  9. #8  
    Registered Member Latch's Avatar
    Join Date
    Sep 2010
    Posts
    276
    Thanks given
    59
    Thanks received
    14
    Rep Power
    1
    Quote Originally Posted by Harry View Post
    Was this really worth posting? lol
    Nope.
    Reply With Quote  
     

  10. #9  
    Interfacing with your sister

    Streax's Avatar
    Join Date
    Jun 2009
    Posts
    2,311
    Thanks given
    782
    Thanks received
    175
    Rep Power
    229
    Gtfo my thread if your going to troll/spam. i did this for people that removed it and they can also use this to make a message display when somone logs in.

    and also you can use clickx clicky and show coordx and coordy also so you don't have to do ::mypos
    Reply With Quote  
     

  11. #10  
    #1 footwear

    Shoes's Avatar
    Join Date
    Aug 2009
    Age
    24
    Posts
    2,613
    Thanks given
    185
    Thanks received
    255
    Rep Power
    579
    This really isn't worth posting, especially considering that the client already has this.


    Spoiler for different picture now:
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Drawing gameScreen() onto GUI.
    By Continue in forum Help
    Replies: 2
    Last Post: 03-11-2010, 02:56 AM
  2. GameScreen Help
    By Stewie in forum Help
    Replies: 0
    Last Post: 07-10-2009, 12:17 PM
  3. Runescape Resizable GameScreen
    By I.Say.Chris in forum RS2 Client
    Replies: 26
    Last Post: 04-17-2008, 02:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •