Jump to content
  • 0

Can someone help me a dynamic shop with no [Warning]: Unexpected type for argument 1. Expected string.


Eros

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  

I'm always experiencing this one
 

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


that's why my map server always crash! :(
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:   238
  • Joined:  09/05/12
  • Last Seen:  

Post the whole error here

 

 

PS : Moved to script support section

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  202
  • Reputation:   2
  • Joined:  07/09/12
  • Last Seen:  



[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=20
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)
[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=0
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)
[Warning]: itemdb_search: Item ID 0 does not exists in the item_db. Using dummy data.
[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=20
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)
[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=20
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)
[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=20
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)
[Warning]: Unexpected type for argument 1. Expected string.
[Debug]: Data: number value=0
[Debug]: Function: compare
[Debug]: Source (NPC): Donation Items at lhz_in03 (261,266)

Edited by Patskie
Code
Link to comment
Share on other sites


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

Opps sorry! Can you add the script too? xD

Link to comment
Share on other sites


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

change all

compare(....

to

compare""+......

  • Upvote 1
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...