Snow Posted February 27, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 141 Reputation: 34 Joined: 05/30/12 Last Seen: August 2, 2020 Share Posted February 27, 2013 (edited) So we made a NPC to controll our Automated events. OnTimer60000: if(.master) { set .@delay,rand(1,10)*60000; sleep .@delay; L_randevt: set .@randevent,rand(0,getarraysize(.eventnames$)-1); if(getd("."+.eventnames$[.@randevent] + "_status") == 0) goto L_randevt; donpcevent .npcnames$[.@randevent] + "::OnAuto"; } else { } initnpctimer; end; in the event we had following OnAuto: announce "Automated event triggered the payload event!",0; end; When starting the server, following error appears: [Debug]: NPCEvent 'LiarDice#Main::OnAuto' not found! (source: AutoEvents Manager) actually i have no idea what causing this problem. Also we tried to rename it to OnTrigger and others as well. Edited February 27, 2013 by Snow Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 27, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted February 27, 2013 make sure all your other npc have this label... OnAuto: Quote Link to comment Share on other sites More sharing options...
Snow Posted February 27, 2013 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 141 Reputation: 34 Joined: 05/30/12 Last Seen: August 2, 2020 Author Share Posted February 27, 2013 (edited) make sure all your other npc have this label... OnAuto: sorry i made the thread in a hurry and wrote the wrong. there is the label in the event script OnAuto: announce "Automated event triggered the payload event!",0; end; Edited February 27, 2013 by Snow Quote Link to comment Share on other sites More sharing options...
Emistry Posted February 27, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted February 27, 2013 [Debug]: NPCEvent 'LiarDice#Main::OnAuto' not found! (source: AutoEvents Manager) i think should be your NPC name problems...check the setting for npc.... Quote Link to comment Share on other sites More sharing options...
Luciar Posted February 28, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 177 Reputation: 21 Joined: 01/31/12 Last Seen: March 8, 2020 Share Posted February 28, 2013 (edited) [Debug]: NPCEvent 'LiarDice#Main::OnAuto' not found! (source: AutoEvents Manager) i think should be your NPC name problems...check the setting for npc.... I'm a little confused by what you're suggesting we do here. The NPC is named LiarDice#Main for sure, and the donpcevent target is set by an array that also contains an element with the correct spelling. Edited February 28, 2013 by luciar Quote Link to comment Share on other sites More sharing options...
Yahiko Posted February 28, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 81 Reputation: 14 Joined: 08/17/12 Last Seen: April 19, 2013 Share Posted February 28, 2013 full script please ? Quote Link to comment Share on other sites More sharing options...
Luciar Posted March 1, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 177 Reputation: 21 Joined: 01/31/12 Last Seen: March 8, 2020 Share Posted March 1, 2013 Figured out the issue. Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Question
Snow
So we made a NPC to controll our Automated events.
in the event we had following
When starting the server, following error appears:
[Debug]: NPCEvent 'LiarDice#Main::OnAuto' not found! (source: AutoEvents Manager)
actually i have no idea what causing this problem. Also we tried to rename it to OnTrigger and others as well.
Edited by SnowLink to comment
Share on other sites
6 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.