Jump to content
  • 0

null requirements


Budots

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Hi Guys,

 

Yesterday Patskie provide me Emistry's Daily Quest script, it works well but then after i have check the requirements to start the quest there something like this, " null "

How to fix?

 

post-20873-0-59782300-1385095837_thumb.png

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   241
  • Joined:  09/05/12
  • Last Seen:  

You use :

.item_list[.@i] = rand( 901,968 );

Which means randomly choose an item from item id 901 -> 968. Unfortunately we don't have item 927 and 933 and that will result to null values

926,Scale_Of_Snakes,Snake Scale,3,82,,10,,,,,,,,,,,,,{},{},{}
928,Insect_Feeler,Insect Feeler,3,114,,10,,,,,,,,,,,,,{},{},{}
929,Immortal_Heart,Immortal Heart,3,374,,10,,,,,,,,,,,,,{},{},{}
930,Rotten_Bandage,Rotten Bandage,3,350,,10,,,,,,,,,,,,,{},{},{}
931,Orcish_Voucher,Orcish Voucher,3,142,,10,,,,,,,,,,,,,{},{},{}
932,Skel_Bone,Skel-Bone,3,232,,10,,,,,,,,,,,,,{},{},{}
934,Mementos,Memento,3,600,,10,,,,,,,,,,,,,{},{},{}

Reference : db/pre-re/item_db.txt | db/re/item_db.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   241
  • Joined:  09/05/12
  • Last Seen:  

Show your script? perhaps you input the wrong id number or id number doesn't exist?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Show your script? perhaps you input the wrong id number or id number doesn't exist?

here it is,

daily_quest.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Ah i see, can we do on the script like, the item 927 and 933 will not appear as requirements?

 

or any suggestions?


Ok nvm i just fix it hehehe, i choose itemid 934 - 968.

Ty PATS

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