Thread: Need Help with Powerbot dicer script

Results 1 to 7 of 7
  1. #1 Need Help with Powerbot dicer script 
    Registered Member
    Join Date
    Jul 2019
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I ran across this and im on mac been trying to get this to work but the script wont compile i need help or another free option
    when i try to compile i get this code:
    Spoiler for 85 errors:
    Parsing Input...
    Compiling...
    Standard Output from javac:
    /tmp/jc_5073/Dicer.java:5: error: package org.rsbot.event.events does not exist
    import org.rsbot.event.events.MessageEvent;
    ^
    /tmp/jc_5073/Dicer.java:6: error: package org.rsbot.event.listeners does not exist
    import org.rsbot.event.listeners.MessageListener;
    ^
    /tmp/jc_5073/Dicer.java:7: error: package org.rsbot.script does not exist
    import org.rsbot.script.*;
    ^
    /tmp/jc_5073/Dicer.java:8: error: package org.rsbot.script.wrappers does not exist
    import org.rsbot.script.wrappers.RSInterface;
    ^
    /tmp/jc_5073/Dicer.java:9: error: package org.rsbot.script.wrappers does not exist
    import org.rsbot.script.wrappers.RSItem;
    ^
    /tmp/jc_5073/Dicer.java:10: error: package org.rsbot.script.wrappers does not exist
    import org.rsbot.script.wrappers.RSPlayer;
    ^
    /tmp/jc_5073/Dicer.java:13: error: cannot find symbol
    public class Dicer extends Script implements MessageListener {
    ^
    symbol: class Script
    /tmp/jc_5073/Dicer.java:13: error: cannot find symbol
    public class Dicer extends Script implements MessageListener {
    ^
    symbol: class MessageListener
    /tmp/jc_5073/Dicer.java:12: error: cannot find symbol
    @ScriptManifest(authors = {"Nathan Roys"}, keywords = {"dice"}, name = "Power Dicer", description = "Powerful dicing script, set the options in the GUI, start at W18 EDGE BANK!! (reccommended)", version = 1)
    ^
    symbol: class ScriptManifest
    /tmp/jc_5073/Dicer.java:87: error: cannot find symbol
    public boolean rollDice(RSPlayer player, int betAmount) {
    ^
    symbol: class RSPlayer
    location: class Dicer
    /tmp/jc_5073/Dicer.java:115: error: cannot find symbol
    public void tradeWinnings(RSPlayer player, int winnings) {
    ^
    symbol: class RSPlayer
    location: class Dicer
    /tmp/jc_5073/Dicer.java:175: error: cannot find symbol
    public int takeMoney(RSPlayer player) {
    ^
    symbol: class RSPlayer
    location: class Dicer
    /tmp/jc_5073/Dicer.java:248: error: cannot find symbol
    public void messageReceived(final MessageEvent me) {
    ^
    symbol: class MessageEvent
    location: class Dicer
    /tmp/jc_5073/Dicer.java:30: error: method does not override or implement a method from a supertype
    @Override
    ^
    /tmp/jc_5073/Dicer.java:32: error: cannot find symbol
    log.warning("WARNING: You MUST start this bot with money, otherwise it will crash!");
    ^
    symbol: variable log
    location: class Dicer
    /tmp/jc_5073/Dicer.java:33: error: cannot find symbol
    log.warning("WARNING: You MUST start this bot with money, otherwise it will crash!");
    ^
    symbol: variable log
    location: class Dicer
    /tmp/jc_5073/Dicer.java:34: error: cannot find symbol
    log.warning("Errors may occour, this can be caused when a player declines a trade\n"
    ^
    symbol: variable log
    location: class Dicer
    /tmp/jc_5073/Dicer.java:44: error: method does not override or implement a method from a supertype
    @Override
    ^
    /tmp/jc_5073/Dicer.java:46: error: cannot find symbol
    if ((System.currentTimeMillis() - lastMessage) >= MESSAGE_TIME + random(0, 2500)) {
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:47: error: cannot find symbol
    if (trade.inTrade()) {
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:48: error: cannot find symbol
    sleep(20000);
    ^
    symbol: method sleep(int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:50: error: cannot find symbol
    keyboard.sendTextInstant(ADVERTISE[random(0, ADVERTISE.length)].replace("{winpoint}", WIN_POINT + "").replace("{multiplier}", MULTIPLIER + "").replace("{ccname}", CC_NAME), true);
    ^
    symbol: variable keyboard
    location: class Dicer
    /tmp/jc_5073/Dicer.java:50: error: cannot find symbol
    keyboard.sendTextInstant(ADVERTISE[random(0, ADVERTISE.length)].replace("{winpoint}", WIN_POINT + "").replace("{multiplier}", MULTIPLIER + "").replace("{ccname}", CC_NAME), true);
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:54: error: cannot find symbol
    if (!trade.inTrade() && (System.currentTimeMillis() - winnerClear) > 60000) {
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:58: error: cannot find symbol
    return random(500, 500);
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:61: error: method does not override or implement a method from a supertype
    @Override
    ^
    /tmp/jc_5073/Dicer.java:63: error: cannot find symbol
    log.warning("Thank you for using Power Dicer, please report any bugs!");
    ^
    symbol: variable log
    location: class Dicer
    /tmp/jc_5073/Dicer.java:68: error: cannot find symbol
    String text = this.interfaces.getComponent(137, i).getText();
    ^
    symbol: variable interfaces
    /tmp/jc_5073/Dicer.java:89: error: cannot find symbol
    if (!inventory.contains(DICE_ID)) {
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:92: error: cannot find symbol
    keyboard.sendText(POT_SAY[random(0, POT_SAY.length)].replace("{pot}", getStandardForm(betAmount * MULTIPLIER)), true);
    ^
    symbol: variable keyboard
    location: class Dicer
    /tmp/jc_5073/Dicer.java:92: error: cannot find symbol
    keyboard.sendText(POT_SAY[random(0, POT_SAY.length)].replace("{pot}", getStandardForm(betAmount * MULTIPLIER)), true);
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:98: error: cannot find symbol
    inventory.getItem(DICE_ID).interact("Friends-roll");
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:100: error: cannot find symbol
    } while (getMyPlayer().getAnimation() != 11900);
    ^
    symbol: method getMyPlayer()
    location: class Dicer
    /tmp/jc_5073/Dicer.java:101: error: cannot find symbol
    sleep(random(5000, 7000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:106: error: cannot find symbol
    keyboard.sendText(WIN_RESPONSES[random(0, WIN_RESPONSES.length)], true);
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:106: error: cannot find symbol
    keyboard.sendText(WIN_RESPONSES[random(0, WIN_RESPONSES.length)], true);
    ^
    symbol: variable keyboard
    location: class Dicer
    /tmp/jc_5073/Dicer.java:109: error: cannot find symbol
    keyboard.sendText(LOSE_RESPONSES[random(0, LOSE_RESPONSES.length)], true);
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:109: error: cannot find symbol
    keyboard.sendText(LOSE_RESPONSES[random(0, LOSE_RESPONSES.length)], true);
    ^
    symbol: variable keyboard
    location: class Dicer
    /tmp/jc_5073/Dicer.java:125: error: cannot find symbol
    sleep(random(2000, 4000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:126: error: cannot find symbol
    } while (!trade.inTrade());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:127: error: cannot find symbol
    inventory.getItem(995).interact("Offer-x");
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:129: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:130: error: cannot find symbol
    } while (!interfaces.get(752).isValid());
    ^
    symbol: variable interfaces
    location: class Dicer
    /tmp/jc_5073/Dicer.java:131: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:132: error: cannot find symbol
    keyboard.sendText(winnings + "", true);
    ^
    symbol: variable keyboard
    location: class Dicer
    /tmp/jc_5073/Dicer.java:134: error: cannot find symbol
    trade.acceptTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:137: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:140: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:141: error: cannot find symbol
    } while (!trade.inTradeSecond());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:143: error: cannot find symbol
    trade.acceptTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:147: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:150: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:151: error: cannot find symbol
    } while (trade.inTrade());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:178: error: cannot find symbol
    int oldAmount = inventory.getItem(995).getStackSize();
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:187: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:189: error: cannot find symbol
    } while (!trade.inTrade());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:192: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:195: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:196: error: cannot find symbol
    } while (trade.inTrade() && trade.getNumberOfItemsOffered() == 0);
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:196: error: cannot find symbol
    } while (trade.inTrade() && trade.getNumberOfItemsOffered() == 0);
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:197: error: cannot find symbol
    RSInterface tradeWindow = interfaces.get(335);
    ^
    symbol: class RSInterface
    location: class Dicer
    /tmp/jc_5073/Dicer.java:197: error: cannot find symbol
    RSInterface tradeWindow = interfaces.get(335);
    ^
    symbol: variable interfaces
    location: class Dicer
    /tmp/jc_5073/Dicer.java:200: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:203: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:205: error: cannot find symbol
    RSItem[] items = trade.getItemsOffered();
    ^
    symbol: class RSItem
    location: class Dicer
    /tmp/jc_5073/Dicer.java:205: error: cannot find symbol
    RSItem[] items = trade.getItemsOffered();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:206: error: cannot find symbol
    for (RSItem item : items) {
    ^
    symbol: class RSItem
    location: class Dicer
    /tmp/jc_5073/Dicer.java:212: error: cannot find symbol
    inventory.getItem(995).interact("All");
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:215: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:220: error: cannot find symbol
    trade.acceptTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:222: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:225: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:226: error: cannot find symbol
    } while (trade.inTradeMain() && !trade.inTradeSecond());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:226: error: cannot find symbol
    } while (trade.inTradeMain() && !trade.inTradeSecond());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:228: error: cannot find symbol
    trade.acceptTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:230: error: cannot find symbol
    trade.declineTrade();
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:233: error: cannot find symbol
    sleep(random(500, 1000));
    ^
    symbol: method random(int,int)
    location: class Dicer
    /tmp/jc_5073/Dicer.java:234: error: cannot find symbol
    } while (trade.inTradeSecond());
    ^
    symbol: variable trade
    location: class Dicer
    /tmp/jc_5073/Dicer.java:235: error: cannot find symbol
    newAmount = inventory.getItem(995).getStackSize();
    ^
    symbol: variable inventory
    location: class Dicer
    /tmp/jc_5073/Dicer.java:247: error: method does not override or implement a method from a supertype
    @Override
    ^
    /tmp/jc_5073/Dicer.java:256: error: cannot find symbol
    if (!trade.inTrade()) {
    ^
    symbol: variable trade
    /tmp/jc_5073/Dicer.java:257: error: cannot find symbol
    RSPlayer player = players.getNearest(me.getSender());
    ^
    symbol: class RSPlayer
    /tmp/jc_5073/Dicer.java:257: error: cannot find symbol
    RSPlayer player = players.getNearest(me.getSender());
    ^
    symbol: variable players
    /tmp/jc_5073/Dicer.java:265: error: cannot find symbol
    log.warning("Script encountered an error... " + e.getMessage());
    ^
    symbol: variable log
    /tmp/jc_5073/Dicer.java:270: error: cannot find symbol
    log.warning("Script encountered an error... " + e.getMessage());
    ^
    symbol: variable log
    location: class Dicer
    85 errors
    Output File(s)
    No Output File created


    scripts supposed features:
    Automatically accepts trades
    Only accepts coins as betting
    Trades the player back when they have won
    Says random goodluck, win and lose responses
    Has a built in autotyper to advertise the fact you are dicing
    Has multiple failsafes to make this bot flawless so you do not lose money, money is checked at every point and only double what the user gives to you is paid back (removing money does not affect the bot)
    Rolls and gets the percentile from the dice for you!

    Spoiler for Large Code!:
    https://www.rune-server.ee/official-runescape/runescape-underground/botting-macroing/scripts/321815-real-dicing-script-autotalker-customizable-options-free.html
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Be the change you wanna see!
    Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    258
    Thanks given
    62
    Thanks received
    62
    Rep Power
    54
    Use an IDE to program mate
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2019
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Nozemi View Post
    Use an IDE to program mate
    this is code i ripped from the archives i have intellij and ECLIPSE both on my vm how can i go about getting that code through it
    Reply With Quote  
     

  4. #4  
    Be the change you wanna see!
    Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    258
    Thanks given
    62
    Thanks received
    62
    Rep Power
    54
    Quote Originally Posted by donniejayy View Post
    this is code i ripped from the archives i have intellij and ECLIPSE both on my vm how can i go about getting that code through it
    Just putting it in there? Use Google... That is an extremly generic and easily Google-able thing to do.

    Your issue is that you import classes that doesn't exist for you, because you only took part of the code or whatever.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2019
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Nozemi View Post
    Just putting it in there? Use Google... That is an extremly generic and easily Google-able thing to do.

    Your issue is that you import classes that doesn't exist for you, because you only took part of the code or whatever.
    i had that figured i thank you for the help but im new and wanting to know how get the classes im missing cause in the post i got it from he gave us just a whole script download no sort of seperate items
    the link is here: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Be the change you wanna see!
    Nozemi's Avatar
    Join Date
    Jul 2010
    Posts
    258
    Thanks given
    62
    Thanks received
    62
    Rep Power
    54
    Quote Originally Posted by donniejayy View Post
    i had that figured i thank you for the help but im new and wanting to know how get the classes im missing cause in the post i got it from he gave us just a whole script download no sort of seperate items
    the link is here: [Only registered and activated users can see links. ]
    You probably need to compile it with RSBot.jar. You can add that as a library in Eclipse or IntelliJ. If you're not sure how to do that, you can Google "How to add external libraries in IntelliJ". Switch IntelliJ with Eclipse if you use Eclipse.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2019
    Posts
    4
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Nozemi View Post
    You probably need to compile it with RSBot.jar. You can add that as a library in Eclipse or IntelliJ. If you're not sure how to do that, you can Google "How to add external libraries in IntelliJ". Switch IntelliJ with Eclipse if you use Eclipse.
    update still 0 luck on this request
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 12-13-2017, 01:15 AM
  2. Need Help With Installing Vote Script
    By Dr. Client in forum Help
    Replies: 0
    Last Post: 06-07-2013, 03:44 AM
  3. Replies: 1
    Last Post: 07-10-2012, 06:01 PM
  4. Replies: 1
    Last Post: 01-02-2011, 02:58 PM
  5. Need help with Script
    By big king in forum Help
    Replies: 0
    Last Post: 01-04-2010, 04:59 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
  •