The short answer is no.
You can record hexes of using your weapon around you and play it constantly. But there is no way of knowing how many attempts it will take. And you will be using your weapon all the time.
Mackiiboy
04-11-2013, 15:10
I do not exactly know what you are looking for, but I suppose that you want to destroy troughs, boxes and other objects if you get trapped. I had that issue a lot at Mintwallin, but I never bothered to solve it since I did not hunt there that much.
Things that would be necessary:
1. A conditional event or something else that check your x,y,z pos and calcultate how much time you have spent in a position. If time > x, the script should start a debugging script that will figure out what is wrong.
2. The debugging script could include a lot of different things, but this time we are just interested in what to do if the issue is a common trough/box trap. The script could check your x,y,z position and all 8 spots around you which (I think) are:
(x+1,y,z), (x-1,y,z), (x,y+1,z), (x,y-1,z), (x+1,y+1,z), (x-1,y-1,z), (x-1,y,z), (x,y-1,z).
3. If the script notice a box or trough in a/several position/s, it should save the positions.
4. I don't know if there are different hex-codes needed for this, you could check it out by yourself by destroying different objects with a weapon. If you need different hex-codes, you need to make the script to use them right. Overall it could be 18+ different cases. Make sure to make them general so it works on all coordinates in the whole tibia, so they're not hard-coded. Different coordinates will probably require different hex-codes when you use your weapon on a object. If you do some experiments, you will figure it out.
5. After using a weapon on a object, the script should check the coordinate once again and check weather the object is destroyed or not. If not, just repeat previous steps.
6. When everything is clear, the script could check all coordinates around you once again just to make sure that all objects are destroyed. If they are, awesome, you can return to your hunting.
TeamSurge
06-30-2014, 09:17
im thinking a cond that checks the area around you and if there should be a trough(only trough) use whatever Wep that is EQed.
reset cond
wait 400ms
start checking agean
# --
This way you are not using your wep allthetime and will only take up a small amount of space
im planning on writing this cond soon but don't really have the time ATM. Will try to remember to post it here.
Powered by vBulletin® Version 4.2.5 Copyright © 2021 vBulletin Solutions Inc. All rights reserved.