Jump to content
  • 0

script error pls help me


dsskh

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/20/17
  • Last Seen:  

[오류] : status_set_viewdata (NPC) : -1의보기 데이터가 없습니다.

 

[오류] : NPC 파일로드 중 : npc / instances / Instance_PvP.txt 행의 npc / instances / Instance_PvP.txt
스크립트 오류 68
    parse_callfunc : 예상 ')'인수 목록 닫기
    63 :} else {
    64 : select ( ": PvP Duel Instance : Brasilis (으)로 돌아 가기 : Cancel ");
    65 :}
    66 : switch (@menu) {
    67 : case 1 :
* 68 : if (instance_id ( '1')) {
    69 : if (has_instance ( "1 @ pvp") == "") {
    70 : mes . @ 이름 $;
    71 : mes "당신의 그룹은 이미 다른 인스턴스에 등록되어 있습니다.";
    72 : 닫기;

 

 

 

문제를 찾을 수 없습니다. 나를 도와주세요

나는 영어가 능숙하지 않다.
 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • -1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

6 minutes ago, dsskh said:

* 68 : if (instance_id ( '1')) {

remove extra )

ie

if (instance_id (1)

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/20/17
  • Last Seen:  

    64 :                select(":Enter the PvP Duel Instance:Return to Brasilis:Cancel");
    65 :        }
    66 :        switch(@menu){
    67 :        case 1:
*   68 :                if(instance_id('1'){
    69 :                        if(has_instance("1@pvp") == ""){
    70 :                                mes .@name$;
    71 :                                mes "Your group is already registered at an other instance.";
    72 :                                close;
    73 :                        }
 

 

It still happens.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   2
  • Joined:  02/03/12
  • Last Seen:  

if (instance_id())

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  88
  • Reputation:   10
  • Joined:  01/15/16
  • Last Seen:  

5 hours ago, Cyro said:

remove extra )

ie

if (instance_id (1)

 

What are you telling him? this is completely wrong, the parenthesis are right, the problem is that he is putting semicolons on the value, or the value itself, because instance_id take no values, it have to be:

  

if(instance_id()){

like Christopher says.

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