I didn't either before I joined the team with VerticalBlank and Hoodathunk. If you are interested then you are welcome to give it a try.Hi @T'kael , I've been looking around a bit on the EDDI page on github. Are you the only one still working/developing with EDDI?
I didn't find @Darkcyde and @VerticalBlank there and Hoodathunk is unfortunately no longer with us.
What I would like to say is, if you need help or simple work, please let me know. If I can help, I would be happy to do so.
Unfortunately I am not a programmer and have no idea about C#.
Greetings nepomuk
eheh
Script 1 (collection):
{set testlist to []}
{set testlist to cat(testlist, [testlist-next])}
Script 2 (output):
{List(testlist)}
SetState()
, but I didn't get the syntax right. And I didn't find any help at the Cottle online help, unfortunately.Yes you will need to make it a State variable, but you will also need to make it one string. SetState can't handle arrays (yet) so you need to join the list items together first with Join(), and then in the second script Split() it back up again.Hello together (once again)...
... and again a question (about Cottle), I want to create a list in one script and have this list announced in another script. I can not get this to work.
Example:
Script 1 (collection): {set testlist to []} {set testlist to cat(testlist, [testlist-next])} Script 2 (output): {List(testlist)}
I think it must be assembled withSetState()
, but I didn't get the syntax right. And I didn't find any help at the Cottle online help, unfortunately.
Maybe one of the specialists can help me. (@T'kael , @Darkcyde ...)
Thanks a lot !
{set testlist to join(testlist, "_")}
{SetState("test_list", testlist)}
{SetState("test_list", join(testlist, "_"))}
{set testlist to split(state.test_list, "_")}
Essentially. 3rd party sites will want to support the "live" galaxy so data that EDDI receives from 3rd party APIs (particularly things like BGS data, faction state data, etc.) will very likely only match that mode. Likewise, EDDI will probably need to be updated to provide the details needed to allow 3rd party sites to segregate data from "live" and "legacy" galaxies. We do not yet know how the changes will affect the data from the Frontier API either. And finally, any configuration data we save from one galaxy (e.g. missions, cargo, your shipyard, etc.) won't necessarily be valid in the other because player progress will not be synchronized between galaxies either.If i'm not getting it wrong, the problem is that all the 3rd party sites collecting galaxy data will have either to double the database or pick one mode (or give up entirely, which is what i fear mostly). So EDDI is .... "tied" to the decisions they will take, right?
I mean: per se the Voice Assistant will still work as before, the problem will be from "what universe" there will be picked the additional infos about the star system, etc etc.
Or am i missing something?
Phew, not as easy as I thoughtYes you will need to make it a State variable, but you will also need to make it one string. SetState can't handle arrays (yet) so you need to join the list items together first with Join(), and then in the second script Split() it back up again.
So something like this:
You could also try to shorten it toCode:{set testlist to join(testlist, "_")} {SetState("test_list", testlist)}
{SetState("test_list", join(testlist, "_"))}
Then:
Code:{set testlist to split(state.test_list, "_")}
This should do what you need I think.
EDIT: Note the separator "_". If this underscore character will be in your list data, then just choose a different character, or even a short string like "+-".![]()
Hehe! It's not too bad.Phew, not as easy as I thought... Thank you
, I will try it (maybe tonight).