VaultNetwork.net Vault Network Boards
Author Topic: LockesArmyKnife beta version - now with global inventory (and some more changes) [Locked]
-lino-  1 star
Posts: 177
Registered:
* Added global inventory for armor, clothing, jewelry (incl. trinkets) and weapons/wands
* Can now configure which window messages are written to
* Changed the icon to something that doesn't look almost the same as the icon of Tings
* Hopefully fixed the "could not find a mana stone" bug
* Hopefully fixed detecting when a player acquires a new Clutch of Miser Aug
* Combined Main and Mana tabs
* Added aliases for the different "type in" recalls (/hr, /mr, /ah, /ls, /mp)

In addition to the global inventory all items worn will be saved in a character profile, so you can easily see what a char is currently using.
You can browse the global inventory in a filtered view, where you can filter by item type and by a search string (it searches the full item info, so you can search for spells, where the item was last seen, melee bonus and a lot more; if you see it in the output, you can search for it)
The plugin will calculate the base values for items, so even if you add something while buffed the properties shown later on should be base values.
To make adding items to the global inventory easier, if you select a container and click "add selected item to the list", all items inside the pack will be added.

If you see any errors or notice missing info for an item, please get in touch with me.

Known issues:
* After login your character will be saved twice
* On rare occassions the plugin will spam info for random items (usually it will only print to your chat window if you requested it)
* No dual-log detection, so you should only have 1 char logged in whenever you add items to the global inventory
* If you have debuffs on items, incorrect values might be saved

Planned features:
* Visual indication if the current char (and/or the character you selected on the Char tab) can wield/use an item
* Virtual paper doll so you can play around with item combinations without muling items around or even logging to other characters
* Configurable folder for the global inventory, so you can share it across different computers by placing it in a network shared location
* (suggestions welcome)

How to get it:
Since this is a beta version I made no installer. If you don't have LAK installed at all, please download and install the latest release from http://ac.ranta.info/LockesArmyKnife first. Once LAK is properly installed, download http://svn.ranta.info/repos/decaldev/branches/beta/LockesArmyKnife-1.2.0-beta1.dll to the folder you installed LAK to, rename the original LockesArmyKnife.dll to something else (you should keep this as a backup!), then rename LockesArmyKnife-1.2.0-beta1.dll to LockesArmyKnife.dll
yaroz_vn  4 stars
Posts: 1,225
Registered: 2002-6-30 20:08:11
You're not including inventory of salvage and other nick nacks?

 

-----signature-----
Proud member of The Knights of Fortune
Mr Adventure - Lil' Pew - Da Noob - Qar
Yaroz - Yanno
http://www.fortunesway.com
-lino-  1 star
Posts: 177
Registered:
Currently not, but if there is demand I guess I can add it. Of course the filter would need some more space then, making the view even larger than it already is hehe. And I probably need to adjust some parts of the code building the item info string.
If 4 more people (no new accounts) would like it, I will add it.
--Scrap--
Posts: 21
Registered: 2004-8-15 07:08:54
+1 Id like to have that feature


Thanks for all the hard work

 

-----signature-----
Toons - Scrap - Wolfsworn - Valoran - Catana
Mules - Stormlord - Nightweaver - Mule Second
Officer of Scarey Mary
Naia-Ra-Sal  1 star
Posts: 137
Registered: 2000-9-28 09:41:52
Hello Lino ,
I would like Salvage added as well

 

-----signature-----
Naia Ra-Sal lvl 262 Warlord of Dereth
Vainda Ra-Sal lvl 275 Shellfish Hater
Xavia Ra-Sal lvl 250
Vaindas Oil Slave Max Speced Armor Tink , Max speced Weapon Tink
makingothershappy.blogspot.com
-lino-  1 star
Posts: 177
Registered:
Ok, I guess Naia counts as 3 just for all the times he helped me, so I will do it.
It will take a bit tho as I am currently working on the way the inventory is saved to be more "dual logging safe" (and not to hang the clients for a few seconds if you save across the network).
Striderlongshanks  1 star
Posts: 213
Registered:
Id like everything in a toons possesion inventoryed. Looking for that house item or pirate eye patch or harbringer item needed for quest makes an inventory program doing all a must. Keeps me from having to spend most of my time moving around and organizing stuff on mules.


Thx


SL
-lino-  1 star
Posts: 177
Registered:
I am not sure about "everything", but my current build here now supports Salvage (including Foolproof, which the game for some reason does not classify as salvage), Scrolls, Tradenotes, SpellComponents and Plants.
The data is also now saved to a SQLite database (which can be on a network share), which a) speeds up saving a lot and b) solves many of the concurrency issues while dual logging. If you add an item in one client and look* at the inventory in another, it shows the newly added item after a few seconds. However, the other client will not remove items you delete from the global inventory until you relog (I might add a command to allow a complete reload tho). Also, if you delete an item from global inventory in client A and the char holding it is logged in on client B, the item might get saved again.

Unfortunately my ISP hates me lately, I had trouble logging in to the game all day, so even for a beta my current build is not tested enough. I hope tomorrow I can log in more reliable and test it enough to publish a new beta version.

*: Ok, if you just sit there and wait, it will never show up. But when you switch to a different tab or change the filter settings the plugin will check for new items in the database.
-lino-  1 star
Posts: 177
Registered:
* fixed missing volatile in ThreadedSoundPlayer
* global inventory is now saved to a sqlite database
* improved performance of WorldObjectData
* added checkboxes to send output of inventory data to /say or /rt
* global inventory now accepts more item types
* path info from registry is now checked for existence at login only
* busy detection of ManaStoneUser should work a bit better now
* can now remove items from global inventory from filtered list too
* removed some duplicate code

Since this is a beta version I made no installer. If you don't have LAK installed at all, please download and install the latest release from http://ac.ranta.info/LockesArmyKnife first.
Once LAK is properly installed, make a backup of the LockesArmyKnife.dll (you can simply copy it the same folder), download http://svn.ranta.info/repos/decaldev/branches/beta/LockesArmyKnife-1.2.0-beta2.zip
and extract all files to the folder you installed LAK to, overwriting existing files.

If you want LAK to save it's settings and the global inventory to a network path (to share the inventory across different computers), edit the sample_profilepath.reg (in Notepad for example) and replace "X:\\LockesArmyKnife" with the desired path. Be sure to use double backslashes and no trailing backslash! After saving the .reg file again, double-click it to enter the data into the registry.
The plugin will check if a path is set in the registry and if that path exist, otherwise it will simply use the default (My Documents\Decal Plugins\LockesArmyKnife), so if you dont want to save to a network path anymore and don't feel like removing the key from the registry manually, simply put an invalid path into the .reg file and merge it into the registry again by double clicking.

AS ALWAYS WITH MY PLUGINS: USE AT YOUR OWN RISK!

And since this is a beta release, again: USE AT YOUR OWN RISK.

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.