Quests icon indicating copy to clipboard operation
Quests copied to clipboard

[Quests] NPC UUID was null for Denizen script

Open ilClaun opened this issue 2 years ago • 4 comments

What is your Quests version / build number (do not say "latest")?

5.1.3-b503

Describe the problem and how to replicate it.

The error is: [Quests] NPC UUID was null for Denizen script named dialogueMike1

this is my Denizen Script: dialogueMike1: type: task script:

  • narrate "<npc.name> dice: Ciao, come posso aiutarti oggi?"
  • narrate "§61. §7§n<element[Hai delle missioni?].on_click[1].on_hover[Clicca per rispondere]>"

Any console errors to share?

[Quests] NPC UUID was null for Denizen script named dialogueMike1

If applicable, can you provide an example quest from quests.yml?

No response

ilClaun avatar Sep 06 '24 14:09 ilClaun

How are you triggering this? If there's a quest involved please include the example (and any applicable action from actions.yml).

PikaMug avatar Sep 07 '24 22:09 PikaMug

Closing due to lack of response from OP.

PikaMug avatar Oct 20 '24 06:10 PikaMug

Original OP isnt responding, but i've got the same issue. I'll just use this instead of creating a new issue.

I've attached a Denizen Script as a start action to a stage. Once that stage starts i also get the "NPC UUID was null for Denizen script named" error.

Exert from actions.yml:

dg2stagestart:
    denizen-script: DGTWO_STAGE_KILL_GHOSTS

Exert from the "test" quest:

'000050':
    name: TEST
    ask-message: Challenge objectives!
    finish-message: Well done!
    npc-giver-uuid: 71668d1f-bfd7-4995-bdb5-abbc2628c76d
    stages:
      ordered:
        '1':
          npc-uuids-to-talk-to:
          - 71668d1f-bfd7-4995-bdb5-abbc2628c76d
        '2':
          npc-uuids-to-talk-to:
          - 71668d1f-bfd7-4995-bdb5-abbc2628c76d
          start-event: dg2stagestart
    planner:
      cooldown: 1
      override: false
    options:
      allow-commands: true
      allow-quitting: true
      ignore-silk-touch: true
      use-parties-plugin: true
      share-progress-level: 1
      same-quest-only: true
      share-distance: 0.0
      handle-offline-players: false
      ignore-block-replace: true
      give-at-login: false
      allow-stacking-global: true
      inform-on-start: true

The script i want to run:

dgtwo_stage_kill_ghosts:
    type: task
    script:
    - narrate <player> per_player
    - flag <player> quest_000046_stage_reached:true

1337psgolfcart avatar Jan 26 '26 15:01 1337psgolfcart

@1337psgolfcart Given the age of this issue, please create your own bug report (make sure to follow the issue template).

PikaMug avatar Jan 27 '26 21:01 PikaMug