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 - Entering Field Offices will crash the District. #47

Closed GracieLovelight closed 8 months ago

GracieLovelight commented 1 year ago

Entering a Sellbot Field Office will crash the District you are playing in.


  File "C:\Open-Panda\python\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Open-Panda\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\ai\AIStart.py", line 78, in <module>
    run()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\otp\ai\AIBase.py", line 202, in run
    self.taskMgr.run()
  File "C:\Open-Panda\direct\task\Task.py", line 541, in run
    self.step()
  File "C:\Open-Panda\direct\task\Task.py", line 492, in step
    self.mgr.poll()
  File "C:\Open-Panda\direct\distributed\ConnectionRepository.py", line 612, in readerPollUntilEmpty
    while self.readerPollOnce():
  File "C:\Open-Panda\direct\distributed\ConnectionRepository.py", line 617, in readerPollOnce
    if self.checkDatagram():
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\cogdominium\DistributedCogdoInteriorAI.py", line 380, in setAvatarJoined
    self.fsm.request('Elevator')
  File "C:\Open-Panda\direct\fsm\ClassicFSM.py", line 281, in request
    self.__transition(aState,
  File "C:\Open-Panda\direct\fsm\ClassicFSM.py", line 230, in __transition
    self.__enter(aState, enterArgList)
  File "C:\Open-Panda\direct\fsm\ClassicFSM.py", line 216, in __enter
    aState.enter(argList)
  File "C:\Open-Panda\direct\fsm\State.py", line 200, in enter
    self.__enterFunc(*argList)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\cogdominium\DistributedCogdoInteriorAI.py", line 486, in enterElevator
    self._game = self._createGame()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\cogdominium\DistributedCogdoInteriorAI.py", line 527, in _createGame
    game.setExteriorZone(self.extZoneId)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\cogdominium\DistCogdoMazeGameAI.py", line 43, in setExteriorZone
    self.createSuits()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\cogdominium\DistCogdoMazeGameAI.py", line 67, in createSuits
    self.maxPickups = self._numSuits[0] * Globals.SuitData[0]['memos']
KeyError: 0
Press any key to continue . . .```

![image](https://user-images.githubusercontent.com/68795576/227755874-b6a779c4-6101-429f-9b32-dd994e0556c4.png)
DarthMDev commented 8 months ago

doesn't seem to happen anymore