Jump to content
  • 0

error script


razialucard

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  07/28/16
  • Last Seen:  

GeffenMagicTournament 

}
    if (strnpcinfo(0) == "Kuro Akuma#z1_0et") {
        if ('GMT_1QUE > 1) setarray .@quotes$, "Kuro Akuma : Maybe just being evil isn't enough to win the tournament...";
        else setarray .@quotes$, "Kuro Akuma: It's like a calm before a storm~!","Kuro Akuma: So peaceful~! I love it!","Kuro Akuma: There quite a few innocent lambs joining the Magic Tournament~!";
    }

 

[Warning]: script:get_val: cannot access instance variable ''GMT_1QUE', defaulting to 0
[Warning]: script:get_val: cannot access instance variable ''GMT_1QUE', defaulting to 0
 

1.png

screenM.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Maybe it isn't an instance created before that check.

if( instance_id )
						data->u.str = (char*)i64db_get(instance_data[instance_id].regs.vars,reference_getuid(data));
					else {
						ShowWarning("script:get_val: cannot access instance variable '%s', defaulting to \"\"\n", name);
						data->u.str = NULL;
					}

Check there, in script.c shows:

if (!instance_id) {

                        ShowWarning("script:get_val: cannot access instance variable '%s', defaulting to \"\"\n", name);
                        data->u.str = NULL;

}

 

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...