Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Architect [Deleted]

Status
Not open for further replies.
Joined
Mar 23, 2018
Messages
97
Can someone with this issue try and open there JSON file in notepad, copy the text, and then input it into a new notepad document and save it something like "MyBotReloaded.json". After you have done that, can you try and open the file and save it again?

This will help me provide the information Klik will need to investigate this problem.
 
Joined
Jun 12, 2018
Messages
8
Can someone with this issue try and open there JSON file in notepad, copy the text, and then input it into a new notepad document and save it something like "MyBotReloaded.json". After you have done that, can you try and open the file and save it again?

This will help me provide the information Klik will need to investigate this problem.

Worked :)

Can i request a feature that gives NPC conditions like Objects too? (For a combat bot)
 
Last edited:
Joined
Feb 7, 2017
Messages
269
Is there any instructional videos on runemate for how to use this bot? Currently there are no bots that support crafting gems into jewelry, and I was hoping to use this to make one. Unfortunately i have absolutely no idea how to use this bot so a tutorial would be of great use.
 
Joined
Jun 12, 2018
Messages
8
Is there any instructional videos on runemate for how to use this bot? Currently there are no bots that support crafting gems into jewelry, and I was hoping to use this to make one. Unfortunately i have absolutely no idea how to use this bot so a tutorial would be of great use.

OSRS or RS3? Oo
 
Joined
Mar 23, 2018
Messages
97
Is there any instructional videos on runemate for how to use this bot? Currently there are no bots that support crafting gems into jewelry, and I was hoping to use this to make one. Unfortunately i have absolutely no idea how to use this bot so a tutorial would be of great use.

Unfortunately there is no tutorial yet, I haven't quite gotten around to making it. However, in the top right of Architect there is a button that says "Pre-Made". If you click that, it leads you to the Repository of Klik approved bots that you can use as examples to structure your own bot. They range from very simple bots, to extremely complex bots as I tried to highlight the usage of every function in Architect.

While I'm working on producing a quality tutorial on Architect bot writing, you can receive assistance writing your bot in this thread. If you describe what you would like the bot to do, I can try and point you to a bot in the Pre-Made folder that can help you get started. After that, whether or not you can get your bot working you should then post your code in this thread. I can look over your bot and see if there are any optimizations that you can make to improve your bot.

The biggest issue in producing OSRS content is that I don't play OSRS so I cannot write or test bots for OSRS. Most of the RS3 content should work in OSRS with slight modifications, but I cannot guarantee anything or provide support for OSRS.
 
Worked :)

Can i request a feature that gives NPC conditions like Objects too? (For a combat bot)

I'll check Trello, and if I don't see it on the list I will pass it on to Klik.
 
Joined
Jul 5, 2018
Messages
4
Can anyone explain how i join these? I see examples of arrows pointing to the next ones. I would like to make the bot walk to a location, Open a gate and then do some other actions after. How would i write that it? Thank you.
 

Attachments

  • 20200.png
    20200.png
    12.6 KB · Views: 33
Joined
Mar 10, 2018
Messages
147
Can anyone explain how i join these? I see examples of arrows pointing to the next ones. I would like to make the bot walk to a location, Open a gate and then do some other actions after. How would i write that it? Thank you.
drag that bold red box on the left to the blue one. and blue one to the other blue one
 
Joined
Mar 23, 2018
Messages
97
Can anyone explain how i join these? I see examples of arrows pointing to the next ones. I would like to make the bot walk to a location, Open a gate and then do some other actions after. How would i write that it? Thank you.

You click on the node and drag it. When the nodes intersect, and you release the node it will attach to the cross section. So you want to drag the Title bar of the node you're trying to connect to the proper Title bar of the node you want to connect to.

The Walk To command already handles opening gates.

You would do something like

Is Player In Area
-Do Other Actions
No
-Walk To Location
 
Joined
Jul 16, 2018
Messages
2
Hey i was just wondering if someone could please help me make a simple clay softener... withdraw preset 1 from (edgeville) bank, run to (edgeville) well, use clay on well, click "fill" on pop up screen, run back to (edgeville) bank and repeat.
 
Joined
Dec 1, 2016
Messages
66
Okay so i couldnt find any proper urn script so i made very basic one myself with this bot. (Bot is amazing and very easy to use) Though this is my first one ever i would like if someone could tell me how to improve it.
Decorated mining urns - [JSON] Decorated mining urns (Architect) BETA - Pastebin.com
[Stand next to portable, change names for other urns, delete extra stuff in mould tree thats not in firing tree saving changes is not working properly for some reason]
 
Last edited:
Joined
Mar 23, 2018
Messages
97
Okay so i couldnt find any proper urn script so i made very basic one myself with this bot. (Bot is amazing and very easy to use) Though this is my first one ever i would like if someone could tell me how to improve it.
Decorated mining urns - [JSON] Decorated mining urns (Architect) BETA - Pastebin.com
[Stand next to portable, change names for other urns, delete extra stuff in mould tree thats not in firing tree saving changes is not working properly for some reason]

There are some improvements to be had in your code. I will try to go through them, but currently I do not have the time.

If you are unable to save your code, then open up the JSON file, save it in a new Notepad document saved as a .JSON file. Next tiem you load it in the bot you will be able to save it again. It's a temporary workaround.
 
Okay so i couldnt find any proper urn script so i made very basic one myself with this bot. (Bot is amazing and very easy to use) Though this is my first one ever i would like if someone could tell me how to improve it.
Decorated mining urns - [JSON] Decorated mining urns (Architect) BETA - Pastebin.com
[Stand next to portable, change names for other urns, delete extra stuff in mould tree thats not in firing tree saving changes is not working properly for some reason]

I took the time to do a quick run through of your code and tried to optimize it as best as possible. I haven't tested this at all, and you will have to modify some of the settings. I apologize that right now it's only in picture form, I ran into the save bug and did not have time to fix it so I could properly save it again. However, by looking at the code you should be able to recognize a few key differences between your code and mine.

102l5xt.png


If you have an If Statement without anything in the Else section, it's either unneeded or unused.

You were checking to see if you had the maximum of a particular item, instead of checking for the minimum required to do the task. This means that your bot would stop functioning as soon as you preset withdrew less than normal. Instead you should be checking to see if you have enough to do ONE of the current task. So checking for 2 Soft Clay, instead of 14 dec mining urn (unf) means you can continue making urns until you do not have the raw basic materials to make even one.

The other reason you want to see if you have the raw materials to continue instead of checking to see if you have a certain amount of items in your inventory is that you can make the bot stop itself when you run out of materials. Your bot will stop and log out instead of cycling endlessly through your states and leaving you logged in and idling for hours.

You were also forcing the bot to interact with an object before checking to see if a window existed or not. That's just bad practice as if the interface isn't available, then you should force the bot to interact with the object based on that window missing. Otherwise you could be interacting with that object already, and then the bot fails the loop and tries to interact with the portable even though the window is already open. This is very robotic behavior, and can also cause undesired results in your bot's behavior.

Last thing I can recall I noticed what that you had an initial state just to "switch to banking". Why not just making Banking your Initial state?
 
Joined
Oct 1, 2017
Messages
5
Anyone else notice that the bot seems to get stuck on a regular basis? Even with checks every step of the way it'll get stuck on something mundane.

It'll process an Interact With Object function, click the damn object, and just hang there forever like it hasn't already interacted with the object. Same with banking from time to time. It'll just get stuck on Open Bank seemingly forever at random times.

Decided to just give up and not bot for DXP, thing is giving me a headache.

Code:
[{"next":{"values":{"name":"bank"},"name":"Change to State"},"values":{"is_initial":true,"name":"Start"},"name":"State"},{"next":{"next":{"next":{"values":{"text":"HERBLORE"},"name":"Is Interface Visible","true":{"next":{"next":{"values":{"name":"bank"},"name":"Change to State"},"values":{"delay":14000,"delay_max":17000},"name":"Delay"},"values":{"key":" "},"name":"Press Key"},"false":{"next":{"next":{"next":{"next":{"values":{"name":"bank"},"name":"Change to State"},"values":{"delay":14000,"delay_max":17000},"name":"Delay"},"values":{"key":" "},"name":"Press Key"},"values":{"timeout_max":2000,"timeout":1000},"name":"Delay Until Interacting"},"values":{"location_constraint":false,"location_tile":false,"identity":{"string_value":"Portable well","is_integer":false,"integer_value":0},"tile":{"plane":0,"x":0,"y":0},"action":"Mix Potions","location_player":false,"radius":5},"name":"Interact with Object"}},"values":{"timeout_max":2000,"timeout":1000},"name":"Delay Until Interacting"},"values":{"location_constraint":false,"location_tile":false,"identity":{"string_value":"Portable well","is_integer":false,"integer_value":0},"tile":{"plane":0,"x":0,"y":0},"action":"Mix Potions","location_player":false,"radius":5},"name":"Interact with Object"},"values":{"is_initial":false,"name":"craft"},"name":"State"},{"next":{"next":{"values":{},"name":"Is Bank Open","true":{"next":{"next":{"values":{"name":"craft"},"name":"Change to State"},"values":{"delay":1000,"delay_max":2000},"name":"Delay"},"values":{"preset":1},"name":"Load Bank Preset"},"false":{"next":{"next":{"next":{"values":{"name":"craft"},"name":"Change to State"},"values":{"delay":1000,"delay_max":2000},"name":"Delay"},"values":{"preset":1},"name":"Load Bank Preset"},"values":{},"name":"Open Bank"}},"values":{},"name":"Open Bank"},"values":{"is_initial":false,"name":"bank"},"name":"State"}]

Since it came up, checking that a portable well exist during DXP is unnecessary, it will always exist where I activate the script.
 
Joined
Mar 23, 2018
Messages
97
If the bot works flawlessly when the servers are less crowded, then it is probably an issue with Runemate or Runescape servers. Double XP weekends bring a lot of extra traffic, this causes issues communicating between the servers and bots.

Did you try running other bots? Did they all have issues getting stuck where they otherwise wouldn't? Maybe it does have to do with the way Klik handled the checks but we can't confirm that unless you have evidence showing that it only effected Architect.

I don't have the time to load your code up, but I will try to double check that later.
 
Joined
Jun 23, 2016
Messages
68
This is really good. It needs a few updates to allow for more complex scripts to be made, but otherwise brilliant.

One issue that I do have is that sometimes using Item on Item will select an item and then it will sit there and do nothing. It thinks it's selected the next item (misclick, usually) and it'll completely halt. I suggest adding some error detection on Architect's end to prevent this from fucking up someone's day.

I got around this by using "Interact with Item" and then "Click Item" and then using "Is Player Animating" statement three times in a row - if it fails three times, then it just starts over at the bank. I was at a loss on how to get around this, but finally it clicked that I should just add some good ol' error detection to everything and remade my entire potion-making script. Took about 15 minutes, I'd say. Overall around an hour of tinkering. Now I have the fastest, bestest potion-making bot on Runemate.

Thanks klikypants.
 
Status
Not open for further replies.
Top