1
Scripting Chat / Re: Can I help?
« on: December 01, 2022, 11:55:02 AM »
I can confirm a regen suit 18hpr ticks faster than lesser poison decreases hp
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
zlf I believe. I did check the item id of my bandies and it was the same as in the script. Sorry, re-read my original post. It will run for like 4 hours sometimes or more, then others 10 minutes. Its random.
sub setup
event macro 35
display Move mouse to Armor Ignore Icon$$ You have 2 seconds
wait 2s
savePix #CURSORX #CURSORY 1
wait 5
event macro 15 149
display Move mouse to Lightning Strike Icon$$ You have 2 seconds
wait 2s
savePix #CURSORX #CURSORY 2
wait 5
display ok Setup Complete$Get into position$Script will begin when you press the hotkey.
set %waiting_to_start #TRUE
while %waiting_to_start = #TRUE
{
onhotkey %hotkey %hotkeyqual
set %waiting_to_start #FALSE
}
set %playerX #charPosX
set %playerY #charPosY
set %playerZ #charPosZ
return
sub exec_LS
if mana >= 30
{
cmppix 1 f
{
event macro 35
wait 5
}
}
else
{
cmppix 2 f
{
event macro 15 149
wait 5
}
}
return
i am attempting to modify this a little to use armor ignore, i changed it to event macro 35. everything seems of but it targets the Armor Ignore button too much spamming i need more mana. i changed a few waits and that didnt help.
sub exec_LS
cmppix 1 f
{
event macro 35
wait 5
}
what do you think i should modify to slow it down a little. i would appreciate any advice any one have.
sub exec_LS
if #mana >= 30
{
cmppix 1 f
{
event macro 35
wait 5
}
}
If this were a larger script, I would say for performance sake, place the if #mana >= 30 block before every gosub exec_LS call, that way the script doesn't have to iterate to the exec_LS sub everytime if it doesn't have to. The code snippet above is just for modularity's sake. Actually, I did that last night... But good suggestion and a great time to send a few bucks Cheffe's way, since he keeps it all going for us....
Its a pretty cool game. I've been lucky enough to make some ingame friends who have guided me along the way.
There is such a huge differnce in player levels via the ranking system. I'll partner up w/ some high rank folks and just get destroyed.
I'm getting too old to compete against 14 year olds when coordination is concerned.
Did you see the HBO documentary they did on League/professional gaming - kinda neat if you're truly a geek.
sub PositionGump
if #CONTSIZE = 262_324
click #Contposx #contposy r
if #CONTSIZE = 507_496
{
contpos 243 31
}
return