Everything posted by Paradox68
-
More JForm trouble
Thank you. I've solved the list building issues but you wouldn't happen to know why my script closes itself instantly after starting? Would you be able to help me for a minute on it because I can't find any explanation. SOMETIMES the script will run and the GUI will build, majority of the time it instantly exits script and says Error at onStart(). I only have the GUI opening method in onStart so I know it's the UI class but I can't imagine why.. 0 errors and 0 warnings.
-
More JForm trouble
In your snippet, what is core.removeComplexTask(list.getSelectedIndex()); Also why isn't it letting me reference addValues()? Sorry for the needing spoonfeeding I just came back from a long break trying to figure it all out again and I hate GUIs. I still can't seem to get it to add a value to the list.
-
More JForm trouble
Always good to see a helpful Scripter III rank....
-
More JForm trouble
//---- list1 ---- list1.setModel(new DefaultListModel<String>() { /** * */ private static final long serialVersionUID = 5147152121755459135L; String[] values = { main.monstersNearby[0], main.monstersNearby[1], main.monstersNearby[2], main.monstersNearby[3], main.monstersNearby[4], main.monstersNearby[5], main.monstersNearby[6], main.monstersNearby[7], main.monstersNearby[8], main.monstersNearby[9], main.monstersNearby[10], main.monstersNearby[11], main.monstersNearby[12], main.monstersNearby[13], main.monstersNearby[14], main.monstersNearby[15], main.monstersNearby[16], main.monstersNearby[17], main.monstersNearby[18], main.monstersNearby[19], }; @Override public int getSize() { return values.length; } @Override public String getElementAt(int i) { return values[i]; } }); scrollPane1.setViewportView(list1); } //---- button1 ---- button1.setText("> Foes >"); button1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { if (!list1.isSelectionEmpty()) { list2.setModel list1.remove(list1.getComponent(list1.getSelectedIndex())); } } }); What do you think would be a good method to handle this?
-
More JForm trouble
Trying to create a method to send list items back and forth using their respective buttons. //---- button1 ---- button1.setText("> Foes >"); button1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { if (!list1.isSelectionEmpty()) { list2.add(list1.getSelectedValue(), list1.getComponent(list1.getSelectedIndex())); list1.remove(list1.getComponent(list1.getSelectedIndex())); } } }); Tried this method. I know i'm doing something wrong because I have no idea what a component is and I couldn't find a method that didn't use components with Intellisense. Someone helppppp D:
-
Creating a JFormDesigner Form View from code?
That does not really contribute to the problem in the thread....
-
Creating a JFormDesigner Form View from code?
I can generate code from the design view, but how do I generate a design view to edit from the code? I can't find anything in Eclipse to do so. when I try to select all the code and click "Open with > JFormDesigner Edit" it shows this:
-
Thinking about getting back into scripting bots...
And if a public one was made it would probably get used so much that the banrate would be 1-day. Seems counterproductive to me.
-
Thinking about getting back into scripting bots...
Potentially a good idea but there's a reason this one hasn't already been made. The script itself would be super simple but the way the gorillas block you in sometimes can't be handled very reliably by a bot. Users of the script would likely return to find themselves in lumbridge. Fuck off Wiz. Never even played the minigame. MY CABBAGES I don't have an account I could test it on currently but not a bad idea. Only drawback is most people would send the script in thinking it would get them a firecape when that relies entirely on how prepared they are and what levels they have. Leading to a lot of disappointed users. I doubt that sincerely. Why 82 thieve? Never even fought Zul'rah before. I'm sure there are reasons this can't be done considering how popular Zul'rah is and the obvious lack of scripts of this nature.
-
Thinking about getting back into scripting bots...
What script should I make for my return? Suggest good ideas in the replies and no I'm not making a bank organizer script.
-
Renewing JFormDesigner?
No. Oh. Lol. wut. yeah?? i guess. Too much effort. Depending on the person. For me, it's not. Welllllllllllll Opinion. I don't like basketball so no thank you.
-
HAPPY NEW YEAR!
It's not a new year until it's a new year for me, bitches.
-
Renewing JFormDesigner?
Fuck netbeans. I'm already so used to Eclipse.
-
Renewing JFormDesigner?
When I try to register for a trial key with a new e-mail it says I have to use the one I used previously. When I try to register with the one I used previously it says i've used too many trial keys. How do I get around this without having to buy JFormDesigner?
-
Method to define closest NPC that isn't in combat?
A lot actually, thanks dude. Not to be mr. stupid but what's this about?
-
Method to define closest NPC that isn't in combat?
Probably super simple I'm just not sure. Been a while since I've been on here. Also my script keeps getting stuck saying there are arrows to be picked up but there aren't. Any ideas why? public boolean arrowsPresent() { if (getGroundItems().closest(arrowType) != null) { return true; } return false; }
-
[S] 122 Main -Full Void-Fire Cape-Drag. Defender-
$50.01 bid
-
Implementation of Human-like Mouse Movement
Yes but make the stop point closer to the target. and make it sometimes click in error before quickly clicking correctly afterwards. It's undeniably human-like that sometimes you accidentally don't click what you meant to.
-
Need Account Creation done
How much would you pay?
-
Longest Crab Stand off ever
:c no idea what OP is talking about, but a standoff of crabs would have been cool.
-
Implementation of Human-like Mouse Movement
While this is really cool, let me contribute a few thoughts of my own that might help you expand. Instead of always doing an arc, have it randomly switch which movement it does each time it is called between an arc, a stop-go (where it moves close to target diagonally, and then to the target), a bee-line (straight to target), and make the speed of the mouse randomize throughout the interactions so that mouse speed can not be a detected pattern. This would be a truly human-like mouse pattern and would probably be amazing to be able to add such a thing to scripts as it would improve anti-ban regardless of amount of uses due to the large randomization factor.
-
Unable to change scripts without restarting osbot
The red stop button.
-
Why aren't the JavaDocs valid?
w....what are you doing?
- jagex fucked up?