Jump to content

Recommended Posts

Posted (edited)

Hi everyone, I am hoping that someone would be willing to help me compile this script. That I have compiled before mind you... I have tried everything, I have updated the Papyrus compiler, I have tried several independent compiler programs. I am not sure why it isn't working, I wanted to make a simple adjustment to a script value. But it wouldn't compile. After troubleshooting I realize that I can't even get the psc to compile again, even without the changes I made. I am leaning toward my script is wrong... The only thing is, the mod works fine. I have no issues with it in game.

Edited by Lillysdad2009
Posted

Post the script and the compiler error that you are receiving. With that information we should be able to determine why it won't compile.

 

And the reason you have no issue in game, the previously compiled script is still present. When the compiler fails, there is no PEX file created. The only thing changed is whatever was done to the PSC prior to the compilation attempt.

Posted

Hi, Ishara! I really appreciate your response. I will post the error codes as soon as possible. I have settled on Compiler Plus, it's the only thing I could find to even give me any error codes so far. It has been bouncing back and forth between different things. I completely understand what you mean about the .pex files. What's confusing me is that I tried to compile the original .psc file. Without any changes and it wouldn't compile. My assembler.exe will NOT let me open the .pex to see if I am missing something. I will be back soon with some info for you.

Posted

My error codes are:

 

--- ERRORS ---

_test3.psc(23,33): GetWeaponType is not a function or does not exist
_test3.psc(23,49): cannot compare a none to a int (cast missing or types unrelated)
I am mainly confused because this is the original .psc, I have been successfully using it in game. I have been away for a while...
Posted

GetWeaponType is an SKSE function. The script cannot be compiled without the SKSE PSC files in a location that the compiler can find. Either merge them into the existing source folder or use a third party utility that can use multiple source folder locations.

Posted (edited)

I will try again, I have reinstalled skse like five different times. I tried unpacking it in the folder, I tried the installer. I also tried manually placing every file. I even reinstalled the CK just in case. I appreciate your help.

Edited by Lillysdad2009
Posted

The last time I had this issue reinstalling skse fixed it. This time it doesn't seem to help. I am going to try to find a way to get the same function without GetWeaponType at this point I have basically created an entirely new mod, with fresh scripts anyway. It's probably something that I have done, and I just don't remember to be honest.

Posted

32 bit Skyrim by default uses "Data > Scripts > Source" for compiler access to all PSC files

64 bit Skyrim by default uses "Data > Source > Scripts" for compiler access to all PSC files

 

SKSE uses "Data > Scripts > Source" for all versions

 

If using 64 bit Skyrim, this may be the reason.

Posted

You were 100% correct! For what ever reason this time when I installed the skse files. It compiled with no issues at all... Skyrim and the CK can be so weird sometimes. Thank you! Kudos

Posted

That was exactly what I did, I just made absolute sure that all of the skse psc files went into the right source folder. I have no idea how I was getting that mixed up from the start. Once I put them where they were supposed to be. It was smooth sailing. Like I said I'm a little rusty lol I will get it together.

  • Recently Browsing   0 members

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