Jump to content
  • 0

Mission Board By Annieruru


Dolphin86

Question


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  757
  • Reputation:   17
  • Joined:  01/07/12
  • Last Seen:  

hye i am using a super old script that was created by @AnnieRuru , the problem i had so far was when i input a custom item as  reward the npc said invalid item ID, could someone help me on fixing this?

and yes i knew about @Emistry mission board but there are some bugs and confused  on how to setup it, but still can someone help me on the issue state above?

Click Here To View Script

Edited by Dolphin86
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  108
  • Reputation:   12
  • Joined:  06/19/12
  • Last Seen:  

	mes "Input item ID";
	next;
	input .@tmp, 0, 32767;
	mes "["+ strnpcinfo(1) +"]";
	if ( getitemname(.@tmp) == "null" ) {
		mes "Invalid item ID";
	next;
	break;

Find this line and edit 32767 as I think it covers the maximum IDs it holds. I suppose you're using Item IDs more than 32767.

input .@tmp, 0, 32767;


 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  757
  • Reputation:   17
  • Joined:  01/07/12
  • Last Seen:  

10 minutes ago, Weistony said:
	mes "Input item ID";
	next;
	input .@tmp, 0, 32767;
	mes "["+ strnpcinfo(1) +"]";
	if ( getitemname(.@tmp) == "null" ) {
		mes "Invalid item ID";
	next;
	break;

Find this line and edit 32767 as I think it covers the maximum IDs it holds. I suppose you're using Item IDs more than 32767.

input .@tmp, 0, 32767;


 

well my custom id did start from 40000 and ends at 50000

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  757
  • Reputation:   17
  • Joined:  01/07/12
  • Last Seen:  

still the same i have change it to 60000

						mes "Input item ID";
										next;
										input .@tmp, 0, 60000;
										mes "["+ strnpcinfo(1) +"]";
										if ( getitemname(.@tmp) == "null" ) {
											mes "Invalid item ID";
											next;
											break;
										}

 

Edited by Dolphin86
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  757
  • Reputation:   17
  • Joined:  01/07/12
  • Last Seen:  

3 hours ago, Weistony said:
	mes "Input item ID";
	next;
	input .@tmp, 0, 32767;
	mes "["+ strnpcinfo(1) +"]";
	if ( getitemname(.@tmp) == "null" ) {
		mes "Invalid item ID";
	next;
	break;

Find this line and edit 32767 as I think it covers the maximum IDs it holds. I suppose you're using Item IDs more than 32767.

input .@tmp, 0, 32767;


 

nvm it works now, i did check the entire script, there was 2 part of that section, works fine now. thank you soo much

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