#I d be glad for any help

1 messages ยท Page 1 of 1 (latest)

nimble thunder
#

is this on one specific scene or all scenes?

minor fractal
#

It was happening on two scenes, but I got one to load by just refreshing incessantly

#

deleted all those basic actors and lights work again and scene loads

#

now it's just one where I had like 30 of those basic actors lol

nimble thunder
#

ok, gimme a sec

minor fractal
#

Those are the two errors I'm seeing in the console

nimble thunder
#

the first error and the one in the second picture both seem to just be a missing image file. No big issue there

minor fractal
#

nod I just figured giving you everything I see is better than not

nimble thunder
#

what version of pf1 are you on right now?

minor fractal
#

Just updated

#

80.23

#

zero modules active at the moment, i do have the patch module, but on or off doesn't change what i'm experiencing

nimble thunder
#

Ok, you're self-hosting it looks like, yes?

minor fractal
#

yes

nimble thunder
#

You comfortable opening the system file and making an edit if I tell you what line to change?

minor fractal
#

Yeah I'll need help finding it but I'll give it a shot. I've backed up my world.

#

data/systems/pf1 ?

nimble thunder
#

yep, the pf1.js file inside

minor fractal
nimble thunder
#

the javascript file. second one there called pf1

minor fractal
#

KK right click edit?

nimble thunder
#

Yeah

minor fractal
#

KK

nimble thunder
#

ok, you need to go to line 43871

#

um, just do a find for === "basic"

minor fractal
nimble thunder
#

yep, make that line say instead if (actor.type === "basic") return {items: [], effects: []};

minor fractal
nimble thunder
#

save it, reload the world, try to migrate again

minor fractal
#

won't load the scene

nimble thunder
#

And that's after the migration has run?

minor fractal
#

Yes

#

saved the change we made.

nimble thunder
#

Ok, well, at least it got through migration, eh?

minor fractal
#

Yes

#

I don't see any errors for migration

#

I was before on that scene, but it still won't load that scene.

#

I might have to recreate it.

nimble thunder
#

No problem, I'm pretty sure I know the issue

minor fractal
#

if I add a basic actor it errors again.

nimble thunder
#

Just gotta edit one more thing

minor fractal
#

Yeap, if I add a basic actor it hoses the whole thing up.

nimble thunder
#

ok, go back to the top of the pf1 file and find senses.ll.

minor fractal
nimble thunder
#

make that line say const lowLightTokens = relevantTokens.filter((o) => o.actor?.data.data.traits.senses.ll.enabled && o.actor.type !== "basic");

minor fractal
#

like that?

nimble thunder
#

looks good

minor fractal
#

That one scene is still cocked up lol

#

but the scene I added a basic to works

nimble thunder
#

New error?

minor fractal
nimble thunder
#

same error

#

ok

#

ok, in the console, try running this and tell me what it spits out at you in the console
game.scenes.contents.forEach(s => s.tokens.contents.filter(t => !t.actor.data.data.traits.senses).forEach(a => console.log(a.name)))

minor fractal
#

Uhhh how do I run something in the console?

nimble thunder
#

Tjere

#

There's an input box at the bottom

minor fractal
#

KK

nimble thunder
#

Oh yeah

#

maybe game.scenes.contents.forEach(s => s.tokens.contents.filter(t => !!t.actor.data.data && !t.actor.data.data.traits.senses).forEach(a => console.log(a.name)))

minor fractal
#

the basic guys are all called Balista if that helps?

nimble thunder
#

game.scenes.contents.forEach(s => s.tokens.contents.filter(t => !!t.actor.data?.data && !t.actor.data.data.traits.senses).forEach(a => console.log(a.name)))

#

oh wait

minor fractal
nimble thunder
#

I'm dumb, I did an order of operations wrong in the 2nd pf1 file fix I think

#

const lowLightTokens = relevantTokens.filter((o) => o.actor.type !== "basic" && o.actor?.data.data.traits.senses.ll.enabled);

minor fractal
#

I don't kno

#

Here?

nimble thunder
#

YEs, there

minor fractal
#

WORKS

nimble thunder
#

Yeah, sorry, order of operations ๐Ÿ™„

minor fractal
#

no no dude no apologies!

#

You're awesome for spending all this time helping me

#

100% the PF1e team is awesome IMO.

nimble thunder
#

I'll post about it on the issues page, but you really shouldn't be using the basic type of actor. It says (for mods) for a reason ๐Ÿ™‚

minor fractal
#

Ahh I didn't notice that. I used it cause it was a simple sheet for siege engines

#

I'll change that out.

nimble thunder
#

You can create npcs and use the lite sheet for a really barebones UI

minor fractal
#

I'm hoping after I take some classes I can do a vehicle sheet module.

#

Cause I'd love a proper built sheet for my player's ships.

nimble thunder
#

Yeah, would be useful

minor fractal
#

Thank you websterguy, you're awesome and saved me a ton of work recreating that.

nimble thunder
#

My pleasure

#

Thanks for being the guinea pig so I can get the issue workthrough to the devs

minor fractal
#

not a problem at all!