Everything posted by Trees
-
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?
-
[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.
-
Creating Events?
I want to make scripts that are more event based rather than loop/conditional sleep based. For example an event like OnInventoryFull or OnBankOpen. To do this, I need to create an event manager to subscribe and fire events, independent of the main script loop. I'm not very familiar with threading in java, and I'm just wondering what the appropriate way to do this is.
-
What is Auto Muling?
Basically you have code where all the bots join a clan chat and you provide them some command like "!trade" for example, and they all come to one location/world and trade all the resources/money they have made.