• Hello game master! Welcome to our growing community. Please take a moment to Register (top right button, see how: Slides).

    If you use Campaign Logger, you can use the same login details - we've linked the app to this forum for secure and easy single sign-on for you.

    And please drop by the Introductions thread and say hi.

Generator UI Public Beta

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer

mKlaumann

New member
Small update:

In preparation to give you the ability to share generators with others we implemented some new functionality.

It is now possible to create Execution Tokens for you generators. This means, that you can allow others to run your generator without sharing your source.

There is a new button in the card view (as of now only there, will probably be made available to list view on Monday)
to create execution tokens. As it is a WIP right now, you need to send a POST HTTP request to the server right now to execute this but this will change in the near future.

Check it out if you wish to.
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
Post an empty body to that link and receive a JSON body containing the result.
You can easily do this with jQuery's ajax() Method for example.
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
Currently the generator UI (and the generator tokens) allow calling only the generator's main table (resultPattern). Most of the library generators produce vastly different results depending on which subtable is called - try for example {lib:color} vs. {lib:color#yellow} vs. {lib:color#eye} vs. {lib:color#hair} vs. {lib:color#toned} vs. {lib:color#metallic} vs. {lib:color#modern}, etc.

Please add the possibility to pass also the subtable parameter to the call (like {lib:color#word}, not just {lib:color}.

Perhaps the token generator dialog could allow specifying also an optional subtable, and support multiple tokens per generator (each for a different subtable)?
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
This could be done but it is low prio as you can easily work around this by creating a custom generator with a result pattern equal to your sub table.
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
This could be done but it is low prio as you can easily work around this by creating a custom generator with a result pattern equal to your sub table.
A fully implemented library generator would have 19 standardized entry points (plus likely some custom entry points on top of those). It would not be a very handy workaround to fill most of the generator lists with (almost alike) wrappers. :(

Would it be more viable to continue using just a single token per generator, but also pass an optional table name as a call parameter (which could be null)? This would also be more flexible at least for the user.
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
There is a new button in the card view (as of now only there, will probably be made available to list view on Monday)
to create execution tokens. As it is a WIP right now, you need to send a POST HTTP request to the server right now to execute this but this will change in the near future.

It seems that the option to generate execution tokens has disappeared. Is that intentional?
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
It seems that the option to generate execution tokens has disappeared. Is that intentional?
Just checked, it is still there.
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
Not for me. Can you please Ctrl + F5 your page, please.
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
No need for that - the system had logged me out in the meantime, and after I logged in, the token links were back.

But the weird part is that I saw this issue yesterday on a fresh laptop which had not accessed the Generator UI site before. Can this be some Azure strangeness?
 

JochenL

CL Byte Sprite
Staff member
Adamantium WoA
Wizard of Story
Wizard of Combat
Gamer Lifestyle
Borderland Explorer
I cannot imagine how. The files are up to date and I doubt that Azure changes them randomly. Also there was no service problem notification. Do you use a proxy? Maybe a caching issue on that side?
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
As far as I'm aware, there is no proxy in either location that I witnessed this issue on (not in my settings anyway). Yesterday I saw this on a new laptop that could not have cached anything from Campaign-Logger.com, and today on my home PC on which I had previously seen (and used) the token generation links. Strange.

But thanks for checking this!
 

ELF

Generator Sage
Wizard of Story
Wizard of Combat
BTW, good work with how each run of the generator output is separated from the previous results - subtle but effective!
 
Top