Thread: OSBot script to get player Animation ID's

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 OSBot script to get player Animation ID's 
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    So I'm currently working on rooftop agility courses and made this very quickly to get the animations thought it may be of some use to someone else also.

    Code:
    import java.awt.Color;
    import java.awt.Font;
    import java.awt.Graphics2D;
    import org.osbot.rs07.script.Script;
    import org.osbot.rs07.script.ScriptManifest;
    
    @ScriptManifest(author = "01053", info = "Animation Grabber", name = "Animation Grabber", version = 1, logo = "")
    
    public class Animation extends Script {
    
    	@Override
    	public int onLoop() throws InterruptedException {
    		return random(200, 300);
    	}
    
    	@Override
    	public void onPaint(Graphics2D gr) {
    		gr.setFont(new Font("Ariel", 0, 20));
    		gr.setColor(Color.BLACK);
    		gr.drawString("Current Animation: " + myPlayer().getAnimation(), 150, 384);
    	}
    }
    Download for the jar, add it into OSBot > Scripts directory and it will become a local script for when you use OSBot.

    Download Animation.Grabber.jar @ UppIT

    What it does:

    Attached image


     


  2. #2  
    Registered Member
    The Reverse's Avatar
    Join Date
    Nov 2014
    Posts
    936
    Thanks given
    168
    Thanks received
    289
    Rep Power
    520
    Wow that is simple xD, Thanks man.

    Edit
    Don't we have to play the .class files in script folder?

    Darkness cannot drive out darkness; only light can do that. Hate cannot drive out hate; only love can do that.
    Martin Luther King, Jr.

     

  3. #3  
    King Of The North
    Pablo Escobar's Avatar
    Join Date
    Jan 2013
    Posts
    155
    Thanks given
    70
    Thanks received
    51
    Rep Power
    14
    Thanks for this buddy
     

  4. #4  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by The Reverse View Post
    Wow that is simple xD, Thanks man.

    Edit
    Don't we have to play the .class files in script folder?
    Nope, has to be jarred at least as far as I know. and yeah it is simple


     

  5. #5  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    Didn't Poesy700 release this as well?
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
     

  6. #6  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by Idiot Bird View Post
    Didn't Poesy700 release this as well?
    yeah I just seen it then I wasn't aware , another one can't hurt I guess.


     

  7. #7  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Can't this already be achieved by debugging?
    Attached image
     

  8. #8  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by Elon Musk View Post
    Can't this already be achieved by debugging?
    No, not that I am aware of.


     

  9. #9  
    Registered Member
    Join Date
    May 2012
    Posts
    445
    Thanks given
    31
    Thanks received
    19
    Rep Power
    48
    Thanks for that bro, but could you upload it to dropbox or something else because I couldn't download it from that link :/
    My services at No1killme's services
     

  10. #10  
    The One And Only

    01053's Avatar
    Join Date
    Apr 2011
    Age
    28
    Posts
    2,887
    Thanks given
    417
    Thanks received
    885
    Rep Power
    856
    Quote Originally Posted by No1killme View Post
    Thanks for that bro, but could you upload it to dropbox or something else because I couldn't download it from that link :/
    https://www.dropbox.com/s/6912kdk270...abber.jar?dl=0 enjoy.


     

  11. Thankful user:


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. How to get interface string ids?
    By eskrow in forum Help
    Replies: 2
    Last Post: 04-09-2011, 07:37 PM
  2. methods to get players, make a econ, stop inflation
    By Tamatea in forum Informative Threads
    Replies: 11
    Last Post: 02-10-2011, 08:07 AM
  3. whats the best way to get players on ur server?
    By blood eater in forum RS2 Server
    Replies: 2
    Last Post: 01-13-2011, 09:25 PM
  4. Replies: 14
    Last Post: 03-15-2009, 11:07 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
  •