Log in

View Full Version : Use looted Small Stones or Spears instead of Weapon



Malmis
03-02-2012, 18:06
This conditional will use small stones or spears when you loot them.
This means it will unequip your melee weapon and use the ranged one instead.
The difference between this one and the old one is with this one you can still loot other stuff with this one! Nifty, huh?
Edit C7 0C to your melee weapon.
Edit CD 0C to small stones or anything else you use, this is normal spears.


1
#number=#
1
0
0
0
exiva _unequipmelee = 0
$hex-equiped-item:06$
#string=#
C7 0C
0
0
0
exiva _unequipmelee = $numericalexp:{$_unequipmelee$}+1$
$countitems:CD 0C$
#number>#
0
0
0
0
exiva _unequipmelee = $numericalexp:{$_unequipmelee$}+1$
$_unequipmelee$
#number=#
2
0
$randomnumber:1100>1250$
0
exiva > 78 FF FF 06 00 00 $hex-equiped-item:06$ 00 FF FF 03 00 00 01
$countitems:CD 0C$
#number>#
0
0
0
0
exiva _equipmelee = 0
$countitems:CD 0C$
#number=#
0
0
0
0
exiva _equipmelee = $numericalexp:{$_equipmelee$}+1$
$_equipmelee$
#number=#
1
0
$randomnumber:1100>1250$
0
exiva #C7 0C 06
$_equipmelee$
#number>=#
500
0
0
0
exiva _equipmelee = 2
1
#number=#
1
0
0
0
exiva _stonecount = 0
$hex-equiped-item:06$
#string<>#
CD 0C
0
0
0
exiva _stonecount = $numericalexp:{$_stonecount$}+1$
$countitems:CD 0C$
#number>#
$numericalexp:{$num-equiped-ammount:06$}-1$
0
0
0
exiva _stonecount = $numericalexp:{$_stonecount$}+1$
$_stonecount$
#number=#
2
1000
$randomnumber:1100>1250$
0
exiva #CD 0C 06

BldMx
03-03-2012, 08:48
Is it safe to send packets with the exiva command, like "exiva > 78 FF FF 06 00 00 $hex-equiped-item:06$ 00 FF FF 03 00 00 01".

I know that package is updated and not invalid but is it still safe?

Malmis
03-03-2012, 11:04
Yes, this is safe. This script never sends an unnecessary packet unless you lag.
Oh, alright, it will use exiva move #XX XX 06 always when zero throwables but BlackD doesn't send if it doesn't find weapon. :p
But I'll fix that now, I just wanted to make it work for my pala and then I released it, now I have time to edit.

BldMx
03-03-2012, 12:39
Glad too see the quick feedback and quick updates! Keep it coming..

Soplas
03-12-2012, 13:31
i'm new in this progran you can show me to active with the waypoint? sorry my english is bad i need help plz

Malmis
03-12-2012, 16:11
i'm new in this progran you can show me to active with the waypoint? sorry my english is bad i need help plz

You save it in a .txt file in your Conds folder where you have installed BlackD Proxy. Then load it in the "?" window of the program, remember Reloading the file-list before.

Soplas
03-13-2012, 03:59
You save it in a .txt file in your Conds folder where you have installed BlackD Proxy. Then load it in the "?" window of the program, remember Reloading the file-list before.

friend the script works as I mentioned, but I have a problem when collecting the spear begins to rise and fall and not let the attack char

Malmis
03-13-2012, 11:39
I made a small change to it, copy it, edit it and try it again please. I think it should work, if I understood your problem right.

kigane
03-14-2012, 00:59
imk new in this so, how do i use this thing? i just copy and paste it in my script or what?

Malmis
03-14-2012, 02:16
imk new in this so, how do i use this thing? i just copy and paste it in my script or what?

Copy it to a textfile in your "Conds" folder where you installed BlackD Proxy and then load the file from the dropdown-menu in the "Conditional Events" window of the bot, found by pressing "?" in the main window.

Soplas
03-14-2012, 05:56
I made a small change to it, copy it, edit it and try it again please. I think it should work, if I understood your problem right.

thanks now it works perfectly friend, i can +Rep you

Malmis
03-14-2012, 08:33
thanks now it works perfectly friend, i can +Rep you

Good to hear. :)

emre135
03-18-2012, 16:31
@You save it in a .txt file in your Conds folder where you have installed BlackD Proxy. Then load it in the "?" window of the program, remember Reloading the file-list before.

I Do not understand, Should i Open Blackd Proxy --->Event or what?
Need help
srry for my bad english.

Near
03-27-2012, 22:47
Does not working for me with this cavebot safe script, Venore Swamp Trolls with Potion Buyer (http://www.blackdtools.net/showthread.php?57461-Venore-Swamp-Trolls-with-Potion-Buyer).

Qetkut
04-20-2012, 02:13
i must load this in conditional events?


I have made this with mace and dindt work, can you tell me why??



1
#number=#
1
0
0
0
exiva _unequipmelee = 0
$hex-equiped-item:06$
#string=#
D6 0C
0
0
0
exiva _unequipmelee = $numericalexp:{$_unequipmelee$}+1$
$countitems:CD 0C$
#number>#
0
0
0
0
exiva _unequipmelee = $numericalexp:{$_unequipmelee$}+1$
$_unequipmelee$
#number=#
2
0
$randomnumber:1100>1250$
0
exiva > 78 FF FF 06 00 00 $hex-equiped-item:06$ 00 FF FF 03 00 00 01
$countitems:CD 0C$
#number>#
0
0
0
0
exiva _equipmelee = 0
$countitems:CD 0C$
#number=#
0
0
0
0
exiva _equipmelee = $numericalexp:{$_equipmelee$}+1$
$_equipmelee$
#number=#
1
0
$randomnumber:1100>1250$
0
exiva #D6 0C 06
$_equipmelee$
#number>=#
500
0
0
0
exiva _equipmelee = 2
1
#number=#
1
0
0
0
exiva _stonecount = 0
$hex-equiped-item:06$
#string<>#
CD 0C
0
0
0
exiva _stonecount = $numericalexp:{$_stonecount$}+1$
$countitems:CD 0C$
#number>#
$numericalexp:{$num-equiped-ammount:06$}-1$
0
0
0
exiva _stonecount = $numericalexp:{$_stonecount$}+1$
$_stonecount$
#number=#
2
1000
$randomnumber:1100>1250$
0
exiva #CD 0C 06

Patrick
06-03-2012, 16:22
For me it's working great!