Jump to content

starting out making scripts


crawford796

Recommended Posts

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

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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