okay so i have the following code (it’s just the importing part the rest is too big to put on here):
from pandac.PandaModules import * from toontown.distributed.ToontownMsgTypes import * from toontown.char import Char from otp.avatar import Avatar from toontown.toon import Toon from toontown.toon import LocalToon from toontown.toon import ToonDNA from toontown.char import CharDNA from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.fsm import StateData from toontown.toonbase import ToontownGlobals from direct.actor.Actor import Actor from direct.task import Task from direct.gui.DirectGui import * from toontown.toonbase import TTLocalizer from MakeAToonGlobals import * from direct.interval.IntervalGlobal import * from direct.directnotify import DirectNotifyGlobal from toontown.toontowngui import TTDialog import GenderShop import BodyShop import ColorShop import MakeClothesGUI import NameShop import random
and when i execute it i get the following error:
Traceback (most recent call last):
File “MakeAToon.pyc.py”, line 4, in
from toontown.distributed.ToontownMsgTypes import *
ImportError: No module named toontown.distributed.ToontownMsgTypes
Press any key to continue . . .
do i have some files in the wrong directory or something? i have ‘toontown’ in’ C:\Panda3D-1.8.1’ and there is a file named ‘ToontownMsgTypes.py’ in ‘toontown/distributed/ToontownMsgTypes’. what could i be doing wrong?
by the way this isn’t a project, i just want to be able to get this to work for nostalgic reasons.