#(Joshie) Weird model issue,

127 messages · Page 1 of 1 (latest)

proven fiber
#

So, the model from meg works fine, I create an NPC, add the model trait, add the model, Like i have done with all my other models, and it seems to be fine,

I walk out the room, and unload the chunks, and there is nothing there when i come back, in gmsp i see nothing, The base model is a /type pig but no pig is even visible, Just nothing, I tp the model to me and its seemingly nothing, Any ideas?

sudden wraithBOT
#

(Joshie) Weird model issue,

sudden wraithBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

fading saffron
#

still probably a modelengine problem

#

can you replicate it without model engine?

#

!logs

placid tigerBOT
# fading saffron !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

proven fiber
#

If it was a meg issue i 'think' the model would fail and it would show the base model of a pig

fading saffron
#

then you should be able to replicate it without model engine

proven fiber
#

I shouldnt be able to tp to a citizens model and see nothing in gmsp

fading saffron
#

you should if it's despawned

proven fiber
#

There isnt a despawn mechanic in it though

fading saffron
#

replicating this without model engine is the only way to determine if it's a citizens issue that we can fix

proven fiber
#

its just a base meg model

#

lol

fading saffron
#

citizens doesn't support model engine

#

model engine minimally supports citizens

fading saffron
proven fiber
#

I found the issue

#

No model engine interference

#

Just npc type pig

#

gone when teleporting back

#

Only seems to happen with types that will accept a model trait, works with player and doesn't vanish

fading saffron
#

did you mean that you replicated it without using model engine's trait

proven fiber
#

Yes

fading saffron
#

can you share a startup log that shows it for our bot to take a look?

proven fiber
#

The owner of modelengine says papers chunk rewrite messed with how citizens deals with this stuff

#

and everybody can replicate it

#

I could yeah but it won't show this issue its possible to replicate on a brand new server

fading saffron
#

y

proven fiber
#

The only option i have is to downgrade everthing

#

or force these chunks to be loaded

fading saffron
#

eh, i mean none of us ever recommend downgrading

#

there is also a config option to keep npc chunks loaded

proven fiber
#

I might try that

#

is that per npc or

#

global?

#
  chunks:
    always-keep-loaded: false
#

this?

fading saffron
#

the config would be global

#

i don't know if there's a per-npc option

#

would check /npc help for a subcommand for that

proven fiber
#

yep thats fixed it btw

#

the keep loaded

#

Should i report as bug?

finite cipher
#

are you guys planning to fix this? Im getting like 10 reports every day blaming this on MEG when theres nothing I can do about it sadge

proven fiber
#

chunks:
always-keep-loaded: true

Ah yeah.. this doesn't work over reboots, log on and npc gone. Seems it 'breaks' before the 'fix' of keeping chunks loaded kicks in

fading saffron
#

'this' isn't very descriptive, if you're aware of the specific problem

finite cipher
#

last I check, it does happen without meg

#

I have a clean install of paper and only citizens

proven fiber
#

Yeah it happens without meg

finite cipher
#

I cant help you on why it happens since I dont have time to read the citizen source, but replicating the problem is as easy as just creating a non-player npc at a not chunk loaded area, then restart the server/leave the chunk

#

I know its related the to rewrite since when I downgrade to paper 173, which is the last build before chunk rewrite, the non-player npcs works just fine

fading saffron
placid tigerBOT
# fading saffron !logcheck https://paste.denizenscript.com/View/102660
Server Version

Paper version git-Paper-237 (MC: 1.19.2)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2739) -- (Current build :white_check_mark:)
Denizen v1.2.5-SNAPSHOT (build 6524-DEV) -- (Current build :white_check_mark:)
Depenizen v2.0.0 (build 803) -- (Current build :white_check_mark:)
Sentinel v2.7.0-SNAPSHOT (build 496) -- (Current build :white_check_mark:)
dDiscordBot v0.7 (build 252) -- (Current build :white_check_mark:)

Checked For

@fading saffron

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

17.0.1 :white_check_mark:

Potentially Bad Line(s)

Starting Minecraft server on *:25564 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.
[15:41:24] [Server thread/ERROR]: Tried to load unrecognized recipe: denizen:furnace_recipe_steel_ore_1 removed now. :warning: Log contains error messages.

fading saffron
#

i cannot replicate it at all

#

do you have a step-by-step process of replicating it while i create a brand new fresh server?

finite cipher
#

here let me get you a vid

#

ok, I was able to replicate it in b2726 but latest seems to have fixed it

#

so maybe joshie needs to update

proven fiber
#

Im on latest purpur

finite cipher
#

no, update citizens

proven fiber
#

Oh

#

Im on latest spigot hold up let me double check

#

Actually i might be on dev

#

Latest being Citizens-2.0.30-b2739.jar 5.08 ?

sharp epoch
#

!update

placid tigerBOT
#
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads.

(If you would prefer to use a Spigot build, refer to !update spigot).

sharp epoch
#

top link

fading saffron
#

here's a video of me:

  • starting a brand new test server, including generating a eula and adjusting properties to even start it with my other server online
    running these commands:
  • /teleport 2000 100 2000
  • /npc create bob
  • /teleport 1000 100 1000 teleporting 1000x/1000z blocks away
  • /teleport 2000 100 2000 teleporting back to the npc still there
  • /execute in minecraft:the_end as _Behr__ run teleport 0 100 0 to teleport to a different world completely
  • /execute in minecraft:overworld as _Behr__ run teleport 2000 100 2000 teleporting back to the npc still there
proven fiber
#

You have to set the type as pig lol

#

not player/npc

fading saffron
#

why a pig

proven fiber
#

Idk.. thats whats broken

#

Any none human/npc/player type

finite cipher
#

b2739 works with meg models as well

#

just tested. Model respawns just fine

fading saffron
#

!pastelog

placid tigerBOT
fading saffron
#

still no

#

it appears to be working fine, model engine excluded

#

if citizens works it should be fine for model engine

proven fiber
#

Yeah i'll update citizens now to test

finite cipher
#

right, as I said, latest citizens seems to have fixed this

fading saffron
#

thanks for the help ticxo

finite cipher
#

np, too many ppl asking about this question, now I can just tell them to update

proven fiber
#

Confirmed to be fixed during update, My apologies to everyone involved when it was just something I should have done from the start.

delicate warrenBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@proven fiber

proven fiber
#

One last question 🙂

#

[Citizens] The trait model failed to load for NPC ID: 158.

#

Since updating everything all my npcs say the trait model failed to load

#

But they do load

#

i think it's the old trait model, which became meg_model

#

I guess i have to remove the old model trait?

#
      model:
        model:
          '0':
            id: wizard
            hitbox: true
            mode: B
            tint: true
            clamp: '50.0'
        lockPitch: false
        lockYaw: false
        stepHeight: '0.5'

I'm assuming this is the old

#
      meg_model:
        model_data: '{"renderDistance":48,"isHeadClampUneven":false,"isBodyClampUneven":false,"maxHeadAngle":75.0,"maxBodyAngle":75.0,"minHeadAngle":-75.0,"minBodyAngle":-0.0,"playerMode":false,"stableAngle":15.0,"rotationDelay":10,"rotationDuration":10,"canSteer":true,"canRide":true,"isBaseEntityVisible":false,"modelRotationLock":false,"hitbox":{"width":1.0,"height":2.3125,"depth":1.0,"eyeHeight":1.625},"models":{"wizard":{"states":{"idle":{"lerpIn":0.25,"lerpOut":0.25,"time":0.05,"speed":1.0,"phase":"PLAY","forceLoopMode":"LOOP","forceOverride":false}},"defaultStates":{"JUMP":{"stateId":"jump","lerpIn":0.25,"lerpOut":0.25,"speed":1.0},"DEATH":{"stateId":"death","lerpIn":0.25,"lerpOut":0.0,"speed":1.0},"WALK":{"stateId":"walk","lerpIn":0.25,"lerpOut":0.25,"speed":1.0},"IDLE":{"stateId":"idle","lerpIn":0.25,"lerpOut":0.25,"speed":1.0},"SPAWN":{"stateId":"spawn","lerpIn":0.0,"lerpOut":0.25,"speed":1.0}},"canHurt":true,"lockPitch":false,"lockYaw":false}}}'
    traitnames: meg_model,location,skintrait,mounttrait,inventory,scoreboardtrait,owner,commandtrait,type,invisible,lookclose,spawned
#

and this is the new

#

But it won't let me remove like this

fading saffron
#

you might try re-creating it

proven fiber
#

There is like 30 npcs xD

#

With custom setups

#

Im gonna try removing this

      model:
        model:
          '0':
            id: wizard
            hitbox: true
            mode: B
            tint: true
            clamp: '50.0'
        lockPitch: false
        lockYaw: false
        stepHeight: '0.5'
#

old section from the ymls

fading saffron
#

we can't fix anything related to a trait we don't implement :L

#

you might see if enabling the citizens debug gives any output as to why it failed?

proven fiber
#

It's just the old method that used to be used but they changed how it's done

#

I think i can just use the yml file to manually remove

#

seems to work 🙂

delicate warrenBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@proven fiber