Jump to content
  • 0

small warning from this npc


Fluffle Puff

Question


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

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 by Fluffle Puff
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  375
  • Reputation:   88
  • Joined:  12/30/11
  • Last Seen:  

I am so sorry for double post after 3 days. Just wondering if anyone can help me out. Thank you.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

/swt just remove the extra parameter

strmobinfo(1,getvar(getd("Mission"+.@j), $@partymembercid[.@i])

to

strmobinfo(1,getvar(getd("Mission"+.@j))
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Though, I think the point of that was the quest sharing of the hunting missions? I'm not too sure.

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