Jump to content
  • 0

[Warning]: Unexpected type for argument 1. Expected string.


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=250

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=150

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=250

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=250

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=100

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

[Warning]: Unexpected type for argument 1. Expected string.

[Debug]: Data: number value=150

[Debug]: Function: compare

[Debug]: Source (NPC): Lower Headgear Quest at quiz_02 (329,85)

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Are you using the Dynamic Shop Quest NPC Menu , which was made by Lunar?

Then you should use this one :

https://rikisscripts.googlecode.com/svn/trunk/npc/Quest_Shop_Lunar.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

thank you

sir is it ok to disable announce in case 1: callsub OnBuyItem,21037,10,1000,"Zeny",6647,1,"announce";

??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

Yes,just remove the announce :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  931
  • Reputation:   13
  • Joined:  12/20/11
  • Last Seen:  

thank you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

No problem.

Link to comment
Share on other sites


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

if i was right...then the problem is because of the scritp compare an string with a integer..

and this question has been answered several times in forum ...

just need to change the compare part to compare the integer as a string...

use search engine next time~ ^^

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