Baked0420
2009-12-01 12:27:24
I'm making a script to do level one enchants, but for some reason, after enchanting an item and before clicking the magic tab (done by cast in magic.scar) it'll move the mouse up to the minimap. I debugged it out with disguise('');'s… it was a little hard to look at the tool bar and see when the mouse did it at the same time, but I am almost positive I found the reason. I switched disguise(); to alert();, so it's easier to notice now. I have it pop-up Mouse and wait 2000's then let the program go, and the mouse will move then I alert with /Mouse. The two alerts are only around wait's obviously and then cast, so I'm 99% positive it's from cast. I can't find what is causing it in cast though.
If you want to see how I found it's in cast you can, cause I guess there could be a chance I'm wrong, so take a look for yourself, just have cosmic runes in slot 28 and a water staff and then run this script. I have it without smart, because that's how I was testing it, and I took out all the procedures/functions that didn't matter. And this is just the base of the script, I just want it working before I go further, making it more advanced and with more features.
but anyways, here's the script attached below.
EDIT: Removed script, since I don't want it released yet. Already found the bug in SpellAvailable.
If you want to see how I found it's in cast you can, cause I guess there could be a chance I'm wrong, so take a look for yourself, just have cosmic runes in slot 28 and a water staff and then run this script. I have it without smart, because that's how I was testing it, and I took out all the procedures/functions that didn't matter. And this is just the base of the script, I just want it working before I go further, making it more advanced and with more features.
but anyways, here's the script attached below.
EDIT: Removed script, since I don't want it released yet. Already found the bug in SpellAvailable.