Hey it's me again, I've been having some issues with animations.
I added a new class (called Harbringer) and put in all the animations as normal, but whenever the game would play any animation, it crashes on me with this error report:
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Debug: 1
Version: v0.9.3.15
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: sBIT: invalid
Setting Seed 0
Controller: None
Setting Seed 808
=== === === === === ===
Damn. Another bug :(
Quick! Copy this error log and send it to rainlash!
Or send the file "Saves/debug.log.1" to rainlash!
Thank you!
=== === === === === ===
*** Lex Talionis Engine Version 0.9.3.15 ***
Main Crash 'script'
Traceback (most recent call last):
File "main.py", line 116, in <module>
File "main.py", line 43, in main
File "main.py", line 61, in run
File "Code\StateMachine.py", line 196, in update
input_output = self.state[-1].take_input(eventList, gameStateObj, metaDataObj)
File "Code\GeneralStates.py", line 1153, in take_input
gameStateObj.combatInstance = Interaction.start_combat(gameStateObj, attacker, defender, gameStateObj.cursor.position, splash, attacker.getMainWeapon(), attacker.current_skill)
File "Code\Interaction.py", line 64, in start_combat
attacker_anim = GC.ANIMDICT.partake(attacker.klass, attacker.gender, item, magic, distance)
File "Code\AnimationManager.py", line 97, in partake
if not self.generate(klass):
File "Code\AnimationManager.py", line 69, in generate
default_script = self.directory[klass[:-1] + '0'][weapon]['script']
KeyError: 'script'
Created save point at last turn change! Select Continue in Main Menu to load!
=== === === === === ===
Damn. Another bug :(
Quick! Copy this error log and send it to rainlash!
Or send the file "Saves/debug.log.1" to rainlash!
Thank you!
=== === === === === ===
Script and Index files are present, along with the needed .png files, so I'm not sure what to do.