· 6 years ago · Aug 28, 2019, 09:08 PM
1This is the summary of how you're going to run the script, along with some details on various settings.
2
3To start, you're going to need to put the script jar in your Dreambot scripts folder, which is in C:\Users\Username\DreamBot\Scripts
4Except replace Username with whatever your actual path is.
5here you're also going to put a new folder and call it "Scout"
6this folder is where all settings and such go.
7
8So go into the new folder, make a text file and call it myFirstSetting.txt
9You can change the name to whatever you want.
10
11In there, you're going to put:
12{
13"worlds":"301,326,335,379,380,382,383",
14"location":"Testing Lumby",
15"stayInWorld":2,
16"minWorldTime":10,
17"maxWorldTime":13,
18"loginScreenSleep":600,
19"channel":"test-channel",
20"apiKey":"NjExNTM0MDg4MzY0MzU5Njky.XVVNrQ.Z_RYIWLXrvco632TZYgpKxygchs",
21"minCB":30,
22"perCheckCount":10,
23"minValue":500000,
24"category":"scout-log",
25"ignore":"ignore.txt",
26"pkHop":false
27}
28
29Most of these settings are pretty self explanatory.
30"world" you're going to list the worlds in order, separated by a comma. Make sure they're valid worlds, if you put an invalid one something will probably break.
31"location" this is the location you set for logging purposes (in the world -- location log)
32"stayInWorld" this is used if you don't want any randomization in how long between hops, in seconds.
33"minWorldTime" this is the minimum number of seconds you want to stay in the world between hops, used for randomization with maxWorldTime
34"maxWorldTime" this is the maximum number of seconds you want to stay in the world between hops, used for randomization with minWorldTime
35"loginScreenSleep" is the time in seconds that it idles at login screen after it finishes a full set of worlds.
36"channel" this is the channel the discord bot will send messages to
37"apiKey" this is the api key given by the discord bot, if you use more than one bot you'll have to change this key to whatever the bot's key is (it's really easy to set up)
38"minCB" minimum CB level when logging players, their combat level has to be OVER this, so a cb level of 30 will not be logged in this example.
39"perCheckCount" this is how many players are checked per chunk, so if you have 30 players, it'll log 10, log 10, log 10, I'd recommend keeping it around 10, you might run out of space in a discord message.
40"minValue" this is the minimum value of their gear risk for it to tag @everyone, it has to be OVER this amount (not that you'll ever find an acc with exactly 5m risk hah)
41"category" this is the category the discord bot will send messages to, this helps keep things a little more organized.
42"ignore" this is the filename for the list of player names to ignore (more on this down below)
43"pkHop" if this is true, then the bot will log all players, and if there's at least 1 player near you will immediately hop instead of waiting through the min/max seconds.
44
45If you want the bot to always immediately hop after logging all available players, set "minWorldTime" to -1 and set "stayInWorld" to -1
46If you want the bot to use "stayInWorld" instead of randomizing with min/max, set "minWorldTime" and "maxWorldTime" to -1
47
48For the ignore file, you're just going to make a new txt file in the same folder as your settings, you can name it whatever you want (in this example, it's ignore.txt)
49Then you're just going to put one player name on each line, such as:
50JustWantGold
51Pown Day 480
52Flashred100
53Oscar_456
54Rust is Real
55pm2dr8nda
56zqam
57izz mad
58gardlooo
59
60Any name inside that list, the bot won't log. It is not case sensitive, but the _'s and spaces have to match.
61
62
63Now to actually run the script:
64You're going to have to add an account to the db account manager (file->account manager) nickname it whatever you want, fill in login info
65Now go to your desktop, make a new bat file (you can make txt file, edit, then save as->set any file type, name acc1.bat->save)
66In that file you're going to put:
67
68java -Xmx800M -jar -Xbootclasspath/p:"C:\Users\Username\Dreambot\BotData\client.jar" "C:\Users\Username\Dreambot\BotData\client.jar" -userhome acc1 -world 383 -account acc1 -script Scouter -params myFirstSetting.txt
69
70Change C:\Users\Username to whatever your actual path is. On a dedi it would probably be C:\Users\Administrator
71userhome just creates a new location for the RS cache per client (as long as they're different userhomes) you can name it whatever you want, just don't put special characters or spaces in it.
72-account is your account nickname that you set when you added the account to the db account manager
73-params MyFirstSetting.txt this is whatever you named your settings file
74
75Now double click that bat file, and it'll boot up the client, log you in, and you're good to go!
76Make sure your account is at the location that you want it to be for its logging.