Scripts not showing up

Discussion in 'Developer Support' started by not_mallard, May 26, 2015.

  1. I'm trying to write a script bot, currently it's just supposed to print something out but it does not show up in the bot table.

    [​IMG]

    Here's my main class
    Code (Text):
    1.  
    2. package me.themallard.woodcooker;
    3.  
    4. import com.runemate.game.api.script.framework.LoopingScript;
    5.  
    6. public class Woodcooker extends LoopingScript {
    7.  
    8.     @Override
    9.     public void onStart(String... arg0) {
    10.         System.out.println("Hello, World!");
    11.     }
    12.    
    13.     @Override
    14.     public void onLoop() {
    15.  
    16.     }
    17.  
    18. }
    19.  
    and my manifest
    Code (Text):
    1.  
    2. <manifest>
    3.     <main-class>me.themallard.woodcooker.Woodcooker</main-class>
    4.     <name>Woodcooker</name>
    5.     <description>Chops trees and lights them.</description>
    6.     <version>0.0.1</version>
    7.    
    8.     <compatibility>
    9.         <game-type>OSRS</game-type>
    10.     </compatibility>
    11.    
    12.     <categories>
    13.         <category>WOODCUTTING</category>
    14.         <category>FIREMAKING</category>
    15.     </categories>
    16. </manifest>
    17.  
    I set up an Eclipse run configuration (aint nobody got time for copying files every time I want to test) like this
    [​IMG]
    [​IMG]

    I really can't figure this out; there are no errors in the console or in my code.
    Can somebody help me? Thanks :)
     
  2. I have the same problem tbh :p there is no real tutorial on how to run your own local scripts bots if i am correct
     
  3. Eagles13 has a tutorial on setting up IntelliJ for developing RuneMate bots, it seems to work for him.
     
  4. Yes, but i learned scripting for RSBot in Eclipse back in the day :p hoping to another IDE does not seem to be a good choise for me :p
     
  5. Yeah, I prefer Eclipse too.
    If I get it working I'll show you how I did it (or post a guide).
     
  6. That would be really nice of you! :)
     
  7. ayy lmao, i got it working.
    I need to make a symlink.
    To do this
    Code (Text):
    1.  
    2. mklink /J C:\Users\<your username>\Runemate\bots\<package> C:\Workspace\bot\bin\<package>
    3. so I used
    4. mklink /J C:\Users\nigglet\Runemate\bots\me D:\Projects\bot\woodcooker\bin\me
    5.  
     

Share This Page

Loading...