#fun with numbers

1 messages ยท Page 1 of 1 (latest)

coral knot
#

easier to read with elapsed time

final harness
#

what do you mean by different global system number

coral knot
#

combat effect global version is so much ahead of calcSpellContainer that even the bump doesn't increase it to trigger a change

final harness
coral knot
#

right and a change is chunkVersion - lastVersion > 0

final harness
#

yeah the issue is this

#

these are updating out of order always

#

the frame it's meant to be checking for updates before the change

coral knot
#

true

#

hm, that's finicky. i was under the impression it would get the change on the next update

#

even if it was bumped to 55119 the change wouldn't register

final harness
#

this down here is irrelevant

#

based on system order it would never change from previous frame

coral knot
#

hm, well. the calcSpellContainer is probably the last thing on my list of questionable architecture. haha - the job gets reused and the system that actually triggers the stack increase runs after the UpdateSpellEffect

#

i need to get this order right

#

well, i have a lead. thanks a lot! ๐Ÿ™‚

final harness
#

i dont really understand why the jobs are running out of order

#

it implies a dependency is missing or read/write are not setup correct maybe

coral knot
#

well, as i said, bad architecture. i've untangled this mostly. thought i could leave it like that but apparently not because the version screws me now. i had a job container that was used multiple times in other systems. basically so other systems like spellCast/trigger/effect/etc... can calculate spells and i don't have to set all handles again and again. problem is, the system that sets this container up then has an old version number.

final harness
#

ah

coral knot
#

and it's not really a job. i just call it like that ^^

#

really just a container with lots of methods and handles/buffers

#

now i only use it in 1 place so that's what i need to do now. rip it out completely.

#

fixed! yay! ๐Ÿ˜„