hughbe Posted April 15, 2012 Share Posted April 15, 2012 Hey there, I was following a tutorial on creating a Papyrus script in Creation Kit, i followed what he did, and clicked New Script, filled in the name correctly, and clicked OK. It started to compile, but I got this error: Starting 1 compile threads for 1 files...Compiling "newscriptss"...Skyrim\Data\Scripts\Source\WordOfPower.psc(1,0): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,1): no viable alternative at character 'rnative at character 'fPower.psc(1,16): no viable alternative at character ' Skyrim\Data\Scripts\Source\WordOfPower.psc(1,24): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,32): no viable alternative at character 'native at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,2): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,10): no viable alternative at character 'able alternative at character 'urce\WordOfPower.psc(1,25): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,33): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(1,41): no viable alternative at character 'm\Data\Scripts\Source\WordOfPower.psc(1,3): no viable alternative at character '\Skyrim\Data\Scripts\Source\WordOfPower.psc(1,11): no viable alternative at character 'racter '26): no viable alternative at character 'Scripts\Source\WordOfPower.psc(1,34): no viable alternative at character 'Skyrim\Data\Scripts\Source\WordOfPower.psc(0,-1): mismatched input '<EOF>' expecting SCRIPTNAMESkyrim\Data\Scripts\Source\WordOfPower.psc(0,0): error while attempting to read script wordofpower: Object reference not set to an instance of an object.Skyrim\Data\Scripts\Source\Game.psc(235,32): unknown type wordofpowerSkyrim\Data\Scripts\Source\Weapon.psc(1,0): no viable alternative at character 'able alternative at character 'tive at character ' character 'ter 'Skyrim\Data\Scripts\Source\Weapon.psc(1,37): no viable alternative at character 'Skyrim\Data\Scripts\Source\Weapon.psc(1,45): no viable alternative at character Skyrim\Data\Scripts\Source\Weapon.psc(1,53): no viable alternative at character '6)\Skyrim\Data\Scripts\Source\Weapon.psc(1,61): no viable alternative at character 'Skyrim\Data\Scripts\Source\Weapon.psc(1,69): no viable alternative at character Skyrim\Data\Scripts\Source\Weapon.psc(1,77): no viable alternative at character 'Skyrim\Data\Scripts\Source\Weapon.psc(1,85): no viable alternative at character 'm\Data\Scripts\Source\Weapon.psc(1,93): no viable alternative at character '\Scripts\Source\Weapon.psc(1,101): no viable alternative at character 'a\Scripts\Source\Weapon.psc(1,109): no viable alternative at character 'ta\Scripts\Source\Weapon.psc(1,117): no viable alternative at character 'ata\Scripts\Source\Weapon.psc(1,125): no viable alternative at character 'Data\Scripts\Source\Weapon.psc(1,133): no viable alternative at character '\Data\Scripts\Source\Weapon.psc(1,141): no viable alternative at character 'm\Data\Scripts\Source\Weapon.psc(1,149): no viable alternative at character 'Skyrim\Data\Scripts\Source\Weapon.psc(1,157): no viable alternative at character 'Skyrim\Data\Scripts\Source\Weapon.psc(1,165): no viable alternative at character ''character 'e alternative at character 'c(1,26): no viable alternative at character 'urce\VoiceType.psc(1,34): no viable alternative at character 'm\Data\Scripts\Source\VoiceType.psc(0,-1): mismatched input '<EOF>' expecting SCRIPTNAMESkyrim\Data\Scripts\Source\VoiceType.psc(0,0): error while attempting to read script voicetype: Object reference not set to an instance of an object.Skyrim\Data\Scripts\Source\ObjectReference.psc(368,19): unknown type voicetypeSkyrim\Data\Scripts\Source\WorldSpace.psc(1,0): no viable alternative at character 'e alternative at character '.psc(1,12): no viable alternative at character 'Scripts\Source\WorldSpace.psc(1,20): no viable alternative at character 'Skyrim\Data\Scripts\Source\WorldSpace.psc(1,28): no viable alternative at character 'Skyrim\Data\Scripts\Source\WorldSpace.psc(1,36): no viable alternative at character 'EOF>' expecting SCRIPTNAMESkyrim\Data\Scripts\Source\WorldSpace.psc(0,0): error while attempting to read script worldspace: Object reference not set to an instance of an object.Skyrim\Data\Scripts\Source\ObjectReference.psc(374,20): unknown type worldspaceSkyrim\Data\Scripts\Source\Topic.psc(1,0): no viable alternative at character 'a\Scripts\Source\Topic.psc(1,5): no viable alternative at character 'ic.psc(1,13): no viable alternative at character 'o viable alternative at character 'ative at character 'ter 'Skyrim\Data\Scripts\Source\Topic.psc(1,46): no viable alternative at character 'Skyrim\Data\Scripts\Source\Topic.psc(1,54): no viable alternative at character 'Skyrim\Data\Scripts\Source\Topic.psc(1,62): no viable alternative at character 'ta\Scripts\Source\Topic.psc(1,70): no viable alternative at character 'ce\Topic.psc(1,78): no viable alternative at character '86): no viable alternative at character 'alternative at character 'at character 'acter 'le of 1 files finished. 0 succeeded, 1 failed.Failed on newscriptss I don't have a clue what the hell is going on, so can someone tell me how to fix this please :) Thanks. P.S: These errors don't seem to show anything wrong with the file I created, and I have never created a Papyrus Script before. Link to comment Share on other sites More sharing options...
ScarabMonkey Posted April 15, 2012 Share Posted April 15, 2012 Sound like your Papyrus sources have corrupted... Try reinstalling the Creation Kit. Link to comment Share on other sites More sharing options...
David Brasher Posted April 15, 2012 Share Posted April 15, 2012 One useful trick is to create a dummy script first, like maybe just one commented out line and then compile it. Then you can set all the properties before you refer to them. Then you can enter your entire script. Another trick is to always write your scripts in the CK and never in the various notepad utilities people use. You compile your script over and over as it gets bigger and bigger. The CK will throw out small error messages every time you hit a snag. It is easier to fix one small error than to have to deal with an error report two pages long. Looking at the most frequent errors in your error message, I would guess that you have not set your nightmare Lua properties. Link to comment Share on other sites More sharing options...
Recommended Posts