darking123 Posted May 18, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted May 18, 2012 [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) Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted May 18, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share Posted May 18, 2012 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 Quote Link to comment Share on other sites More sharing options...
darking123 Posted May 19, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted May 19, 2012 thank you sir is it ok to disable announce in case 1: callsub OnBuyItem,21037,10,1000,"Zeny",6647,1,"announce"; ?? Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted May 20, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share Posted May 20, 2012 Yes,just remove the announce Quote Link to comment Share on other sites More sharing options...
darking123 Posted May 20, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Author Share Posted May 20, 2012 thank you Quote Link to comment Share on other sites More sharing options...
Rikimaru Posted May 20, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 658 Reputation: 57 Joined: 11/20/11 Last Seen: July 1, 2017 Share Posted May 20, 2012 No problem. Quote Link to comment Share on other sites More sharing options...
Emistry Posted May 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted May 22, 2012 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~ ^^ Quote Link to comment Share on other sites More sharing options...
Question
darking123
[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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.