View Full Version : I dont know how to heal on BlackdProxy
GreenMean
06-14-2013, 04:20
I don't know how to heal on BlackdProxy
Can someone please tell me how to heal
Like
At 200HP - Use "exura" Things like that
Thanks in advance : )
Afwasmidd
06-14-2013, 12:10
The easiest way would be the "HP & MANA" tool in Blackdproxy. You can see it when you start Proxy up. In there you can set up the use of potions or spells when a certain percentage is reached (e.g. HP less than 70%, use spell exura). However this thing doesn't keep your mana in mind. Meaning it will endlessly try to cast this spell even when you don't have enough mana. other players can see you failing to cast a spell and that makes it extremely suspicious. I recommend using Conditionals. Its the "?" option when opening Proxy right next to "EVENTS". In there you can upload conditionals or make them yourself. There are some tutorials about conditionals. Use this (http://www.blackdtools.net/showthread.php?47680-In-date!-Understanding-Conditional-Events-%28In-a-Nutshell%29) one to understand it a little bit better.
After reading that post I can tell you how your conditional should look like:
Thing 1: $myhp$
Operator: #number<=#
Thing 2: 200
Action: exura
The other boxes remain unchecked or unfilled.
This conditional however has the same problem as the "HP & MANA" too. It will try to cast endlessly even when out of mana. Therefore you only want the action exura to happen when you also have the mana for it. You'll need something to happen when 2 conditions are true. Read this (http://www.blackdtools.net/showthread.php?4710-Act-only-if-2-conditions-are-true-amp-act-only-once-whenever-a-condition-is-true) post for a little tutorial about it.
In order to make this happen we are gonna add a custom variable (e.g. _exura) that counts 1 up when one of these conditions is true. When it's value reaches 2 or higher it will cast exura. However when one of these conditions becomes false, the custom variable will drop back to value 0:
Thing 1: $myhp$
Operator: #number>#
Thing 2: 200
Action: exiva _exura = 0
Thing 1: $mymana$
Operator: #number<#
Thing 2: 20
Action: exiva _exura = 0
Thing 1: $mymana$
Operator: #number>=#
Thing 2: 20
Action: exiva _exura = $numericalexp:{$_exura$}+1$
Thing 1: $myhp$
Operator: #number<=#
Thing 2: 200
Action: exiva _exura = $numericalexp:{$_exura$}+1$
Thing 1: $_exura$
Operator: #number>=#
Thing 2: 2
Action: exura
Try it out.
Afwasmidd
06-14-2013, 12:17
But since you made this post I can assume you succeeded installing Blackdproxy?
GreenMean
06-14-2013, 13:21
But since you made this post I can assume you succeeded installing Blackdproxy?
Yup , and you got a very big thanks from me : )
You really helped me alot , and i am botting now : D
GreenMean
06-14-2013, 13:28
And , theres one more thing that has been running through me mind
The bot can take spears but in his backpack , how can I make him take the spear in his hand
-I am a paladin 33 , Where can i bot easily?-
Afwasmidd
06-14-2013, 13:49
You can use the "TRAINER" tool in Proxy. Another tutorial here (http://www.blackdtools.net/showthread.php?225-The-trainer-options). Enable it and check the box "Left Hand". The default ID is for Spears so no need to change that. You can change the "X value" to something like 15. Now you will always have 15 spears in your left hand slot as long as you have spears in your backpack to refill the broken ones. You can probably also use a conditional for this, but I have none at hand.
GreenMean
06-14-2013, 21:09
Afwasmidd I appreciate your help so much dude , <3
But.. , theres one more question i wanna ask : )
Its hard to find a script on where i wanna bot , soo
How can i make my own script
Attack monsters ____ , ____
Set waypoints , how can i do that ? I tried but i didnt undetstand anything
Thanks ( :
Afwasmidd
06-14-2013, 21:54
Afwasmidd I appreciate your help so much dude , <3
But.. , theres one more question i wanna ask : )
Its hard to find a script on where i wanna bot , soo
How can i make my own script
Attack monsters ____ , ____
Set waypoints , how can i do that ? I tried but i didnt undetstand anything
Thanks ( :
Well setting waypoints and stuff is the most annoying part about making your own script. The recent Tibia updates made it even more annoying. When I made my first script I would start the Cavebot and type exiva addmove ingame when I was on a waypoint. Doing this at every waypoint creates a script that has your hunting spot route. But now it says 'you must first learn this spell' when I try to do it that way and it doesn't add the waypoint at all. So with my newer script I just used pencil and paper and wrote down the waypoints. You can see your current coordination with the "CHEATS" tool from proxy. Make it update every so many ms. To set a waypoint in the Cavebot you just type: move x,y,z (e.g. move 33000,33000,7). I always make sure there is a main floor where the script goes back to after every action (7 which is ground level).
Attacking monsters can be done by using setMeleeKill monstername (e.g. setMeleeKill Troll). If you want a certain monster to be killed before another kind of monster you can use setPriority monstername +value (e.g. setPriority Troll Champion +2). These are just 2 basic commands that you can use with the cavebot. There are many more, but some are rarely used. Check this tutorial (http://www.blackdtools.net/showthread.php?21374-Cavebot-for-dummies!-%28EVERYTHING-you-need-to-know!%29) for some info about the different commands.
I think the best way to learn scriptwriting is by using already existing scripts and studying them. This way you'll understand how certain commands work and how you can make them work together. When you know how most of the commands work its basically up to you how you put them to use. At this point your own brain comes in to play. Most of the scripts out there are very basic and are not that difficult to understand. That's why I decided to make my own scripts. At first I tried modifying existing scripts, but I soon started on my own project. It's been 2 weeks now and I made lots of progress. I released 2 scripts so far that I think are of better quality than most scripts available for the same hunting spots. You might find them interesting since I described most of my lines. You can find them here (http://www.blackdtools.net/showthread.php?60392-Afwasmiddel-s-Edron-Rotworms-bot-for-Paladins) and here (http://www.blackdtools.net/showthread.php?60490-Cyclopolis-script-for-Knight-and-Paladins-by-Afwasmiddel). Just mess around a little and eventually you'll get the hang of it. I like to make scripts, so if you ever get stuck and need some help I would be glad to assist you. And even though this forum isn't that lively anymore there are still some good old posts that can help you. I definitely learned a lot from exploring the forum, so I surely recommend doing that as well.
The easiest way would be the "HP & MANA" tool in Blackdproxy. You can see it when you start Proxy up. In there you can set up the use of potions or spells when a certain percentage is reached (e.g. HP less than 70%, use spell exura). However this thing doesn't keep your mana in mind. Meaning it will endlessly try to cast this spell even when you don't have enough mana. other players can see you failing to cast a spell and that makes it extremely suspicious. I recommend using Conditionals. Its the "?" option when opening Proxy right next to "EVENTS". In there you can upload conditionals or make them yourself. There are some tutorials about conditionals. Use this (http://www.blackdtools.net/showthread.php?47680-In-date!-Understanding-Conditional-Events-%28In-a-Nutshell%29) one to understand it a little bit better.
After reading that post I can tell you how your conditional should look like:
Thing 1: $myhp$
Operator: #number<=#
Thing 2: 200
Action: exura
The other boxes remain unchecked or unfilled.
This conditional however has the same problem as the "HP & MANA" too. It will try to cast endlessly even when out of mana. Therefore you only want the action exura to happen when you also have the mana for it. You'll need something to happen when 2 conditions are true. Read this (http://www.blackdtools.net/showthread.php?4710-Act-only-if-2-conditions-are-true-amp-act-only-once-whenever-a-condition-is-true) post for a little tutorial about it.
In order to make this happen we are gonna add a custom variable (e.g. _exura) that counts 1 up when one of these conditions is true. When it's value reaches 2 or higher it will cast exura. However when one of these conditions becomes false, the custom variable will drop back to value 0:
Thing 1: $myhp$
Operator: #number>#
Thing 2: 200
Action: exiva _exura = 0
Thing 1: $mymana$
Operator: #number<#
Thing 2: 20
Action: exiva _exura = 0
Thing 1: $mymana$
Operator: #number>=#
Thing 2: 20
Action: exiva _exura = $numericalexp:{$_exura$}+1$
Thing 1: $myhp$
Operator: #number<=#
Thing 2: 200
Action: exiva _exura = $numericalexp:{$_exura$}+1$
Thing 1: $_exura$
Operator: #number>=#
Thing 2: 2
Action: exura
Try it out.
u should use new functions : d
$istrue:{$check:{$myhp$},#number<#,200$},{$check:{$mymana$},#number>=#,20$}$
#number=#
0
0
500
0
exura
isn't it better?
7 lines instead of ~35 lines
Each "$check:$" returns 0 if condition is true, and 1 if it's false.
$istrue:$ - if all checks are true then returns 0, but if just ONE is false then returns 1
sorry for terrible english :(
Afwasmidd
06-16-2013, 02:53
u should use new functions : d
$istrue:{$check:{$myhp$},#number<#,200$},{$check:{$mymana$},#number>=#,20$}$
#number=#
0
0
500
0
exura
isn't it better?
7 lines instead of ~35 lines
Each "$check:$" returns 0 if condition is true, and 1 if it's false.
$istrue:$ - if all checks are true then returns 0, but if just ONE is false then returns 1
sorry for terrible english :(
All right, didn't know there was something like that. That's definitely more convenient than writing all those other lines. Does this also work with the conditional tool from proxy? Or do you have to make it with txt files?
Yes, it work with "conditional tool"
look:
http://scr.hu/0bwo/3h5sp
Powered by vBulletin® Version 4.2.5 Copyright © 2021 vBulletin Solutions Inc. All rights reserved.