Problem with Lerp

Alright, i’m trying to use a deprecated module or file which is not here. “from pandac.PandaModules import Lerp”
If i can get any help with finding this file that would be greatful. I don’t want to edit the code for the file that needs it so i want to get the deprecated form.

Thanks, Dalmatian.

Lerp class was removed in 1.8.0. So, it was available in 1.7.2 and before that.

I tried to use 1.7.2 but it then returned more errors… Do i maybe have to downgrade from 1.9.0 to 1.7.2 if possible? Or can i just take the “pandac” and “direct.interval” folders and put them in…

I can try to replicate the error again if needed

You can’t simply copy the folders, that won’t work.

Ok, so i am using 1.7.2 and have an issue with the games DNAParser
(This is nothing related to Lerp, i just feel like asking here.

Starting Toontown...
Current time: Tue Jul 29 16:18:53 2014 Central Standard Time
sys.path =  ['', 'C:\\Panda3D-1.7.2\\python\\', 'C:\\Panda3D-1.7.2\\python\\DLLs', 'C:\\Panda3D-1.7.2\\python\\lib', 'C:\\Panda3D-1.7.2\\python\\lib\\plat-win', 'C:\\Panda3D-1.7.2\\python\\lib\\lib-tk', 'C:\\Panda3D-1.7.2\\python', 'C:\\Panda3D-1.7.2', 'C:\\Panda3D-1.7.2\\bin', 'C:\\Panda3D-1.7.2\\python\\lib\\site-packages']
sys.argv =  ['C:\\Users\\Dalmatian\\Desktop\\TTO\\toontown\\toonbase\\']
TTLocalizer: Running in language: english
from toontown.toonbase.TTLocalizerEnglish import *
OTPLocalizer: Running in language: english
from otp.otpbase.OTPLocalizerEnglish import *
setRegistry[EXIT_PAGE] = normal
ToontownStart: Polling for game2 to finish...
ToontownStart: Game2 is finished.
ToontownStart: Starting the game.
ToontownStart: setting default font
Traceback (most recent call last):
  File "C:\Panda3D-1.7.2\python\lib\", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Panda3D-1.7.2\python\lib\", line 34, in _run_code
    exec code in run_globals
  File "C:\Users\Dalmatian\Desktop\TTO\toontown\toonbase\", line 45, in <module>
    import ToonBase
  File "toontown\toonbase\", line 7, in <module>
    import ToontownLoader
  File "toontown\toonbase\", line 5, in <module>
    from toontown.dna.DNAParser import *
  File "toontown\dna\", line 428
    ivPointTypeMap = {v: k for k, v in pointTypeMap.items()}
SyntaxError: invalid syntax

The DNAParsers coding can be located here:

If i can get help with this now this will be great!

i use this: from pandac.PandaModules import *
its easier as it imports everything[i]?[i] from pandac.PandaModules.

I get ALOT of those syntax errors. They are the proper syntax but they show invalid syntax. Yes, I’ve been coding with Toontown too. But you know that already (Magic Cat project that you’ve responded to)