Page 1 of 1

Database Issue

Posted: Mon Apr 21, 2025 3:41 pm
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.

Re: Database Issue

Posted: Mon Apr 21, 2025 3:52 pm
by jrose1184


made a video might be easier to see what i mean and what im doing.

Re: Database Issue

Posted: Mon Apr 21, 2025 8:16 pm
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.

Re: Database Issue

Posted: Tue Apr 22, 2025 4:16 am
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.

Re: Database Issue

Posted: Tue Apr 22, 2025 7:56 am
by Tony Li
I'm glad you were able to resolve the issue. Gotta love backups and version control.