badplayerr / beta-autopot

28 stars 22 forks source link

Pots stopping #39

Open fincht81 opened 7 years ago

fincht81 commented 7 years ago

The pots seem to be stopping after a while. Just wanted to give a heads up. Tried in both DX9 and DX9ex.

Thanks for all the hard work.

tswierkot commented 7 years ago

Script properly uses HP and Mana flasks, but seems to have trouble with Quicksilver (and possibly other utility flasks) - it only uses the flask once and refuses to use it until reloaded. The values in Debug Window seem to be valid (character is moving, flask has enough charges).

fincht81 commented 7 years ago

This is not my experience. I am seeing that after a while it is no longer using mana. I have a guild mate who is experiencing same thing.

elessard84 commented 7 years ago

QS not working can confirm here

tswierkot commented 7 years ago

The issue seems to be with FlaskLocalstatsPtr - data read from game is not valid for utility flasks. A temporary fix (until pointers are fixed) is swapping lines 2547 and 2590 to EffectDuration:=40

fincht81 commented 7 years ago

Seems to me that there is something else going on because mana and life flasks are randomnly stopping as well.

TSM-EVO commented 7 years ago

Having a similar issue with mana flasks stopping working. Life flasks seem to continue working, even if mana flasks do not.

yuwei111 commented 7 years ago

Fix the problem in pull requests#40 The code below will solve problems about using life, mana, and quicksilver flask. original code: FlaskLocalstatsPtr:=GetMultilevelPointer(ph,[currFlaskPtr,4,0x18,0x1c,0xC]) Fixed code: FlaskLocalstatsPtr:=GetMultilevelPointer(ph,[currFlaskPtr,4,0x18,0x14,0xC])