Download
(13 Kb)
Download
Updated: 08-28-12 01:42 PM
Pictures
File Info
Updated:08-28-12 01:42 PM
Created:03-29-12 05:35 AM
Downloads:156
Favorites:0
MD5:
Storage Viewer
Version: 1.0.3
by: Imhothar [More]
General Information
With StorageViewer you can view and edit the server-side storage available to Addons.

The addon allows read and write access to the data according to the permissions set up by the Addon API.
The tool is primarily targeted at Addon developers who want to view and prototype their Addon storage.

The data can be deflated/inflated using zlib to make compressed data available and to upload compressed data for saving space.

Howto

The addon window can be opened/closed with /storageviewer or /sv. It is separated into three logical parts: storage list, data field, data properties.

Storage list
On the left side of the window lies the storage list retrieval. Put the target you wish to inspect the Addon data for in the top-left text field. You either put there the concrete name of a player or a unit specifier like player, target, pet.target, etc. With the List button you request the storage list from the server, which appear in the two large lists below, separated by "player" and "guild". Selecting an entry in one of the lists displays it's checksum at the bottom and allows you to load or delete the selected storage element with the two buttons at the bottom. Selecting Load requests the full storage element from the server and loads the other UI elements with its contents.

Data text field
Once a storage element has been loaded its content appears in the large text field in the center. When editing its contents the Size and Checksum fields at the bottom are updated accordingly. The Size field is color coded with the following meanings:
* Green: The data element will fit completely in the free space on the server
* Yellow: The data element is larger than the free space available, but it might fit if existing data is replaced.
* Red: The data field is larger than the maximal storage on the server and will never fit there in the current compression.

Warning: Do not manually edit compressed text! This will most likely make it invalid and you lose the uncompressed data if it was not uploaded to the server!

Data property controls
On the right side of the window are controls to set properties of the storage element. On top is the field showing the storage identifier. You can choose whether the storage element should be uploaded to the "player" or "guild" location and what kind of read/write permissions it gets. Please refer to the documentation of Command.Storage.Set() for details.
There is also the option to compress/uncompress the storage data with zlib. If you load a storage element and only see gibberish and squares in the central text field, try to hit the Uncompress button. If that made the data turn into readable text, you are done. If not the data is probably in some other encoding and you should ask the appropriate Addon author about the data format. Before uploading new data to the server, you may choose to hit Compress to reduce the data size. Compression uses the zlib compression level set in the Compr. Level field.

Creating new values
Allthough you need to List and Load existing storage elements to get the data field and properties populated, you can start typing a new identifier and data contents anytime and upload it whenever you wish. There is no separate "new" or "create" button, just fill in the fields and Upload.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.0.2
13kB
Imhothar
08-15-12 12:10 PM
1.0
13kB
Imhothar
06-02-12 01:12 PM
0.2beta6
12kB
Imhothar
04-08-12 01:16 PM
0.2beta4
12kB
Imhothar
04-02-12 12:09 PM
0.2beta3
12kB
Imhothar
03-29-12 07:19 AM


Post A Reply Comment Options
Unread 06-02-12, 04:11 PM  
Noshei
 
Noshei's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 31
Uploads: 6
Right now if you have the cursor active in any of the text boxes and close the addon, by clicking the X, it will leave the cursor in the text box and thus prevent use of the keyboard. Easy enough to just Escape to get the cursor out of it, but you might want to add a function that removes the cursors focus when the addon is "closed".
Noshei is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: