Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

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


darking123

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.06
  • 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:   58
  • 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.06
  • 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:   58
  • 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.06
  • 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:   58
  • 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:  10018
  • Reputation:   2373
  • 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...