care1190 Posted April 14, 2019 Group: Members Topic Count: 10 Topics Per Day: 0.01 Content Count: 31 Reputation: 1 Joined: 11/12/18 Last Seen: February 17, 2020 Share Posted April 14, 2019 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 Quote Link to comment Share on other sites More sharing options...
0 Psy Ops Posted April 25, 2019 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 70 Reputation: 0 Joined: 06/19/18 Last Seen: January 24, 2023 Share Posted April 25, 2019 Did you check the required changes for instances? Like adding them to the instance list? Quote Link to comment Share on other sites More sharing options...
0 insandedid01 Posted April 29, 2019 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 14 Reputation: 0 Joined: 02/28/16 Last Seen: March 2, 2020 Share Posted April 29, 2019 (edited) 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 April 29, 2019 by insandedid01 Quote Link to comment Share on other sites More sharing options...
Question
care1190
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.