Jump to content
  • 0

Endless Tower Error


Question

Posted

On this code about the Endless Tower I got an error that says parse line need ';' but I already have it as you can see. Can someone help me please thanks in advance ^_^


case 4:
mes "Floor: "+'ET_Floor;
mes "Lasttime varibale: "+'ET_Lasttime;
if('ET_Leadertalk == 5)
mes "Naght Sieger floor reachable";
else
mes "Naght Sieger floor not reachable";
if('ET_Floor == 100)
set .@map$,has_instance("5@tower");
else if('ET_Floor == 101)
set .@map$,has_instance("6@tower");
else if('ET_Floor < 100)
set .@map$,has_instance((('ET_Floor-1) / 25 + 1)+"@tower");
mes "Alive mobs(variable): "+'ET_Mobs;
mes "Alive mobs(real): " + getmapmobs(.@map$);[color=#ff0000] // Error Line[/color]
close;

4 answers to this question

Recommended Posts

Posted

still got an error this is the code again


[Error]: script error on npc/custom/added/endless_tower.txt line 445
   parse_callfunc: not enough arguments, expected ','
  440 :                        else if('ET_Floor == 101)
  441 :                                set .@map$,has_instance("6@tower");
  442 :                        else if('ET_Floor < 100)
  443 :                                set .@map$,has_instance((('ET_Floor-1) / 25 + 1)+"@tower");
  444 :                        mes "Alive mobs(variable): "+'ET_Mobs;
*  445 :                        mes "Alive mobs(real): " + mobcount(.@map$')';
  446 :                        close;
  447 :                case 5:
  448 :                        mes "Are you sure?";
  449 :                        next;
  450 :                        if(select("Yes:No") == 2) close;

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