Build runelite and install custom plugin tutorial for runescape using Intellij IDEA

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024
  • #runescape
    This is a tutorial on how to build runelite using Intellig IDEA for runescape. the other part is installing a custom plugin to use in game. this is useful for runelite plugin development.
    runelite source: github.com/run...
    plugin source: github.com/sly...
    intellij IDEA: www.jetbrains....
    www.buymeacoff...

ความคิดเห็น • 79

  • @khuntasaurus88
    @khuntasaurus88 ปีที่แล้ว +5

    as soon as you hear the good ol' aussie accent you know it's gonna be a good tutorial. kudos!

  • @youMatterItDoesGetBetter
    @youMatterItDoesGetBetter 8 หลายเดือนก่อน +1

    Your desktop makes me anxious. Nice vid!

  • @sw3ettouch
    @sw3ettouch ปีที่แล้ว +2

    Thank you very much for this, I'm trying to get into programming and this is a fun way to do it.

  • @zoewilliams2010
    @zoewilliams2010 ปีที่แล้ว +2

    Thank you so SO much for your video series!! I was getting started botting ORS using pyautogui a few months ago and then I moved onto using OpenCV directly, but then stopped for a while as I needed to do some thinking about things, had a lot of features I was struggling to implement, the main one was navigating.
    Since finding your channel you've put the wind back in my sails! Resumed development on my OSRS bot now using Runelite, just followed your instructions got everything up and your plugin output the X Y world coordinates! Woo! Now onto building my navigation script :D It was pretty cool to get back into Java also I hadn't used Java since highschool heh
    I'm consuming all of your videos haha thank you again so much! I'm subbed
    Edit: Oh and I just got a PC with a graphics card for like the first time ever so I'm also super excited you've got content covering YOLOv5! Really keen to see more AI content if you have any
    I noticed btw you had a more recent video where you use opencv instead of YOLOv5 though -- which do you think is faster? I have a very average GPU a 1050 ti 4gb only like 700 cuda cores but i have a nice CPU its like a i7-78xx series
    PS: This works with OpenJDK if you don't want to register for Oracle

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      Thank you Zoe! much appreciated! I think yolov5 has more potential than opencv i just found it hard to annote the images to train. That was the most laborious part of the process, but with the yolo plugin in runelite that issue is now resolved so i reckon it will play a bigger part in my scripts for specific complex actions. yes your gpu and cpu will work great.
      oh nice to know about openjdk thank you :)

  • @BTWAIDS
    @BTWAIDS ปีที่แล้ว +1

    You have an excellent tutorial voice

  • @cIeetz
    @cIeetz 8 หลายเดือนก่อน

    Thanks G. Time to send Her. Best wishes this Holiday season

  • @OfficialSamuelC
    @OfficialSamuelC ปีที่แล้ว +3

    I assume those of us with Jagex accounts can't run our own built client as it needs to launch from Jagex launcher, unless there is a way for us to overwrite the current Runelite .exe

    • @IAINTAVINIT
      @IAINTAVINIT 5 หลายเดือนก่อน

      quote from the runelite wiki, worked perfectly for me:
      1. Make sure your RuneLite launcher is version 2.6.3 or newer
      2. For Windows, run RuneLite (configure) from the start menu. Otherwise, pass --configure to the launcher (i.e. /Applications/RuneLite.app/Contents/MacOS/RuneLite --configure on Mac).
      3. In the Client arguments input box add --insecure-write-credentials
      4. Click Save
      5. Launch RuneLite via the Jagex launcher. RuneLite will write your launcher credentials to .runelite/credentials.properties. Do not share this file with anyone.
      6. Launch RuneLite client (eg. via the IDE) and it will use the saved credentials.
      Once you've finished development you can delete the credentials.properties file to return your Runelite back to normal.

  • @WeatherGuruOSRS
    @WeatherGuruOSRS 2 หลายเดือนก่อน

    This is by adding it into a clone of the RuneLite client repo, but isn't it best nowadays to create a plugin using the pluginhub repo?

  • @Noxiousxx
    @Noxiousxx 5 หลายเดือนก่อน +1

    How would I point this towards a private server instead of OSRS?

  • @jsbots
    @jsbots ปีที่แล้ว +2

    Not very familiar with RuneScape stuff but great tutorial!

  • @toughbama
    @toughbama ปีที่แล้ว +3

    Do you know how to setup hot reloading of plugins within runelite? I hate I have to close out of the game and relaunch every time I make a plugin change.

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      sorry no idea, i have been wondering how to do the same too.

    • @toughbama
      @toughbama ปีที่แล้ว +2

      @@slyautomation I figured it out. Launch the code in debugging mode from vscode then within the editor that has your plugin code, right click and click compile in reload. Takes about 5 seconds to reload the plugin, really nice.

  • @user-ib3zz3lc3w
    @user-ib3zz3lc3w 11 หลายเดือนก่อน +1

    How did you view local host at the end of your video? Thanks for the detailed tutorial, very helpful :) i've been pulling all my data off color outlines alone, local host is game changing. Also, do you need to restart the client and login every time you change your code or is there another way to do this? Thanks!

    • @slyautomation
      @slyautomation  11 หลายเดือนก่อน

      type in the url bar: localhost:8080/events

    • @slyautomation
      @slyautomation  11 หลายเดือนก่อน +1

      yep restarting the client is the only way to use updated plugins

  • @confortto
    @confortto ปีที่แล้ว +2

    Question: So when I have made this plugin, can I then run the plugin by running runelite.exe or do i always have to open up intellij IDEA and run it through there? or how/where does it save?

    • @slyautomation
      @slyautomation  ปีที่แล้ว +1

      Once its compiled, there's a jar file thats generated located in the project with your added plugins under runelite-client > target > called like client-1.9.14-SNAPSHOT-shaded.use that version which has shaded at the end.

    • @slyautomation
      @slyautomation  ปีที่แล้ว +1

      run the jar file like an exe since you have a java development kit (JDK) installed with intellij it wil run without issues

  • @bubtheapeman8792
    @bubtheapeman8792 ปีที่แล้ว +2

    Getting this error when installing or testing after updating:
    "There are test failures.
    Please refer to C:\Users\Bub\IdeaProjects\Runelight2
    unelite\cache\target\surefire-reports for the individual test results.
    Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream."
    any idea on a fix?
    Edit: this is me like 20 seconds later lol, In maven I did RuneLite/RuneLite Client/Lifecycle/install and that worked.
    for whatever reason installing under RuneLite alone didnt work for me

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      Make sure in the project structure (use the top banner, select file then select project structure) you're using under project > SDK either openjdk-14 is used or oracle jdk 11 used in the tutorial. Next is to update the project in the top right hand corner click the blue arrow icon to update (or use ctrl + t) then on the popup prompt, select the merge option. Next use maven on the right side of the page and under lifecycle select 'clean' this will ensure the project doesn't have any weird legacy settings. then once thats complete use maven again on the right side of the page and under lifecycle select 'install'. Hope this helps!

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      sweet no worries! :)

  • @Xcceler
    @Xcceler ปีที่แล้ว +2

    Can I do this with a private server client as well? I'm trying to get into coding. Figured I'd look into doing something that I've been wanting to do. We're allowed to bot certain things so why not.

  • @Deathurway22
    @Deathurway22 5 หลายเดือนก่อน

    Does this not work anymore or what? Ive done this 100 different times and tried everything. It says loading plugins and says 130+ but then when it opens none of the added plugins are actually there

  • @dinmamma740
    @dinmamma740 ปีที่แล้ว

    Seeing it was updated yesterday,
    posted in github aswell.
    specifically this one spitting out a failure:
    C:\Users\x\IdeaProjects
    unelite2
    unelite-client\target\surefire-reports\TEST-net.runelite.client.plugins.chatcommands.ChatCommandsPluginTest.xml
    with this error message:
    There are test failures.
    Please refer to C:\Users\138336\IdeaProjects
    unelite2
    unelite-client\target\surefire-reports for the individual test results.
    Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
    doublechecked that the JDK is set accordingly in both project and module.
    tried what the guy previously with the same error resolved it with without any success.

  • @MarioGalvanMiranda
    @MarioGalvanMiranda 9 หลายเดือนก่อน

    Hello, I am getting plenty of errors in your scripto such as:
    Cannot resolve method 'getPlane' in 'WorldPoint'
    Cannot resolve method 'getX' in 'Point'
    'WorldPoint()' cannot be applied to '(int, int, int)'
    Is this because I am using the latest RuneLight version?

  • @TyIsaac123
    @TyIsaac123 ปีที่แล้ว +1

    how do i open 2 runelite clients in intellij

  • @meerkattofficial8588
    @meerkattofficial8588 ปีที่แล้ว +1

    I keep getting error "Invalid flag - -release" everytime I run maven on the install, What's causing this?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      if maven install comes with error. Try updating the project by using the keyboard shrtcut ctrl + t or in the top right hand corner click the blue arrow icon. Also try running maven 'clean' its the first option under maven > lifecycle.
      Run that then try and run install again.
      Are you trying to build runelite with a custom plugin or just the standard runelite?
      Hope this helps.

  • @benhancom3638
    @benhancom3638 ปีที่แล้ว +1

    I have a question the scripts that you provide can they run on multiple accs for example the auto mining ones

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      no it only works for 1 account at a time. but if you load a virtual machine with windows installed, pycharm and runelite you can run multiple accounts this way but thats alot of cpu and memory usage for a pc to handle multiple vms

  • @fez7361
    @fez7361 11 หลายเดือนก่อน

    hey, any ideas why the client running through intellj just gives me a frozen screen? Like its just stuck on a black screen once rl has loaded? Have tried different SDKs

  • @NR-yg3iy
    @NR-yg3iy ปีที่แล้ว +1

    So you could ideally make a script using the events from the local host plugin and run it through runelite? edit: I'm in unveristy for computer science going into my 2nd year and have always been curious about creating scripts, just finishing up a course on OOP with java coincidentally... are there any up to date resources available or discords?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      yes exactly! in terms of creating plugins in runelite, there's the api documentation: static.runelite.net/api/runelite-api/index.html that will help with determining which methods and classes do in runelite. the discord for runelite is discord.com/invite/R4BQ8tU

    • @Trip3558
      @Trip3558 หลายเดือนก่อน

      scripts to cheat lol dont get me interested...im just learning runescape now for fun or what I noticed since just taking on a project for myself is, this is actually extremely useful for RSPS building. Instead of using tools this is actually a really good plug in to can check animations, object ID, coords & more. Which yeah I guess makes 100% sense why it would be useful for scripts. sorry to grave dig :D

  • @user-ib3zz3lc3w
    @user-ib3zz3lc3w 11 หลายเดือนก่อน

    Hi, another question, if i highlight a tile or obj and then close runelite, when i rerun it its not highlighted anymore, is there a way to load these properly? Thanks again :D

  • @Podcastener
    @Podcastener 3 หลายเดือนก่อน

    @SlyAutomation Is the HTTP plugin an illegal plugin? I run strictly color bots, and I worry that Jagex is able to detect the plugin. Does it use reflection to get the data?

    • @slyautomation
      @slyautomation  3 หลายเดือนก่อน

      No there no illegal actions that take place in that plugin. No reflection tasks are done as it doesn't interact with the client eg open inventory or click npc or change key binds. It only receives data.

    • @Podcastener
      @Podcastener 3 หลายเดือนก่อน

      @@slyautomation Awesome, thank you so much for responding. I appreciate it. I love your videos, they inspired me to create my own scripts. I have been successfully botting for a while now!

  • @Adam-TheLiftedKing
    @Adam-TheLiftedKing 8 หลายเดือนก่อน

    it says it cant find the interface id class

  • @Red-wc1br
    @Red-wc1br ปีที่แล้ว +1

    Sick!

  • @studiobloomxyz
    @studiobloomxyz ปีที่แล้ว +1

    08:21 you started speaking in digital tongues?
    good tut btw

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      haha that part was sped up so the audio was sped up too.

  • @Bladeanator
    @Bladeanator ปีที่แล้ว

    Have you ever used luaJ for scripts for botting would love to see how luaj works as it seems simple for most part but not sure how to setup for osrs to learn it I've only used Java for creating scripts

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      No I haven't used luaJ before, it could be a good alternative but not sure where to start with it

    • @Bladeanator
      @Bladeanator ปีที่แล้ว

      @@slyautomation is it possible to install morghttp plugin on a rsps that doesn't have it?

  • @adrianfam8098
    @adrianfam8098 ปีที่แล้ว +1

    Can playing on devmode get u banned?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      No those plugins generally in Dev mode have signatures on them as approved by runelite and jagex. So no functions that break the rules.

  • @deffe45
    @deffe45 ปีที่แล้ว +1

    you have discord? i have some pvp plugins that i wanna use on runelite . can you please help me?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      Hey Stefan here it is: discord.gg/9ejb6AWR

  • @ronaldc8634
    @ronaldc8634 3 หลายเดือนก่อน

    no one knows wtf you said at 8:21 lol can you please add an annotation?? lol thx

  • @Jesse-ly8nl
    @Jesse-ly8nl ปีที่แล้ว +1

    Hi Sly, thank you for the video - beginner coding enthusiast here - do you have a Discord community I could join? I'm also based in Oz and would love to learn more from you! Cheers!

    • @slyautomation
      @slyautomation  ปีที่แล้ว +1

      Hey Jesse much appreciated 🙂 here's the discord: discord.gg/55DXk4WU

    • @TheB100NL
      @TheB100NL ปีที่แล้ว

      @@slyautomation Does not work anymore :(

  • @TheycallmeCummings
    @TheycallmeCummings ปีที่แล้ว

    I can't seem to access the plugin hub. Also, most plugins I've found around GitHub both for Runelite and the legacy OpenOSRS error out when I try and add them. Could you do a run-through with a single larger plugin like the HD117?
    UPDATE: I learned rewriting the current "1.X.X-Snapshot" with the current standard build restores the plugin hub. Still working on manually adding custom plugins.

    • @slyautomation
      @slyautomation  ปีที่แล้ว +2

      hey Jacob, i'll do a turorial no worries, let me know which ones you're having trouble with.

    • @TheycallmeCummings
      @TheycallmeCummings ปีที่แล้ว

      @@slyautomation If i had to pick a single one it would be Ganom's One Click plugin. It was the biggest QOL plugin snuffed by the 3rd party crackdown. Anything from the Ganom and xKylee collections really. It's nice having a counter above Olms head keeping tabs on the cycle.

    • @InfectiousRabbits
      @InfectiousRabbits ปีที่แล้ว +1

      I'm trying to figure out the same things, so @SlyAutomation it would be amazing if you could make a tutorial! Gained a sub

    • @omarh.6869
      @omarh.6869 ปีที่แล้ว

      Do you mind explaining how you restored the plugin hub?

    • @TheycallmeCummings
      @TheycallmeCummings ปีที่แล้ว

      @Omar H. read my "UPDATE". You have to rewrite the build version to match whatever runelite's current build is. It's been a while, but if you do a search for the snapshot version, then do something like right click and replace all with whatever text you want. Replace it with the current version.

  • @user-wo7tx5bl3u
    @user-wo7tx5bl3u ปีที่แล้ว

    Can you get banned for using your own plugins?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      Depends on what you design, check the jagex rules but a summary is anything that tracks projectiles or alerts the next phase of an NPC (zulrah rotation change) or performs any do actions (does an action without human interaction) with the plugin that reduces clicks then they will be a red flag.

    • @houssamassabahi6344
      @houssamassabahi6344 ปีที่แล้ว

      @@slyautomation But would this not mean that the plugin is undetectable? Overlays are undetectable no? And using the client through intelij should also be undetectable because its the same api as runelite itself no? Correct me if im wrong!

    • @cIeetz
      @cIeetz ปีที่แล้ว

      @@houssamassabahi6344 *pointing at head winking emote*

  • @Gematrinator
    @Gematrinator ปีที่แล้ว +1

    Can i use runelite from source and add the openosrs plugins

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      yes you can there are some packages/api functions that are named different and others that are not needed in runelite. so changing those in the java class files and the plugin should work in runelite

  • @Gematrinator
    @Gematrinator ปีที่แล้ว +1

    If i want to add old openosrs plugins to this how would i do it?

    • @slyautomation
      @slyautomation  ปีที่แล้ว

      create a new folder in the plugins directory and add the java files. refactor the java files package at the top of the file code so it now references the folder path ie: package net.runelite.client.plugins. . Make sure they are the same format so a config file that extends config and the main plugin file where the class extends Plugin.

    • @Gematrinator
      @Gematrinator ปีที่แล้ว

      @@slyautomation god that sounds so confusing to me

    • @Gematrinator
      @Gematrinator ปีที่แล้ว

      @@slyautomation i will try to attempt this later thank you

    • @connor8614
      @connor8614 8 หลายเดือนก่อน

      @@Gematrinator Did you ever manage to figure it out?