OpenToontownTools / OpenLevelEditor

An open sourced modernized version of Disney's in-house Toontown Online level editor used to create .dna files.
MIT License
56 stars 14 forks source link

Trace back when loading the bat #37

Closed GamerBoy563 closed 3 years ago

GamerBoy563 commented 3 years ago

Describe the bug File "C:\Panda3D-1.11.0-py39-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-py39-x64\python\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\ttle.py", line 258, in ToontownLevelEditor().run() File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\ttle.py", line 146, in init self.le = LevelEditor.LevelEditor() File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\toontown\leveleditor\LevelEditor.py", line 103, in init self.styleManager = LevelStyleManager(NEIGHBORHOODS, NEIGHBORHOOD_CODES) File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\toontown\leveleditor\LevelStyleManager.py", line 21, in init self.createWallStyleAttributes() File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\toontown\leveleditor\LevelStyleManager.py", line 169, in createWallStyleAttributes self.createWallStyleMenu(neighborhood, attribute.getDict())) File "E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master\toontown\leveleditor\LevelStyleManager.py", line 252, in createWallStyleMenu bounds = node.getBounds() AssertionError: !is_empty() at line 538 of panda/src/pgraph/nodePath.cxx

E:\Downloads\OpenLevelEditor-master\OpenLevelEditor-master>pause is the traceback

Reproduction Steps No clue just happens when I launch the bat to run open level editor.

Expected behavior to load the editor

Attachments

No System Info

Specify a precise version of Panda3D. If possible link to the latest commit in your build of Panda3D. Simply saying 1.11.0 does not help, since 1.11.0 is still in development. If you are using the Panda3D installation included in the readme, please specify that. -->

Checklist

ComradeNapCali commented 3 years ago

It looks like your models are not loading correctly. They should be in the root of the directory. What phases were you trying to load?

drewc5131 commented 3 years ago

The Command Line input is asking for the script INSIDE of the .bat file. Please fill out the forms properly

Also attach an image of your level editor root directory

GamerBoy563 commented 3 years ago

Forgot I even opened this sorry for the late reply I'm using the resources from the main page

ComradeNapCali commented 3 years ago

I'm using the resources from the main page

Did you put the resource folders in the root of the level editor repository? It should be like "root/phase_3", "root/phase_3.5", etc. There shouldn't be a resources subfolder also.

GamerBoy563 commented 3 years ago

Yes.

GamerBoy563 commented 3 years ago

image image image Thats my root folder

GamerBoy563 commented 3 years ago

I have to get rid of the --hoods OT cause no file was made/found called OT not sure if thats doing something

GamerBoy563 commented 3 years ago

heres what command prompt says image image image

GamerBoy563 commented 3 years ago

Oh my god I just fixed it it turns out I hadnt extracted the phase files for like CL.dna CM.DNA in level editor folder and I didnt select which hood I wanted to load cause OT isnt a hood. I'm so dumb some times

GamerBoy563 commented 3 years ago

Although I do wonder how do I load the dna file in game?

drewc5131 commented 3 years ago

Oh my god I just fixed it it turns out I hadnt extracted the phase files for like CL.dna CM.DNA in level editor folder and I didnt select which hood I wanted to load cause OT isnt a hood. I'm so dumb some times

Yeah there was an accidental push, that OT hood is something private that wasnt meant to be pushed.