Jump to content

Question

Posted

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

1 answer to this question

Recommended Posts

  • 0
Posted

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;

}

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...