teknogods / OpenParrot

Open Source version of TeknoParrot by NTA, avail and Reaver
GNU General Public License v3.0
246 stars 49 forks source link

Teknoparrot UI run into exeption #129

Closed Raulrapadura closed 6 months ago

Raulrapadura commented 3 years ago

Hello, I´m new user in Github.

I´m having an error when closing a runing teknoparrot game. It says that put here the exception.txt. So I copy and paste here:

System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. at TeknoParrotUi.Views.GameRunning.b__30_0() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

spaelectronics commented 2 years ago

I have the same issue.

dudesh34 commented 2 years ago

me also...

Harmmmm commented 2 years ago

Can someone give slightly more information?😅

Harmmmm commented 2 years ago

Which game? Do you close with ESC key or window X button? Does it happen everytime? Does it happen with multiple games? Which version of TP do you have? What windows version?

dudesh34 commented 2 years ago

its when i try to update tekno...

spaelectronics commented 2 years ago

It's multiple games. A lot of them actually. It only happens when run from command line.

For example, I use AttractMode and it happens when exiting the game using the ESC key. I'd more than 50% of the time, this error pops up for a split second, then disappears.

Harmmmm commented 2 years ago

It's multiple games. A lot of them actually. It only happens when run from command line.

For example, I use AttractMode and it happens when exiting the game using the ESC key. I'd more than 50% of the time, this error pops up for a split second, then disappears.

Maybe attractmode tries to close the game aswell?

Harmmmm commented 2 years ago

its when i try to update tekno...

That is clearly a different problem. Look in the exception text, it states this happens in the game running screen.

spaelectronics commented 2 years ago

As far as I know, AttractMode does not attempt to close the game. I think this is an issue with TP

Raulrapadura commented 2 years ago

Can someone give slightly more information?😅

Hello. I get this error when launch the game using CMD and XML profile and close it with ESC key (I´am using BIGBOX mode of LaunchBox launcher). If I launch the game from Teknoparrot UI the error does not shows up. This happens with allmost every game, but sometimes a failing game suddenly closes without errors and in the next try fails again. I cant find any clue why.

PolybiusExtreme commented 1 year ago

I had the same problem and found a solution. Uncheck „Hide console windows“ in the TPUi settings. I think the issue has to do with the (hiding?) cmd window.

EmiMidnight commented 6 months ago

Closing this as it was fixed a while ago. (If I understand correctly and it was the same issue as the one where using a frontend to boot TP games + hiding CMD window option would cause it)

PolybiusExtreme commented 6 months ago

Yeah its fixed for some month :)