Arbitrium-Studios / Open-Fantasy

PLAYER ZER0 STUDIO's Toontown Fantasy will be a singleplayer game with a character-driven narrative as well as an emphasis on building out the world of Toontown through exploration. Our goal is to adapt the Twinkling Shadows TT story while keeping it faithful to a DuckTales (2017) timeline variant in the Tooniverse!
https://www.toontownfantasy.com
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Crash - Orbital Camera: #35

Closed GracieLovelight closed 9 months ago

GracieLovelight commented 2 years ago

When putting the game into full screen, the game crashes with this message:

Traceback (most recent call last):
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\otp\launcher\LauncherBase.py", line 158, in mainLoop
    self._runTaskManager()
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\otp\launcher\LauncherBase.py", line 138, in _runTaskManager
    taskMgr.run()
  File "C:\Panda3D-1.11.0-x64\direct\task\Task.py", line 546, in run
    self.step()
  File "C:\Panda3D-1.11.0-x64\direct\task\Task.py", line 497, in step
    self.mgr.poll()
  File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 50, in eventLoopTask
    self.doEvents()
  File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 44, in doEvents
    processFunc(dequeueFunc())
  File "C:\Panda3D-1.11.0-x64\direct\showbase\EventManager.py", line 100, in processEvent
    messenger.send(eventName, paramList)
  File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 335, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "C:\Panda3D-1.11.0-x64\direct\showbase\Messenger.py", line 420, in __dispatch
    result = method (*(extraArgs + sentArgs))
  File "C:\Panda3D-1.11.0-x64\direct\gui\DirectButton.py", line 107, in commandFunc
    self['command'](*self['extraArgs'])
  File "C:\Panda3D-1.11.0-x64\direct\gui\DirectDialog.py", line 180, in <lambda>
    command = lambda s = self, v = value: s.buttonCommand(v)
  File "C:\Panda3D-1.11.0-x64\direct\gui\DirectDialog.py", line 339, in buttonCommand
    self['command'](value, *self['extraArgs'])
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 464, in __applyDone
    if not self.changeDisplayProperties(
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 521, in changeDisplayProperties
    if self.resetDisplayProperties(pipe, properties):
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 627, in resetDisplayProperties
    NametagGlobals.setCamera(base.cam)
NameError: name 'NametagGlobals' is not defined
Press any key to continue . . .
DarthMDev commented 2 years ago

Looks like nametagglobals was never imported from panda3d.otp in that file?

GracieLovelight commented 2 years ago

So, all I have to do is import NametagGlobals in DisplaySettingsDialog.py?

DarthMDev commented 9 months ago

can you test this again at some point i cant test it bc mac has a seperate issue with fullscreening Assertion failed: (result == 0), function lock, file mutexPosixImpl.I, line 99. start-game.sh: line 6: 30855 Abort trap: 6 python3.10 -m toontown.launcher.QuickStartLauncher

GracieLovelight commented 9 months ago

This has been fixed or is invalid.