Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!
  1. cspangler11

    Question Paint not showing up?

    I followed the EmbeddableUI tutorial and it works. However, when I'm having trouble closing the GUI and opening the paint when the start button is clicked. private EventHandler<ActionEvent> getStartButtonAction() { return event -> {...
  2. cspangler11

    Question Paint not showing up?

    Will this work? @Override public void onItemAdded(ItemEvent itemEvent) { ItemDefinition def = itemEvent.getItem().getDefinition(); if (def != null && def.getName().equals(finishedPotion)) { potionsMade++; potsPerHour = (int) (potionsMade * 3600000D /...
  3. cspangler11

    Question Paint not showing up?

    It's a long shot for me, but i'll try it. Do I update the stats of the bot in the loop?
  4. cspangler11

    Question Paint not showing up?

    Well, then I'm completely lost on how to make a paint and update the statistics of the bot. I hope the users don't mind not tracking the stats lol
  5. cspangler11

    Question Paint not showing up?

    The paint will not show up at all. I've implemented the PaintListener, added the listener to the onStart @Override public void onStart(String... args) { getEventDispatcher().addListener(this); setLoopDelay(250, 500); } @Override public void onPaint(Graphics2D g){...
  6. cspangler11

    Question How to properly make a gui

    I just said to hell with it. I just downloaded the standalone SceneBuilder. I was trying to launch from within IntelliJ. I'll push a basic Portable well script out soon just to test :) When I open my GUI now, my script doesn't stop to wait for the input. I'm invoking like this in the onStart...
  7. cspangler11

    Question How to properly make a gui

    I create the .fxml file within my project package, then right click that and select 'Open in SceneBuilder' and I get the following error code: Failed to start SceneBuilder: C:\Users\Cameron\IdeaProjects\RuneMate\src\com\herblore\Herblore.fxml...
  8. cspangler11

    Question How to properly make a gui

    So, I've made some pretty extensive bots so far, but unfortunately, I've struggled with making GUI's for them to be fully completed for public release. I was never very knowledgeable with JavaFX or Swing. SceneBuilder won't even work for me so I'm throwing that out. I'm just pissed and in need...
  9. cspangler11

    Question How to properly filter an NPC who's attacking me

    I'm having trouble getting the actual NPC who's in combat with my player. My combat handler begins to choose a new target before I've killed the current target. Any help?
Top