Database Issue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jrose1184
Posts: 67
Joined: Mon Jan 22, 2024 2:35 pm

Database Issue

Post by jrose1184 »

Hi Tony,

Have a issue with the what i can only think is the database. So i brought a new computer and pull my repo down every thig works great. i have this bit of code that starts a converstation like so.

Code: Select all

  Debug.Log("[selectPanel ✅] Set to TRUE by handle player turn");
            DialogueLua.SetVariable("SpinWheel", true);
            DialogueManager.instance.conversationEnded += OnConversationEnded;
            DialogueManager.StartConversation("Battle Demo", player, lemon);
            return;
works fine no issue. But if i create a new converstation from the parent like this the one above and i create a new var it just does not work. So i replaced the new var with my code above just to check and it just does not work. my converstation tree has...

Code: Select all

Variable["NoMovesLeft"] == true
so so swapped out

Code: Select all

 DialogueLua.SetVariable("SpinWheel", true);
with

Code: Select all

 DialogueLua.SetVariable("NoMovesLeft", true);
and its just not working i have about 6 pre children and if i swap it with any one of them it works just seems to be any thing new.
jrose1184
Posts: 67
Joined: Mon Jan 22, 2024 2:35 pm

Re: Database Issue

Post by jrose1184 »



made a video might be easier to see what i mean and what im doing.
User avatar
Tony Li
Posts: 23152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Database Issue

Post by Tony Li »

Hi,

Please see the Logging & Debugging video:



It will step you through the process of setting the log level to Info and then reviewing the logs in the Console window. My guess is that all of the nodes will report "Dialogue System: Block on False Link" because the Conditions are false instead instead of "Dialogue System: Add Link" for whatever nodes' Conditions happen to be true.
jrose1184
Posts: 67
Joined: Mon Jan 22, 2024 2:35 pm

Re: Database Issue

Post by jrose1184 »

Hi,

i added my back up database then i readded the normal database added new stuff and it worked. so must have been some sort of database error.
User avatar
Tony Li
Posts: 23152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Database Issue

Post by Tony Li »

I'm glad you were able to resolve the issue. Gotta love backups and version control.
Post Reply