fodev.net

FOnline Development => Questions and Answers => Topic started by: hexer on October 11, 2014, 08:24:25 pm

Title: Dialog editor won't save new variables
Post by: hexer on October 11, 2014, 08:24:25 pm
We're having a funny issue with the Dialog Editor. It won't save any new variable. Any suggestions what might be wrong?
Manually adding them to _vars.fos crashes the editor.
Title: Re: Dialog editor won't save new variables
Post by: Wipe on October 12, 2014, 04:15:06 am
Quote
Manually editing _vars.fos
I too like to dev dangerously :P

DE likes to freak out on manually edited _vars.fos; check if some var doesn't have a prefix written twice [LVAR_LVAR_name, but check other prefixes too].
Title: Re: Dialog editor won't save new variables
Post by: Skycast on October 12, 2014, 11:31:04 pm
Which revision you using? There was bugged dialog editor in some revisions.
Title: Re: Dialog editor won't save new variables
Post by: Marten Broadcloak on December 07, 2015, 10:55:38 am
I'm having a similar issue with v2.19.0 of DialogEditor. I have downloaded the newer version from 2238 repo, but the vars editor tab is gone. What is the new way of editing vars? I'd rather not edit _vars.fos by hand and unleash demons on this Earth.
Title: Re: Dialog editor won't save new variables
Post by: Slowhand on December 12, 2015, 01:53:30 am
Well, I had the same problem when I explored the SDK and wrote my tutorials. If you check them, there should be explained how to add variables with hand, and give examples step by step. You won't cause havoc, and you can test it with the dialog editor. (But ofc, it's still a pain in the ass to add variables manually.)

My buggy dialog editor version was the one released with Reloaded source (the first release, not the second.)