Jump to content

Scripting Error in CK - need help :)


Ceasirius

Recommended Posts

Hey everone, I am having a problem with my mod, after sucesfully creating 3 simple quests, I got stuck on fourth, as my CK refuses to create script that would be associated with the quest, and so all my scripting only results in an error, whether its just a direction to show objective, or to reward the Player - all of them give me an error, which I have tracked down to a "Cannot open store for class "QF__010191D9", missing file QF_SEQ04_030243AF" error. What I found is that CK did not create .pex file that would be associated with the quest, while it created the file for the previous mods - is there any way how to create the .pex file manually or otherwise bypass the error?

 

Thanks!

Link to comment
Share on other sites

Probably need the source files from "scripts.rar" in your Skyrim/scripts directory, released when Steam decided to do the Pay for Mods thing.

 

I have done that already - prior to making the earlier quests - is it possible that the game has somehow moved some of them back by itself (they seem to be all there though)? The last thing that I can think of is that I began creating the last quest on a different PC, that somehow that .pex is on the other PC rather than on this one, but again that "QF_SEQ04_030243AF" is not in the scripts folder on the other PC either :sad:

 

Edit: I found corresponding .psc file under source - I tried to delete it and create the script within CK again, got a message saying: QF_SEQ04_030243AF had errors while loading, it will not be added to the object - the script does, however appear under the script tabs, and keeps failing any compilation attempts anywhere in the quest :sad:

 

Edit 2: Tried recompiling all papyrus scripts - there it says sucessful, however compilation attempts again show off error, this time: Scripts\Source\temp\QF_SEQ04_030243AF.psc(6,0): missing EOF at 'Scriptname'. Any Idea how to fix it?

Edited by Ceasirius
Link to comment
Share on other sites

Does your script name written in the ScriptName line of the script match the file name of that script exactly?

 

It does, I've tried to delete the script and recreate it number of times, I have just somehow manage to make it run, as the script has created its own fragment into the source of the script - so it looked like this:

 

QF_SEQ04_030243AF Extends Quest

;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment
;NEXT FRAGMENT INDEX 7
Scriptname QF_SEQ04_030243AF Extends Quest Hidden
When I then deleted the initial script name that set this all running (QF_SEQ04_030243AF Extends Quest) the script went functional and now all the set stages and show objectives work. However, I still cant add gold to the property as to give player reward for competing the quest - when I use the "add property" - it pops out with error that it is already defined, but it does add the line MiscObject Property Gold001 Auto at the end of the source of the script - but when I try to compile it, it claims a new error, much like the ones I had earlier saying:
Compiling "QF_SEQ04_030243AF"...
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc(5,30): no viable alternative at input 'Gold001'
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc(5,20): script property Gold001 already defined
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc(5,20): script variable ::Gold001_var already defined
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc(5,20): script property Gold001 already has a get function defined
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc(5,20): script property Gold001 already has a set function defined
F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_SEQ04_030243AF.psc(33,20): cannot name a variable or property the same as a known type or script
No output generated for QF_SEQ04_030243AF, compilation failed.

And so I am stuck again... if in a better position.

 

 

Edit: It would seem that the error with adding gold appears even in vanilla quests - I have tried to re-compile several of them, and they all report the same error as shown above.

 

Solution: I have deleted the file F:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\Gold001.psc, and it started working. It seems that it somehow got duplicated and was messing it all up.

Edited by Ceasirius
Link to comment
Share on other sites

Glad you fingered it out. Guess logging is a good idea sometimes. :D I was compiling a simple script a few times, come to find that I was rewriting the wrong one, in a player character profile directory. :facepalm: Copy paste into Vanilla directory==poof! compiled, runs bam bang play the game. What's funny is how elated I was that I finally found such a simple mistake after so many tries. More palmfacing ensued.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...