Jump to content
  • 0

Rite of Blessing


care1190

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   1
  • Joined:  11/12/18
  • Last Seen:  

hey im trying to acces to this instance but keep getting 

[Error]: buildin_instance_npcname: Invalid instance NPC (instance_id: 0, NPC name: "Skia#skia01".)
[Debug]: Source (NPC): Nyhill#nihil01 at 2@mir (103,17)

any ideas? attatched the script im using,its the same on rathenas git

 

RitualOfBlessing.txt

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  70
  • Reputation:   0
  • Joined:  06/19/18
  • Last Seen:  

Did you check the required changes for instances? Like adding them to the instance list?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/28/16
  • Last Seen:  

Quote

 

OnInstanceInit:

   set .@i,instance_id();
    set .@npc$, instance_npcname(strnpcinfo(0));
    enablenpc .@npc$;
    end;

OnEnable:
    set .@npc$, instance_npcname(strnpcinfo(0));
    enablenpc .@npc$;
    end;
    
OnDisable:
    set .@npc$, instance_npcname(strnpcinfo(0));
    disablenpc .@npc$;
    end;

 

    set .@map$, instance_mapname("1@BOSS_rA", instance_id());

  setarray .i7[1],2473,2474,1096,1388,1582,1120; //minibosslist
    set .@i7rand,rand(1,6); 
    areamonster .@map$,103,15,96,8,strmobinfo(1,.i7[.@i7rand]),.i7[.@i7rand],1,strnpcinfo(3)+"::OnMiniDead";    

 

OnMiniDead:
    sleep2 3000;    
    set .@i,instance_id();
    instance_announce .@i,"PLAYER HASKILL "+ strcharinfo(0) +" KIll !!!",bc_map,0xFFFFFF;

 



AND SETING ON db/re/instance

Edited by insandedid01
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...