Jump to content
  • 0

NydhoggsNest - instance variable error


Ice Bear

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

Error Message From Nydhogs Instance Script

[Warning]: script:get_val: cannot access instance variable ''ins_nyd2', defaulting to 0
[Error]: script_set_reg: cannot write instance variable ''ins_nyd2', NPC not in a instance!
[Debug]: Source (NPC): Murdered Yggdrasilid#1F at 1@nyd (213,277)
[Error]: buildin_instance_npcname: Invalid instance NPC (instance_id: 0, NPC name: "ins_nyd_1f_timer".)
[Debug]: Source (NPC): Murdered Yggdrasilid#1F at 1@nyd (213,277)

Part of the script that give the error

if (is_party_leader() == true) {
mes "The path to the Guardian's Nest is just past the waterfall by the large World Tree Yggdrasil to the North. The defensive mechanisms of the Sanctuary will start immediately.";
			next;
			mes "[World Tree Yggdrasil]";
			mes "Defeat all of Nidhoggur's guardians and go through the waterfall into the nest... and stop Nidhoggur's Shadow there.";
			next;
			mes "[World Tree Yggdrasil]";
			mes "The gate will open soon. Go defeat all of the guardians... you must kill them all in 30 minutes before the gate opens...";
			next;
			mes "[World Tree Yggdrasil]";
			mes "30 minutes... that's the limit of my powers. Please hurry.";
			next;
			mes "[World Tree Yggdrasil]";
			mes "And... Be careful... Be careful of the shadow's power.";
			'ins_nyd2 = ins_nyd2 = 1;
			donpcevent instance_npcname("ins_nyd_1f_timer")+"::OnEnable";
			donpcevent instance_npcname("nyd_call_mon_1")+"::OnEnable";
			close;

link of the script - https://github.com/rathena/rathena/blob/master/npc/instances/NydhoggsNest.txt

 

  • Upvote 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

problem solved, dont do @warp inside instance it will break it , thanks to @sadder

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...