Everything posted by Trees
-
Java Process Id
Need the java process id within the script. I need it to manage my bots outside of the scripting environment. The initial java process created is not the final process of the bot either. I have tried all the solutions using reflection and they are not even working with the reflection flag.
-
random() vs gRandom()
Yeah, it's just a standard random with gaussian values, probably using some like a box-muller transform.
-
random() vs gRandom()
gRandom likely stands for gaussian random. Random - Most randomness, always random number within values. gRandom - Still random, but more likely to be closer to the median value of the range. Ex. random(0, 100) - 30, 20, 5, 86, 40, 33, 99, 44, 33, 11, etc./ gRandom(0, 100) - 30, 44, 66, 55, 23, 10, 0, 75 (values closer to 50) It's useful, because although statistically you have less variation, you can still get the full range. Which means you will normally have average values, but can still have outliers.
-
A Simple Login Handler
Is LoginResponseCodeListener broken or something? Doesn't seem to be getting called at all.
-
Get item ID's and prices by name
Yes definitely use map for this.
-
External library support?
You misunderstood the problem, through the normal script loader it is not possible to use scripts that call external libs... you have to rebuild the OSBot jar to include the external libs in order to get those scripts to work.
-
How to include external dependencies in my script?
Alright so this is working when I run from eclipse using org.osbot.Boot in the launch configuration, but when I try to build the runnable JAR it says no main class found... Also do you extract or package the library for the runnable jar?
-
Use JAR Library
For security issues? It should be at least enabled via CLI. Also your sig is ridiculous.
-
How to include external dependencies in my script?
I am trying to use SQLite now but having trouble... is it not possible? Need a way to "monitor" accounts on gold farm... currently once the bot starts it is not possible to track whether or not the bot successfully loads (when you load the jar from cli, it starts a new process, would need to monitor that process to know when it closes), logs in and runs script (bot can error and not run script, or login issues like ban, already logged in, etc... gonna use a database). Anyone have any suggestions rather than just using PHP/SQL on a webserver?
-
Use JAR Library
How do I go about using/importing an external jar for use in script within OSBot?
-
Stealth Quester
Just bought the script, testing it now. I'm a bit worried about bans though -- first thing I notice is that the bot is typing the exact whole item name into the GE, case sensitive at all. Maybe try to make it not type the full word or lowercase at least (not sure how GE API is set up) EDIT: Looks like the script has some issues with placeholders while withdrawing gold.
-
[FAST] ★★★ Mr Extremez's 07 Gold Shop ★★★ [BEST PRICES]
How much gold do you want: 20m Do you agree to my Terms of Service: Yes Have you added me on Skype: Yes
-
[FAST] ★★★ Mr Extremez's 07 Gold Shop ★★★ [BEST PRICES]
Talking to you now. How much gold do you want: 15m Do you agree to my Terms of Service: Yes Have you added me on Skype: Yes
-
Any Help Would Be Appreciated
Probably an issue with your firewall.
-
anyone script on league?
I make League scripts ^_^ (dev on multiple scripting client forums)
-
Khal Wintertodt
Can you make it run from the falling snow? I know it may not be easy, but maybe check clipping flags like your MLM?
-
Change Proxy?
It might seem useless to you, but it's not to me. And I'm aware it's not possible with the current API, I was just wondering if it was possible.
-
Change Proxy?
Gold farming? Since the latest update lets you change accounts manually via script.
-
Change Proxy?
Possible to change proxy via script without reloading client?
-
Spiderman's Services[Questing][Powerleveling[Void][Torso][1 Def Fire Capes]
Did torso fast. thanks.
-
Spiderman's Services[Questing][Powerleveling[Void][Torso][1 Def Fire Capes]
Added on Skype.
-
Khal Wintertodt
Yeah but when you stop at the same value every time, it's kind sketch. Maybe I'll just disable the smart finish thing.
-
Khal Wintertodt
Can you add randomization to the final points? Stopping right at 500 every time seems like it might lead to bans, not to mention this script is always one of the first people to be done.
-
Creating Events?
Oh I am making scripts, I haven't released anything yet. Mostly for personal and private use. I have about 100 different classes including scripts and utility files in my project. I make scripts for LoL, and did code stuff for RS before that. Along the way I have learned that there is no best or correct way to do something. I have learned that different implementations can work better than what's standard or widely used, in terms of efficiency, output, or something like ban rate. That being said, I do acknowledge that there are a plethora of wrong ways to do things, and direct testing is the best way to check results.
-
Creating Events?
Obviously having a second loop running wouldn't be as efficient, but as long as the conditions to fire an event weren't very CPU intensive, I don't think it makes a difference. The problem with node based stuff is if you do have CPU intensive conditions to check through before running the nodes, which could be particularly bad when dealing with needed failsafes within a script. Although I suppose you could organize it so the fail safes are ran first. In general, nodes are considered event driven scripting, if I was going to use this approach I would probably consider behavior trees.