How to create and use a custom script

Get your trial key

Live community: https://discord.gg/s39XdMV

New user ? Check guides​ or ask the discord bot

ComMan
ROS BOT
Joined: 03/20/2014 - 17:34
Thu, 08/28/2014 - 14:54 #1

Hi,

This guide will explain how to create, configure, and use a custom script

What is a custom script ?

A custom script is a collection of actions and settings. It can be considered a set of rules for the bot to use a build with.
Custom scripts are linked to your forum account. You can create them online, or import them them from already existing ones (copying or linking). By launching the bot, you now have access to the custom skills that are linked to your account

How to create a custom script ?

  1. Go to My account > Custom script
  2. Press the Add new custom script green button
  3. Configure the few settings, share with the community if you like to
  4. Create your list of actions using the Add new action in the Actions frame

How do actions work ?

  • Actions are evaluated from top to bottom (order HAS an importance)
  • Bot will use the first available action it finds
  • Actions have at least one usage
  • Usages can be mixed to describe more specific situations
  • You can create actions for a spell you don't have in game (bot will of course never use this action)

Note: Interface is not idiot-proof, so do not try all usages at the same time. Some usages mixes CANNOT work

How to use a custom script ?

You need to start the bot (close and restart if you modified a custom script while having the bot launched) to have it appear in the script selection listbox. Select the custom script you wanna run the bot with, enjoy

Please comment this guide if you want to see more information in it (I know there are details missing)

saterus69
DONATOR
Joined: 05/18/2014 - 19:42
Thu, 08/28/2014 - 16:13

Thank you!


One That Knows Nothing,Can Understand Nothing.

Handsett
DONATOR
Joined: 07/04/2014 - 15:11
Thu, 08/28/2014 - 16:24

"Actions are evaluated from top to bottom (order HAS an importance)"

Good to know. Thank you!


burgerking
DONATOR
Joined: 05/14/2014 - 01:14
Thu, 08/28/2014 - 18:48

NOW You can create your very customized Custom Config!
Dont waste the chance to use different conditions for a single Skill.

Example:
use Vault for movement
use Vault as an Attack
use Vault when HP is low
All three actions on one single skill in the same Custom Config!
 



 

MrNiceGuy
DONATOR
Joined: 06/24/2014 - 04:50
Fri, 08/29/2014 - 06:23

3 suggestions here:

1. Disable "Share with the community" in Custom Scripts by default when you copy a build

2. Add the Option "Class" e.G. Wizard, Barbar ... you have to set if you create a custom script. It have to be shown in the Custom Scripts Overview too. Or simply check it automaticly by used skills

3. Inplement an "Sort" button for filtering custom scripts by likes and class


asasser
DONATOR
Joined: 08/22/2014 - 06:04
Fri, 08/29/2014 - 08:24

Let user name the action he created.


rhogan
DONATOR
Joined: 07/03/2014 - 22:55
Sat, 08/30/2014 - 05:19

Im confused on how to configure the script actions to the skill bar? The prior versions custom scripts were easier to make and use.


Valicium
DONATOR
Joined: 08/30/2014 - 04:52
Sat, 08/30/2014 - 05:41

how to stop/play the bot i cant work it well because i can not stop it.


burgerking
DONATOR
Joined: 05/14/2014 - 01:14
Sat, 08/30/2014 - 10:15

Let user name the action he created.

I agree with this suggestion.
Makes writing Scripts alot more easier to understand.

 



 

tempo
ROS BOT
Joined: 03/12/2014 - 04:27
Sun, 08/31/2014 - 08:03

We added the title attribute for the actions and removed the share with community on copy.
Problem now is the remaining duplicate from the start.
So my recommandation now is to remove the share with community for all scripts and you just re share the scripts you want to be visible.


madmk
Joined: 06/18/2014 - 06:26
Mon, 09/01/2014 - 01:28 (Reply to #10)

Press F4 to toggle on/off bot overlay
Press F6 for Pause (Might not always work properly)
Press F7 to quit the bot
 


burgerking
DONATOR
Joined: 05/14/2014 - 01:14
Thu, 09/11/2014 - 20:47

DEVs,

Insufficient info using Channeled Skills like Disintigrate, Whirlwind, Strafe, Tempest Rush.
How do we code it for such?
ie, How will i code if i want to use Disintigrate only when I have X resources, and stop using it when I am below Y resources?

 



 

Alerean
DONATOR
Joined: 10/21/2014 - 15:17
Wed, 10/22/2014 - 23:24

"Note: Interface is not idiot-proof, so do not try all usages at the same time. Some usages mixes CANNOT work"

Which can't be mixed?


Lemyn
DONATOR
Joined: 01/01/2015 - 12:23
Tue, 01/06/2015 - 16:29

Im running into the problem where I add a custom script here and im not seeing it in the drop down menu when I open RoS-BoT


crayze
DONATOR
Joined: 11/23/2014 - 18:49
Sat, 01/17/2015 - 09:41

Oh my gosh I have no idea what im doing :D


simplyjohn11
Joined: 07/13/2014 - 04:13
Tue, 01/27/2015 - 21:10

thx for this XD
 


Necromanicum
Joined: 08/16/2014 - 03:36
Sun, 02/01/2015 - 21:35

Dvs, pls! I'm feel a really dumb guy using this beauty. Help? Just show the "variations" of the options with more clarity, you know? Make this stuff more simple and objective.


Necromanicum
Joined: 08/16/2014 - 03:36
Sun, 02/01/2015 - 22:37

Ops! The way is just config the order of the skills for all the same number: set all to one!

Fucking solved.


maalditogaah
Joined: 06/20/2014 - 12:07
Sun, 02/22/2015 - 19:43

How i can use codes like this?

[BotParameters]
MinimumLifePercentPotion = 40
MinimumDistanceFromMoveSkill = 30
Power1 = WitchDoctor_SpiritWalk
Power1Usage = Buff
Power1DistanceAttack = 0
Power1Resource = None
Power1Cost = 0
Power1Priority = 0
Power1Channelling = False
Power1DensityScan = 0
Power1DensityRange = 0
Power1DensityMinMob = 0
Power1ResourceBuff = Primary
Power1BuffMinimumValue = 0
Power1Timer = 0
Power2 = WitchDoctor_LocustSwarm
Power2Usage = BuffDensityAroundMe
Power2DistanceAttack = 0
Power2Resource = Primary
Power2Cost = 300
Power2Priority = 0
Power2Channelling = False
Power2DensityScan = 10
Power2DensityRange = 30
Power2DensityMinMob = 1
Power2ResourceBuff = Primary
Power2BuffMinimumValue = 0
Power2Timer = 5000
Power3 = WitchDocotr_SoulHarvest
Power3Usage = BuffLife
Power3DistanceAttack = 0
Power3Resource = Primary
Power3Cost = 0
Power3Priority = 0
Power3Channelling = False
Power3DensityScan = 10
Power3DensityRange = 30
Power3DensityMinMob = 1
Power3ResourceBuff = Primary
Power3BuffMinimumValue = 98
Power3Timer = 0
Power4 = WitchDoctor_Horrify
Power4Usage = BuffDensityAroundMe
Power4DistanceAttack = 0
Power4Resource = Primary
Power4Cost = 0
Power4Priority = 0
Power4Channelling = False
Power4DensityScan = 10
Power4DensityRange = 30
Power4DensityMinMob = 1
Power4ResourceBuff = Primary
Power4BuffMinimumValue = 0
Power4Timer = 0
PowerLeftClick = WitchDoctor_Haunt
PowerLeftClickUsage = Attack
PowerLeftClickDistanceAttack = 8
PowerLeftClickResource = None
PowerLeftClickCost = 50
PowerLeftClickPriority = 0
PowerLeftClickChannelling = False
PowerLeftClickDensityScan = 0
PowerLeftClickDensityRange = 0
PowerLeftClickDensityMinMob = 0
PowerLeftClickResourceBuff = Primary
PowerLeftClickBuffMinimumValue = 0
PowerLeftClickTimer = 0
PowerRightClick = WitchDoctor_Piranhas
PowerRightClickUsage = BuffDensityAroundMe
PowerRightClickDistanceAttack = 8
PowerRightClickResource = Primary
PowerRightClickCost = 0
PowerRightClickPriority = 0
PowerRightClickChannelling = False
PowerRightClickDensityScan = 5
PowerRightClickDensityRange = 30
PowerRightClickDensityMinMob = 1
PowerRightClickResourceBuff = Primary
PowerRightClickBuffMinimumValue = 0
PowerRightClickTimer = 0
GlobalMonsterDistanceScan = 150


nadz
Joined: 03/17/2015 - 13:19
Tue, 03/17/2015 - 13:51

hwo do i add the script to ROSBOT?


xaxox
Joined: 04/16/2015 - 22:49
Thu, 04/30/2015 - 15:21

how do i save this to my computer so i can still bot when the server goes down?
or is that impossible?


Dragon
DONATOR
Joined: 04/09/2015 - 01:10
Sat, 05/09/2015 - 07:39 (Reply to #21)

Doesn't work like that. The program pulls the information from the website and no where else, although that WOULD be a nice thing to have.

----

Are there any IN-DEPTH guides on how to build a script?
I wanted to make a UE6 script but am lost on how I should do it, and the instructions in the custom script area (as well as this guide) are vague at best.


nrnoble
MODERATOR
Joined: 02/13/2015 - 04:36
Fri, 05/15/2015 - 14:34

I tested one of the existing scripts with my DH (M6) , and it work extremely well. The downside was that I had to overhaul my build to match the script. When I switch back to manual play, I have to swap everything out again (I like my build, it suits my style of play)

What I want do is create my own M6 script for my perferred M6 build, but I'm a bit lost on how assign a Bot action to a skill slot (MB1, MB2, 1-4).... Or am I am to assume ROSBOT auto-detects skills irreguardless of the slot assignment order?

Figured that part out, it does appear the the bot logic detects the slots assignments of the skill, which is cool.

Thanks

 


d3viant
DONATOR
Joined: 09/28/2014 - 23:23
Mon, 08/31/2015 - 01:19

Well, I'll add some useful information:
Put all your long cooldown spells (buffs) at the TOP so they don't get 'forgotten' by spammy skills (generators, other attacks) at the bottom. I had a number of problems solved by this little trick...


ogloc
DONATOR
Joined: 09/16/2015 - 14:55
Wed, 09/16/2015 - 15:32

wow verry useless just paid 5$ for nothing


lastblade
Joined: 09/26/2015 - 10:54
Sun, 09/27/2015 - 23:13

Looking to make a Monk DB but cant figure out how to make it avoid monsters and only go for Eleits. Also how to use dashing strike to fly through the map bypassing mobs. Anyone know how?


ClassyBear
Joined: 09/28/2015 - 20:46
Wed, 09/30/2015 - 18:00 (Reply to #26)

For that, you'll want to mess with either a) your fastmode settings (preferred) to make the required weight to fight need elites or b) change all your skills to attack-density types with weights that are only satisfied with elites. Not sure on the dashing strike though.


s-boc
Joined: 09/29/2015 - 03:29
Thu, 10/08/2015 - 03:07

I have created a barb script and at the bottom of the list I have sprint where I checked the usages "Buff" and "Movment". But it still keeps casting sprint in combat. Why is that?


RockAndRufus
DONATOR
Joined: 12/25/2015 - 23:44
Sun, 12/27/2015 - 14:21

Really need a detailed guide on how to script and what the options mean.. for example how do I create an sc rotation?


r3altim3
Joined: 01/19/2017 - 23:10
Sun, 05/14/2017 - 21:32

What does Whirlwhind mean?


Advertisements

Advertisements