The weapon pds, item lvl script i am using works with windows full screen mode, this is what i am playing in now
The weapon pds, item lvl script i am using works with windows full screen mode, this is what i am playing in now
In the new script you need to delete this line MsgBox, Test 1, otherwise every time you press F11, that msg will popup and you will not log out to character selection screen.
So
ExitToCharacterSelection()
{
MsgBox, Test 1
IfWinActive Path of Exile ahk_class Direct3DWindowClass
{
should look like this
ExitToCharacterSelection()
{
IfWinActive Path of Exile ahk_class Direct3DWindowClass
{
Furthermore, is there a way to disable the ctrl+c feature, i am use to the otherscript for now, so how would i disable this one?
Last edited by ReadyToKill; 12-27-2013 at 03:15 PM.
Sort of off topic, but does anyone know if their is a script that can swap out gear like there was in d3? At times when i get to the boss i have to manually swap out my gear for my mf set, which is too slow, so is their any script that can do that for poe or is it possible to add this feature into autoflask?
All you really need is 3 clicks per item right? So you'd just do something like this
So just change keys and such to suit your needs and add more clicks for more items.Code:setdefaultmousespeed, 0 coordmode, mouse, screen f2:: setmousedelay, 40 ; delay between clicks send {space} ; closewindows send i ; open inventory click, 1875, 829 ; item in inventory click, 1688, 302 ; item on character click, 1875, 829 ; put item back in same spot in inventory setmousedelay,10 ; set delay back to default return
K, i tested out that bit of code you gave me, though it works, their does seem to be issues with it, like at times it might fail to close the inventory window while the item is highlighted, so you could accidentally drop the item on the field, which would make it risky, since someone could just grab that item before you even realized. D3's swap trick seemed much more effective, cause all you needed to do was hld down a button and it would auto swap the item of choice, where as in POE, you have to literally drag each item to it's proper slot.
Yaaaa, since in d3 you just needed to right click an item to equip it and swap it with the one you were wearing.
But uh, can make it pretty failsafe I think.
Can check to see if there is something on our cursor when there shouldn't be and put it down if there is.
So to make sure it's pretty much impossible to screw up we should probably use different inventory spots for the regular stuff and the mf stuff since you can check if each item was properly put down. This'll take up a lot of inventory space if you're swapping more than your jewelry.
But as a place to start; add this to the bottom of autoflask. It borrows some variables and functions to save time.
So what this does at the moment is, assuming your inventory is open, move your right-side equipped ring to the top right slot in your bag and equip the ring that's in the bottom right corner of your bag when you hit F5. When you hit F6 it moves everything back to the way it was before you hit F5. It checks if there is anything on your cursor every time an item is placed in an empty slot.Code:garbage(ByRef isitemoncursor) ; 0=nothing picked up 1=something on cursor { global baseMgrPtr global cliname WinGet, WinID, ID, %cliname% GetWindowBasics(WinID, mBase, pH) isoncursor:=GetMultilevelPointer(pH,[mBase+baseMgrPtr,0x11c,0x6ec,0x94]) isitemoncursor:=ReadMemUInt(pH,isoncursor+0x9ec) } F5:: setdefaultmousespeed, 0 click, 1688, 302 ; right ring equipped spot click, 1875, 613 ; top right spot in inventory sleep, 100 ; value takes a little time to change so we wait 100ms garbage(isitemoncursor) fail = 1 Loop { if (isitemoncursor != 0){ ; if something is on your cursor try to put it down then check again click, 1875, 613 sleep, 100 garbage(isitemoncursor) fail++ if (fail >5) ; something bad happened if it hits this return } else{ break } } click, 1875, 829 ; item in bottom right slot in bag click, 1688, 302 ; right ring equipped spot sleep, 100 ; value takes a little time to change so we wait 100ms garbage(isitemoncursor) fail = 1 Loop { if (isitemoncursor != 0){ ; if something is on your cursor try to put it down then check again click, 1688, 302 sleep, 100 garbage(isitemoncursor) fail++ if (fail >5) return } else{ break } } return F6:: setdefaultmousespeed, 0 click, 1688, 302 ; right ring equipped spot click, 1875, 829 ; bottom right slot in bag sleep, 100 ; value takes a little time to change so we wait 100ms garbage(isitemoncursor) fail = 1 Loop { if (isitemoncursor != 0){ ; if something is on your cursor try to put it down then check again click, 1875, 829 sleep, 100 garbage(isitemoncursor) fail++ if (fail >5) return } else{ break } } click, 1875, 613 ; top right slot in bag click, 1688, 302 ; right ring equipped spot sleep, 100 ; value takes a little time to change so we wait 100ms garbage(isitemoncursor) fail = 1 Loop { if (isitemoncursor != 0){ ; if something is on your cursor try to put it down then check again click, 1688, 302 sleep, 100 garbage(isitemoncursor) fail++ if (fail >5) return } else{ break } } return
Video
Quite inefficient and badly written, but that's ok! It works! and I don't really see how it can screw up now either.
is this not working for garena? Can you please make one for garena version pls! 1.0.4
Thx for putting some thought into it badplayer, i editted the code some what, but their are still some other issues that arises such as, just say i accidentally press the Home key twice in a row, it can mess things up, also sometimes after it closes the inventory it walks towards the right of the screen. (Perhaps it could have some notification system in top right corner that disappears after a few sec that you swapped to mf ring or even a reminder notification to swap back, etc?) As you mentioned as well it can be inefficient at times, so perhaps someone could fix it up or improve on it. Other features could be added like being able to swap both rings and amulet or you could turn on/off a certain slot, so it only switches the two rings,etc. Plus i wonder how this would really work in group play or deal with lag/dsync issues or if you pc is chugging at times, etc. Also maybe add in some security sound alert it drops the item onto the field?
I also put in a check, so that it closes all windows first and than opens up the inventory does it's thing and than closes it. Home key does the first swap, End key does the return swap, these are just testing keys for now, it wouldn't really be reliable in game for a quick swap, i wanted to configure it to my mouse 4 and mouse 5 buttons, but autohotkey fails to work with those keys. Also i play on a different resolution, so the x,y is slightly different.
Home::
setdefaultmousespeed, 0
send {f} ; closewindows
send v ; open inventory
click, 1457, 299 ; right ring equipped spot
click, 1636, 596 ; top right spot in inventory
sleep, 100 ; value takes a little time to change so we
wait 100ms
garbage(isitemoncursor)
fail = 1
Loop
{
if (isitemoncursor != 0){ ; if something is on your cursor try to put
it down then check again
click, 1636, 596
sleep, 100
garbage(isitemoncursor)
fail++
if (fail >5) ; something bad happened if it hits this
return
}
else{
break
}
}
click, 1638, 802 ; item in bottom right slot in bag
click, 1457, 299 ; right ring equipped spot
sleep, 100 ; value takes a little time to change so we
wait 100ms
garbage(isitemoncursor)
fail = 1
Loop
{
if (isitemoncursor != 0){ ; if something is on your cursor try to put
it down then check again
click, 1457, 299
sleep, 100
garbage(isitemoncursor)
fail++
if (fail >5)
return
send {f} ; closewindows
}
else{
break
}
}
return
End::
setdefaultmousespeed, 0
send {f} ; closewindows
send v ; open inventory
click, 1457, 299 ; right ring equipped spot
click, 1638, 802 ; bottom right slot in bag
sleep, 100 ; value takes a little time to change so we
wait 100ms
garbage(isitemoncursor)
fail = 1
Loop
{
if (isitemoncursor != 0){ ; if something is on your cursor try to put
it down then check again
click, 1638, 802
sleep, 100
garbage(isitemoncursor)
fail++
if (fail >5)
return
}
else{
break
}
}
click, 1636, 596 ; top right slot in bag
click, 1457, 299 ; right ring equipped spot
sleep, 100 ; value takes a little time to change so we
wait 100ms
garbage(isitemoncursor)
fail = 1
Loop
{
if (isitemoncursor != 0){ ; if something is on your cursor try to put
it down then check again
click, 1457, 299
sleep, 100
garbage(isitemoncursor)
fail++
if (fail >5)
return
send {f} ; closewindows
}
else{
break
}
}
return
Last edited by ReadyToKill; 12-31-2013 at 01:24 PM.
Hello friends,
I was talking to gurud other day about the script updates and I'm testing the new releases he's making. Since I'm newbie on Cheat Engine, I'm here to ask you guys if any of you, with more experience on it, can find the offsets for the final "duration time" on flasks after applied the passives buffs, if any, and the prefix and suffix mods. It's pretty much the number that shows on flasks description as in here: "Recovers XXXX life/mana over YY seconds". So we need the YY offsets values. With those values we could make the script automatically finds the right duration times for every flask kind and uses them with a perfect period. Also, every time you change the flask kind or its position, the script would make the adjusts by itself. Right now it's reading the base flasks duration values, as if they were white/normal which makes the period for next use wrong. As example if you have a Bubbling flask with a 1 second duration, which means that you could use it again after 1 second, the script is reading that duration as 8 seconds, the base value from that flask and adding a wrong delay value, making it to wait 8 seconds before using next flasks.
So, please guys, if anyone can find that, send a PM to me or gurud. Right now gurud has a big .ct file with many offset for flasks with charges, prefix, suffix, recover amount, etc. but we missing the value requested here. I'm not sure if he already made available that .ct file on forum but if you need it let us know, we could post it or send to you.
Thanks in advance and happy 2014
Last edited by fabcard; 12-31-2013 at 02:55 PM.
I guess you missed my update at page 8:
I found the correct equations, and already added to the script, now we just need to check if user have the herbalism passive (30% increased duration on flask) and if he's using a belt with the suffix Of Savouring (10-20% increased flask duration), and those don't reflect on "Recovers XXXX life/mana over YY seconds" already tested.
Ps. Travelling right now, i should be back 01/04/2013 and Happy New Year.
Last edited by gurud; 01-01-2014 at 10:23 AM.
Anyone know how i could customize the scripts trigger keys to the buttons on my mouse? I tried using the triggers Mouse 4 and Mouse button 4, etc but the script would fail to load.
Mouse 4::
UsePortal()
return
or
Mouse Button 4::
UsePortal()
return
it would be nice if there is a /itemlevel option
It already has that feature Cntrl + c on the item