neofax wrote:MapTool tables can hold JSON's as well as tokens and as pointed out, they have pics associated.
and as also has been pointed out: its read only AND moreover its insanely cumbersome to create a list even with my excel tool.
biodude wrote:So, are people interested in storing tabular data on a token, or organizing lists in MapTool 'Tables'? The major differences to me being:
That would be ' storing tabular data on a token'.
I've already taken the first steps to see how difficult it is and how 'good' it works. Conclusion:
1. Not very difficult (though did spend a few hours thinking it through)
2. Very very very slow
Attached is my test setup. It contains a campaign file with a macro to run an input frame, there you can paste a table straight out of excel, this it parses into a json object and then randomly retrieves the values of one row. There is no storing onto a token yet (which in all likelyhood will make it even more slow).
Admittedly this is very quick n dirty code and can be optimized. I doubt however if that will have enough impact to make it usable.
Anyway:
1. run campaign (in MT70)
2. select wolf
3. run ListBuilderFrame
4. open excel file
5. copy first 50 !! (not all) rows of the weapon table
6. paste them into the textbox
7. press save
8. wait 1:38 seconds (thats on my not so very fast pc) (1:35 to parse into json, 3s to retrieve data and show frame)
9. a frame will pop up with some data and a randomly selected row (extracted from the json).
Note: if you check out the parser "listParserJson" code, I've mixed up the terms 'rows' and 'columns' (i use them both correctly and incorrectly) which makes it a bit incomprehensible
@biodude: As for cooperating with your venture... reading your post I believe your MT-Script-Fu is way higher (and organised) then mine. Next to that I want to focus on the 'list' parser and not on a full scale table platform as you described.
So if you think you can live with my retarded QnD code style and would like to focus on getting a listparser (or whatever it will be named), then yes I think a coop is possible.
Edit: did some testing, time to parse textblock into a json object (every row counts 25 columns):
25 rows (625 items) = 30 seconds
50 rows (1250 items) = 95 seconds
100 rows (2500 items) = 315 seconds
Ive added an graph to the excel with the test results, nicely showing an exponential.