Jump to content
  • 0

Endless Tower Error


cozzy09

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

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;

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

can you post a screenshot of your CMD error?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

getmapmob() script command has been removed in rAthena...change it to mobcount

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

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;

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

read mobcount

it need 2 parameter...

mapname
event label

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