• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

sPrepCount in sScrCost script?

TCArknight

Well-known member
Hello!

I'm trying to script the bootstrapping of the first level Psionic powers Claws of the Beast and Bite of the Wolf to a class ability.

When the bootstrap is active, I get this:
Attempt to access field 'sPrepCount' that does not exist for thing 'puBiteWlf1'
Location: 'field calculate' script for Field 'sScrCost' near line 39
- - -
Attempt to access field 'sPrepCount' that does not exist for thing 'puClawBea1'
Location: 'field calculate' script for Field 'sScrCost' near line 39

Is there something missing with psionic powers?

TC
 
shadow mentioned he had made some change in another post. i don't know all the details but since i'm only getting a sprepcount error on one of my chars and for an ability i never use anyway, i figured i would just wait til the next update and see if it cleared it. haha
 
shadow mentioned he had made some change in another post. i don't know all the details but since i'm only getting a sprepcount error on one of my chars and for an ability i never use anyway, i figured i would just wait til the next update and see if it cleared it. haha
If you have a character can you email it to me? I got a report of the issue but can't duplicate it.

But I am pretty sure the issue is in a background component. I had Aaron add a few extra fields to the BasePower component so I could get a new gizmo to work. Anyways it appears this has some how activated some other "scripts" to fire.

So if you have a character doing this or info on how to replicate please let me know. Email is my forum user id (at) yahoo (dot) com.

Thanks!
 
just sent ya the por file and a user file in email. basically happens with i open the por file and interact with it (check or uncheck a box/counter, etc)
 

Attachments

  • error.jpg
    error.jpg
    36.5 KB · Views: 2
So thanks for those that sent me example .por files as I found the issue. Its a bug in the background component script and not something I can fix. I have put in an official bug report with all the information so they can duplicate it. It should be fixed in the next official release.

If you are playing the character you can suppress the error by going to "Develop->Enable Data File Debugging" and turning it OFF. Then you won't see the message every-time you make a change.

So on the good side this is really only affecting editors that are trying to do stuff in the package. :)
 
Last edited:
I'm getting this same error on a custom archetype for the cryptic. Is this the same as "only affecting editors that are trying to do stuff in the package"?

The archetype I built (distorter) doesn't do anything fancy.
 
I'm getting this same error on a custom archetype for the cryptic. Is this the same as "only affecting editors that are trying to do stuff in the package"?

The archetype I built (distorter) doesn't do anything fancy.
This means anyone that has turned on the Debugging tools which are those that do stuff in the editor.

So when playing your character:
If you are playing the character you can suppress the error by going to "Develop->Enable Data File Debugging" and turning it OFF. Then you won't see the message every-time you make a change.
Do this and no error message. When back to editing or needing to debug values turn it back on.

I understand its not perfect but its workable until we get a fix. :D
 
Back
Top