Git Product home page Git Product logo

arbitrium-studios / open-fantasy Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 1.04 GB

PLAYER ZER0 STUDIO's Toontown Fantasy will be a story-focused, singleplayer game with an emphasis on exploration and adventuring. Our goal is to adapt and overhaul the story of Twinkling Shadows: A Toontown Story into a game while keeping it faithful to the Tooniverse!

Home Page: https://www.toontownfantasy.com

License: BSD 3-Clause "New" or "Revised" License

Python 96.18% Batchfile 0.02% PLSQL 0.02% Shell 0.07% C++ 3.24% Perl 0.17% Makefile 0.03% NSIS 0.03% C 0.21% Puppet 0.03%
adventure game open-world open-world-game python toontown toontown-fantasy

open-fantasy's People

Contributors

cloudcitydev avatar darthmdev avatar endangerednayla avatar gracielovelight avatar hunterboppen avatar opentoontown avatar professor-control avatar somethingrandom0768 avatar

Stargazers

 avatar

Watchers

 avatar

open-fantasy's Issues

Bug - DistributedNPCClerkAI:

Traceback (most recent call last):
  File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\ai\AIStart.py", line 78, in <module>
    run()
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\otp\ai\AIBase.py", line 202, in run
    self.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:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\toon\DistributedNPCClerkAI.py", line 68, in sendTimeoutMovie
    self.sendClearMovie(None)
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\toon\DistributedNPCClerkAI.py", line 74, in sendClearMovie
    self.busy.remove(avId)
ValueError: list.remove(x): x not in list
Press any key to continue . . .

To go with the previous error, I just noticed the District Server also crashed.

District's can't load in the Modern Anesidora Branch

Traceback (most recent call last):
  File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\ai\AIStart.py", line 38, in <module>
    simbase.air.connect(host, port)
  File "C:\Panda3D-1.11.0-x64\direct\distributed\AstronInternalRepository.py", line 599, in connect
    ConnectionRepository.connect(self, [url],
  File "C:\Panda3D-1.11.0-x64\direct\distributed\ConnectionRepository.py", line 512, in connect
    successCallback(*successArgs)
  File "C:\Panda3D-1.11.0-x64\direct\distributed\AstronInternalRepository.py", line 620, in __connected
    self.handleConnected()
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\ai\ToontownAIRepository.py", line 140, in handleConnected
    self.district.generateWithRequiredAndId(self.districtId, self.getGameDoId(), OTP_ZONE_ID_DISTRICTS)
  File "C:\Panda3D-1.11.0-x64\direct\distributed\DistributedObjectAI.py", line 413, in generateWithRequiredAndId
    self.air.generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields)
  File "C:\Panda3D-1.11.0-x64\direct\distributed\AstronInternalRepository.py", line 570, in generateWithRequiredAndId
    do.sendGenerateWithRequired(self, parentId, zoneId, optionalFields)
  File "C:\Panda3D-1.11.0-x64\direct\distributed\DistributedObjectAI.py", line 463, in sendGenerateWithRequired
    dg = self.dclass.aiFormatGenerate(
AssertionError: Distributed class ToontownDistrict doesn't have getter named getAllowAHNNLog to match required field allowAHNNLog at line 421 of E:\Toontown Fantasy\fantasy-panda\direct\src\dcparser\dcClass_ext.cxx
Press any key to continue . . .

This crashes the game...

Bug - ToontownBattleGlobal

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:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\toon\InventoryNew.py", line 432, in showDetail
    damage = getAvPropDamage(
  File "C:\Users\zacha\SynologyDrive\Toontown Fantasy\open-fantasy\toontown\toonbase\ToontownBattleGlobals.py", line 734, in getAvPropDamage
    minD = AvPropDamage[attackTrack][attackLevel][0][0]
IndexError: tuple index out of range
Press any key to continue . . .

The game crashes after a few seconds of talking to the Gag Shop Clerk.

Bug - User-Branch: THE HORROR

A lot of things are missing in this branch that need to be fixed: The checkmark and x buttons for errors are missing as well as the edge of menus, the Pick A Toon menu is usable but not ideal and the DNA files don't work causing the game to crash.

Bug - Changing your Display Settings Crashes your game

Changing your Display Settings will crash your game, leaving behind this error message:

  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\otp\launcher\LauncherBase.py", line 161, in mainLoop
    self._runTaskManager()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\otp\launcher\LauncherBase.py", line 141, in _runTaskManager
    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\showbase\EventManager.py", line 50, in eventLoopTask
    self.doEvents()
  File "C:\Open-Panda\direct\showbase\EventManager.py", line 44, in doEvents
    processFunc(dequeueFunc())
  File "C:\Open-Panda\direct\showbase\EventManager.py", line 100, in processEvent
    messenger.send(eventName, paramList)
  File "C:\Open-Panda\direct\showbase\Messenger.py", line 335, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "C:\Open-Panda\direct\showbase\Messenger.py", line 420, in __dispatch
    result = method (*(extraArgs + sentArgs))
  File "C:\Open-Panda\direct\gui\DirectButton.py", line 107, in commandFunc
    self['command'](*self['extraArgs'])
  File "C:\Open-Panda\direct\gui\DirectDialog.py", line 180, in <lambda>
    command = lambda s = self, v = value: s.buttonCommand(v)
  File "C:\Open-Panda\direct\gui\DirectDialog.py", line 339, in buttonCommand
    self['command'](value, *self['extraArgs'])
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 464, in __applyDone
    if not self.changeDisplayProperties(
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 521, in changeDisplayProperties
    if self.resetDisplayProperties(pipe, properties):
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\DisplaySettingsDialog.py", line 627, in resetDisplayProperties
    NametagGlobals.setCamera(base.cam)
NameError: name 'NametagGlobals' is not defined
Press any key to continue . . .```

Uberdog - Modern Anesidora: Uberdog fails to connect to localhost (127.0.0.1)

:07-20-2022 11:30:27 ToontownUDRepository: Now connecting to 127.0.0.1:7100...
:07-20-2022 11:30:27 ToontownUDRepository: Connecting to gameserver directly (no proxy).
:07-20-2022 11:30:27 ToontownUDRepository: Connecting to //127.0.0.1:7100 via Native interface.
:07-20-2022 11:30:29 ToontownUDRepository(warning): Failed to connect! (code=0; '')

This prevents the game from being played on the Modern Anesidora branch.

Bug - Chatlog:

Chat log is kinda broken. The messages are the same across all tabs, clicking on a tab doesn't clear a message, and clicking the tab to move it doesn't shrink the window like it should!

toontown-screenshot-Thu-Jul-21-11-58-39-2022-301259
image

Crash - Entering Field Offices will crash the District.

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)

Bug from AI server: Cannot import name Enum

Traceback (most recent call last):
File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Panda3D-1.11.0-x64\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\Toontown Fantasy\open-fantasy\toontown\ai\AIStart.py", line 43, in
from otp.ai.AIBaseGlobal import *
File "E:\Toontown Fantasy\open-fantasy\otp\ai\AIBaseGlobal.py", line 2, in
builtins['simbase'] = AIBase()
File "E:\Toontown Fantasy\open-fantasy\otp\ai\AIBase.py", line 76, in init
from toontown.pets import PetConstants
File "E:\Toontown Fantasy\open-fantasy\toontown\pets\PetConstants.py", line 4, in
from toontown.toonbase import ToontownGlobals
File "E:\Toontown Fantasy\open-fantasy\toontown\toonbase\ToontownGlobals.py", line 4, in
from otp.otpbase.PythonUtil import Enum
ImportError: cannot import name 'Enum' from 'otp.otpbase.PythonUtil' (E:\Toontown Fantasy\open-fantasy\otp\otpbase\PythonUtil.py)
Press any key to continue . . .

Crash - Orbital Camera:

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 . . .

Bug - Clicking on the Kart Page crashes the game

When you click on the Kart Page in your Shtiker Book, it crashes your game while giving you this error in the game log:

  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\otp\launcher\LauncherBase.py", line 161, in mainLoop
    self._runTaskManager()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\otp\launcher\LauncherBase.py", line 141, in _runTaskManager
    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\showbase\EventManager.py", line 50, in eventLoopTask
    self.doEvents()
  File "C:\Open-Panda\direct\showbase\EventManager.py", line 44, in doEvents
    processFunc(dequeueFunc())
  File "C:\Open-Panda\direct\showbase\EventManager.py", line 100, in processEvent
    messenger.send(eventName, paramList)
  File "C:\Open-Panda\direct\showbase\Messenger.py", line 335, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "C:\Open-Panda\direct\showbase\Messenger.py", line 420, in __dispatch
    result = method (*(extraArgs + sentArgs))
  File "C:\Open-Panda\direct\gui\DirectButton.py", line 107, in commandFunc
    self['command'](*self['extraArgs'])
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\ShtikerBook.py", line 257, in goToPage
    self.setPage(page)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\ShtikerBook.py", line 363, in setPage
    page.enter()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 30, in enter
    self.setMode(self.mode, 1)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 216, in setMode
    self.updatePage()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 220, in updatePage
    self.kartCustomizer.show()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 291, in show
    self.kartViewer.show(list(self.avatar.getKartDNA()))
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 1269, in show
    self.refresh(dna)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 1314, in refresh
    self.kartFrame = self.makeKartFrame()
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\shtiker\KartPage.py", line 1229, in makeKartFrame
    self.kart.generateKart(forGui=1)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\racing\Kart.py", line 91, in generateKart
    self.__createLODKart(level)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\racing\Kart.py", line 142, in __createLODKart
    self.geom[level] = loader.loadModel(kartBodyPath)
  File "E:\Toontown\Toontown Fantasy\Toontown-Fantasy\toontown\toonbase\ToontownLoader.py", line 76, in loadModel
    ret = Loader.Loader.loadModel(self, *args, **kw)
  File "C:\Open-Panda\direct\showbase\Loader.py", line 256, in loadModel
    node = self.loader.loadSync(Filename(modelPath), loaderOptions)
TypeError: expected str, bytes or os.PathLike object, not int```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.