VaultNetwork.netVault Network Boards
Author Topic: Mag-tools [Locked]
Laieda
Posts: 22
Registered:
I found the problem. When you are selling Pyreal(ObjectClass == Money) the GetSellItem(VTClassic.LootCore looter) Function always returns pyreal even if you only have 1 pyreal, which it should. The program had no way of knowing if we had enough pyreal to purchase the note, so it would attempt to do so, and in doing so attach itself to the Virindi Item Tool Activity state handler, in turn starting another buy sell routine. This created an infinite loop of trying to buy Notes and not having the funds to do so.

I wrote a routine to count the amount of pyreal we have and used that to make a check to see if we had enough to purchase the object in question. If not return before attaching to the event handler.

I also added code to the GetSellItem Function to insure that ObjectClass.Money is the last item returned. Otherwise we may get into a situation where you add Pyreal as a sell item along with say peas for example. Then given the current code Money would be returned before Peas or Notes causing us to stop buying even if we have comps or notes to sell.
Mag-nus  1 star
Posts: 234
Registered:
1.0.8.10:
Fixed: inventorypacker.dispose calls Stop() which will load vtclassic, fix that so it doesn't throw an exception.
Fixed: Enabling item info on ident child options now automatically sets the master enabled option.
Inventory packer now supports red loot requirements. (Requirements that require requesting id data)
Added one touch healing.
Added debug mode for auto buy/sell.
Mag-nus  1 star
Posts: 234
Registered:
1.0.8.10:
Fixed: inventorypacker.dispose calls Stop() which will load vtclassic, fix that so it doesn't throw an exception.
Fixed: Enabling item info on ident child options now automatically sets the master enabled option.
Inventory packer now supports red loot requirements. (Requirements that require requesting id data)
Added one touch healing.
Added debug mode for auto buy/sell.
immortalbob  2 stars
Title: AC Vault Staff
I am batman!

Posts: 335
Registered: 2002-2-24 21:44:47
Quick request, can you make the trackers sortable?

 

-----signature-----
ImmortalBob, Axer Extraordinaire
+Turbine Sappho tells you, "I am starting to think you are immortal"
Mag-nus  1 star
Posts: 234
Registered:
immortalbob posted:

Quick request, can you make the trackers sortable?



sort by what?
joeblow8579  2 stars
Posts: 257
Registered:
Mag-nus posted:

1.0.8.10:
Fixed: inventorypacker.dispose calls Stop() which will load vtclassic, fix that so it doesn't throw an exception.
Fixed: Enabling item info on ident child options now automatically sets the master enabled option.
Inventory packer now supports red loot requirements. (Requirements that require requesting id data)
Added one touch healing.
Added debug mode for auto buy/sell.



Awesome! Thanks so much for adding the one-touch-healing!
immortalbob  2 stars
Title: AC Vault Staff
I am batman!

Posts: 335
Registered: 2002-2-24 21:44:47
Mag-nus posted:

immortalbob posted:

Quick request, can you make the trackers sortable?



sort by what?


I'm just looking to make the list alphabetical so i can find specific monsters (or players) easily in my persistent stats.

 

-----signature-----
ImmortalBob, Axer Extraordinaire
+Turbine Sappho tells you, "I am starting to think you are immortal"
joeblow8579  2 stars
Posts: 257
Registered:
Mag-nus posted:

1.0.8.10:
Fixed: inventorypacker.dispose calls Stop() which will load vtclassic, fix that so it doesn't throw an exception.
Fixed: Enabling item info on ident child options now automatically sets the master enabled option.
Inventory packer now supports red loot requirements. (Requirements that require requesting id data)
Added one touch healing.
Added debug mode for auto buy/sell.



One small bug: the one-touch-healing activates even if you press the hotkey while in the chat bar. I'm not sure if this is a bug in VHS or what, but I don't think it should do that.

For example, I bind healing to the "T" key. If I type anything with a "T" in it, it will heal me.
RoogonII  2 stars
Posts: 343
Registered:
joeblow8579 posted:

Mag-nus posted:

1.0.8.10:

Added one touch healing.

One small bug: the one-touch-healing activates even if you press the hotkey while in the chat bar. I'm not sure if this is a bug in VHS or what, but I don't think it should do that.

For example, I bind healing to the "T" key. If I type anything with a "T" in it, it will heal me.

That type of problem has been around for years (this not being the first to have a one touch healing). No surprise, I'm sure, that I use one of the function keys .. or anything non-alphanummeric or related to standard AC keys (which there are not many of them). I use one-touch too much to not be without it.

Thanks for the addition Mag!
joeblow8579  2 stars
Posts: 257
Registered:
RoogonII posted:

joeblow8579 posted:

Mag-nus posted:

1.0.8.10:
Added one touch healing.

One small bug: the one-touch-healing activates even if you press the hotkey while in the chat bar. I'm not sure if this is a bug in VHS or what, but I don't think it should do that.
For example, I bind healing to the "T" key. If I type anything with a "T" in it, it will heal me.

That type of problem has been around for years (this not being the first to have a one touch healing). No surprise, I'm sure, that I use one of the function keys .. or anything non-alphanummeric or related to standard AC keys (which there are not many of them). I use one-touch too much to not be without it.
Thanks for the addition Mag!


Alinco did not do it when I typed something with a "T" in it, though, and neither did AC+ (which I used briefly). I used Alinco purely for chat filtering, one-touch-heal, and item detection for over a year, until Mag-Tools came along.

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.