Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Lab Assistant
Original Poster
#1 Old 7th Mar 2017 at 7:10 PM
CUSTOM BOOKS: Help me?!!
I'm not sure if posting error logs is still a thing but would someone be able to help me.

I'd like to create a series of books, and if you are familiar with them, you'll realise that as soon as the sim finishes using it this error comes up?! I was just wondering if anyone might know how to fix it please?

Object id: 254
name: E001_User00008 - Isabel
Stack size: 9
Error: Invalid constant.
Iterations: 10
Frame 8:
Stack Object id: 10
Stack Object name: Paperback Template
Node: 18
Tree: id 8220 name 'Read - Put Book Down' version 53
from BookGlobals
Prim state: 0
Params: Locals: 10
Frame 7:
Stack Object id: 10
Stack Object name: Paperback Template
Node: 1
Tree: id 4106 name 'Sub - Get Rid of Book' version -32753
from mypaperbackbook
Prim state: 0
Params: Locals: 0 0
Frame 6:
Stack Object id: 10
Stack Object name: Paperback Template
Node: 3
Tree: id 4108 name 'Read - Stop Reading' version -32755
from mypaperbackbook
Prim state: 0
Params: Locals:
Frame 5:
Stack Object id: 10
Stack Object name: Paperback Template
Node: 9
Tree: id 4103 name 'Interaction - Read ' version 126
from mypaperbackbook
Prim state: 0
Params: Locals: 10 0
Advertisement
Née whiterider
retired moderator
#2 Old 8th Mar 2017 at 10:32 AM
Well - it sounds like you have an invalid constant . Have you modified the BHAVs for these books at all?

I'm moving this to the modding forum, since it's about modding.

What I lack in decorum, I make up for with an absence of tact.
Scholar
#3 Old 8th Mar 2017 at 11:01 AM
Node 18 of 'Read - Put Book Down' from the book globals is trying to read constant 0x1002:0x0E (That sets the 'Crapness Score' to encourage sims to put the books away). Clearly your custom book is lacking that constant, I'd suggest you pull all of the constants from a default book and use them to replace any that yours is missing.
Back to top