Fluffle Puff Posted April 11, 2016 Posted April 11, 2016 Hey guys, We are getting those errors: http://i.imgur.com/w4eIVPO.png I cant find the error in our npc. http://pastebin.com/raw/45zvztj0 Any help would be appreciated. Thank you.! Quote
0 Emistry Posted April 12, 2016 Posted April 12, 2016 strmobinfo(1,getvar(getd("Mission"+.@j), $@partymembercid[.@i]) hmm, it has 3 parameters? doc/script_commands.txt#L5748 *strmobinfo(<type>,<monster id>); This function will return information about a monster record in the database, as per 'db/(pre-)re/mob_db.txt'. Type is the kind of information returned. Valid types are: It will return 0 if there is no such monster (or the type value is invalid), or an empty string if you requested the monster's name. 1 - 'english name' field in the database, a string. 2 - 'japanese name' field in the database, a string. All other returned values are numbers: 3 - Level. 4 - Maximum HP. 5 - Maximum SP. 6 - Experience reward. 7 - Job experience reward. should be only 2 parameters 1 Quote
0 Fluffle Puff Posted April 12, 2016 Author Posted April 12, 2016 (edited) strmobinfo(1,getvar(getd("Mission"+.@j), $@partymembercid[.@i]) hmm, it has 3 parameters? doc/script_commands.txt#L5748 *strmobinfo(<type>,<monster id>); This function will return information about a monster record in the database, as per 'db/(pre-)re/mob_db.txt'. Type is the kind of information returned. Valid types are: It will return 0 if there is no such monster (or the type value is invalid), or an empty string if you requested the monster's name. 1 - 'english name' field in the database, a string. 2 - 'japanese name' field in the database, a string. All other returned values are numbers: 3 - Level. 4 - Maximum HP. 5 - Maximum SP. 6 - Experience reward. 7 - Job experience reward. should be only 2 parameters Ohh thank you! So what would be the proper code/parameter for this NPC? Thank you again! Edited April 12, 2016 by Fluffle Puff Quote
0 Fluffle Puff Posted April 14, 2016 Author Posted April 14, 2016 I am so sorry for double post after 3 days. Just wondering if anyone can help me out. Thank you. Quote
0 Emistry Posted April 15, 2016 Posted April 15, 2016 just remove the extra parameter strmobinfo(1,getvar(getd("Mission"+.@j), $@partymembercid[.@i]) to strmobinfo(1,getvar(getd("Mission"+.@j)) Quote
0 PandaLovesHamster Posted April 15, 2016 Posted April 15, 2016 Though, I think the point of that was the quest sharing of the hunting missions? I'm not too sure. Quote
Question
Fluffle Puff
Hey guys,
We are getting those errors:
http://i.imgur.com/w4eIVPO.png
I cant find the error in our npc.
http://pastebin.com/raw/45zvztj0
Any help would be appreciated.
Thank you.!
5 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.