Jump to content

starting out making scripts


Recommended Posts

Posted

I have a decent understanding on how to write java and want to try to make some scripts but I don't understand how to apply it to the game 

for example what I don't understand

1. how to get hook so I can reference things in game  (I was told to look at runelite source but I don't know what what hooks look like or what to do with them when I find them (I found a folder that's called hooks in runelite source full of probably the hook but idk what to do with this))

2. what to do with the script when I'm done with it or how to test it midway

my discord is Jcraw007#9999 it would probably be more convenient to contact me there 

any advice would help thanks :D

Posted
50 minutes ago, crawford796 said:

I have a decent understanding on how to write java and want to try to make some scripts but I don't understand how to apply it to the game 

for example what I don't understand

1. how to get hook so I can reference things in game  (I was told to look at runelite source but I don't know what what hooks look like or what to do with them when I find them (I found a folder that's called hooks in runelite source full of probably the hook but idk what to do with this))

2. what to do with the script when I'm done with it or how to test it midway

my discord is Jcraw007#9999 it would probably be more convenient to contact me there 

any advice would help thanks :D

If you're looking to make scripts with OSBot, you can essentially remove that whole first question since the OSBot API will handle all of that for you.

As for testing, you compile the script with your IDE and put it in your OSBot\scripts folder which is typically located at C:\Users\<your user>

I'd recommend checking out this section too: https://osbot.org/forum/forum/249-scripting-help/

Posted
11 hours ago, crawford796 said:

I have a decent understanding on how to write java and want to try to make some scripts but I don't understand how to apply it to the game 

for example what I don't understand

1. how to get hook so I can reference things in game  (I was told to look at runelite source but I don't know what what hooks look like or what to do with them when I find them (I found a folder that's called hooks in runelite source full of probably the hook but idk what to do with this))

2. what to do with the script when I'm done with it or how to test it midway

my discord is Jcraw007#9999 it would probably be more convenient to contact me there 

any advice would help thanks :D

tutorial section -> https://osbot.org/forum/forum/250-tutorials/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...