Jump to content
  • 0

NPC:Scriptcont: unexpected state '2' for continue call.


Question

Posted (edited)

again ? i got this spam error 
 

[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).

how about this error @Functor

 

else if (brazil_gua == 11) {
		mes "[Candy Maker]";
		mes "Guarana candy. That was the most unique masterpiece in my life for sure!";
		next;
		mes "[Candy Maker]";
		mes "Since you helped me, guarana supply has been steadily rising.";
		mes "So, naturally I'm back to making guarana candy.";
		next;
		mes "[Candy Maker]";
		mes "What about it? Wanna buy some?";
		mes "It's 4000 zeny each.";
		next;
		switch(select("Buy a Guarana Candy.:Cancel.")) {
		case 1:
			if (Zeny > 3999) {
				mes "[Candy Maker]";
				mes "Here is a delicious guarana candy.";
				Zeny = Zeny-4000;
				getitem 12414,1; //Guarana_Candy
				close;
			}
			else {
				mes "[Candy Maker]";
				mes "What? You should say before if you don't have money!";
				mes "Even if you are poor, I can't give this away for free.";
				close;
			}
		case 2:
			mes "[Candy Maker]";
			mes "Sometimes some people don't like it due to it's arousal effect.";
			close;
		}
		close;
	}

Btw it's chain quest ?

Edited by melv0

19 answers to this question

Recommended Posts

  • 0
Posted

That's because Hercules doesn't have it properly implemented. (See Git Hash: 842e30e).

Using progressbar in an item script isn't something I would suggest as there is a bit of logic behind it that will break any bonuses after the progressbar if the player walks.

  • MVP 3
  • 0
Posted
28 minutes ago, melv0 said:

again ? i got this spam error 
 


[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Error]: npc_scriptcont: unexpected state '2' for continue call. (AID: 2000314 CID: 150835)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Candy Maker (id=110150198).

how about this error @Functor

If you be so kind, do show something from the script...  

preferably the part which consist of the continue call... or the whole script...

if not we be searching for needle in complete darkness.

  • 0
Posted
4 minutes ago, utofaery said:

If you be so kind, do show something from the script...  

preferably the part which consist of the continue call... or the whole script...

if not we be searching for needle in complete darkness.

i was edit my first post

  • 0
Posted (edited)
9 minutes ago, melv0 said:

i was edit my first post


		if (!countitem(6237)) {

What if you change to this??


		if (countitem(6237) < 1) { 

 

*vip_status(<type>,{"<character name>"})

		if (VIP_SCRIPT && vip_status(VIP_STATUS_ACTIVE))

 

VIP_SCRIPT  << I wonder what you trying to compare this with??

		if (vip_status(VIP_STATUS_ACTIVE) )

Wouldn't this be enough??

 VIP_STATUS_ACTIVE - VIP status: true if the player is a VIP or false if not
 

Edited by utofaery
  • 0
Posted (edited)
6 minutes ago, utofaery said:


		if (!countitem(6237)) {

What if you change to this??



		if (countitem(6237) < 1) { 

sorry wrong part
 

else if (brazil_gua == 11) {
		mes "[Candy Maker]";
		mes "Guarana candy. That was the most unique masterpiece in my life for sure!";
		next;
		mes "[Candy Maker]";
		mes "Since you helped me, guarana supply has been steadily rising.";
		mes "So, naturally I'm back to making guarana candy.";
		next;
		mes "[Candy Maker]";
		mes "What about it? Wanna buy some?";
		mes "It's 4000 zeny each.";
		next;
		switch(select("Buy a Guarana Candy.:Cancel.")) {
		case 1:
			if (Zeny > 3999) {
				mes "[Candy Maker]";
				mes "Here is a delicious guarana candy.";
				Zeny = Zeny-4000;
				getitem 12414,1; //Guarana_Candy
				close;
			}
			else {
				mes "[Candy Maker]";
				mes "What? You should say before if you don't have money!";
				mes "Even if you are poor, I can't give this away for free.";
				close;
			}
		case 2:
			mes "[Candy Maker]";
			mes "Sometimes some people don't like it due to it's arousal effect.";
			close;
		}
		close;
	}

 

btw i can't reproduce that error ?

Edited by melv0
  • 0
Posted (edited)
6 minutes ago, melv0 said:

sorry wrong part
 


else if (brazil_gua == 11) {
		mes "[Candy Maker]";
		mes "Guarana candy. That was the most unique masterpiece in my life for sure!";
		next;
		mes "[Candy Maker]";
		mes "Since you helped me, guarana supply has been steadily rising.";
		mes "So, naturally I'm back to making guarana candy.";
		next;
		mes "[Candy Maker]";
		mes "What about it? Wanna buy some?";
		mes "It's 4000 zeny each.";
		next;
		switch(select("Buy a Guarana Candy.:Cancel.")) {
		case 1:
			if (Zeny > 3999) {
				mes "[Candy Maker]";
				mes "Here is a delicious guarana candy.";
				Zeny = Zeny-4000;
				getitem 12414,1; //Guarana_Candy
				close;
			}
			else {
				mes "[Candy Maker]";
				mes "What? You should say before if you don't have money!";
				mes "Even if you are poor, I can't give this away for free.";
				close;
			}
		case 2:
			mes "[Candy Maker]";
			mes "Sometimes some people don't like it due to it's arousal effect.";
			close;
		}
		close;
	}

 

				Zeny = Zeny-4000;

Apart from simplifying this part nothing should be broken here..

				Zeny -= 4000;
Edited by utofaery
  • 0
Posted
9 minutes ago, utofaery said:

*vip_status(<type>,{"<character name>"})

		if (VIP_SCRIPT && vip_status(VIP_STATUS_ACTIVE))

 

VIP_SCRIPT  << I wonder what you trying to compare this with??


		if (vip_status(VIP_STATUS_ACTIVE) )

Wouldn't this be enough??

 VIP_STATUS_ACTIVE - VIP status: true if the player is a VIP or false if not
 

Would you mind try this first??

  • 0
Posted (edited)
7 minutes ago, utofaery said:

				Zeny = Zeny-4000;

Apart from simplifying this part nothing should be broken here..


				Zeny -= 4000;

hmm.. but i think the frist method should be fine, i think my player use 3rdparty software again ?

 

Edited by melv0
  • 0
Posted
1 hour ago, melv0 said:

hmm.. but i think the frist method should be fine, i think my player use 3rdparty software again ?

 

I don't think players use 3rdparty software. Sometimes I get this error in localhost, even the live version has Gepard shield

  • 0
Posted (edited)
On 2/14/2019 at 8:11 AM, rongmauhong said:

I don't think players use 3rdparty software. Sometimes I get this error in localhost, even the live version has Gepard shield

but i get a lot this error and when see picklog database...
Boom my player get a lot that items only in one minute and he can repeat (part to get an item) without talk with npc(because this npc at barisilis ) but player can get a lot that item although in dungeon ?

See this   wrong SS

 

btw you get this error on the same script? 
so do you mean gepard cant block this action?

Edited by melv0
  • 0
Posted (edited)
11 hours ago, Functor said:

It is attempt to use exploit, but you have applied fix. So, you can ignore it.

but player still can get a loot guarana candy it's like dupe and can proces part "getitem xxx,1" whatever where they are ..
 

edit ?

But the player like can buy the item so fast , and to buy this item its have some conversation before buy it 

see this << in 1 second he can get 6 items

Edited by melv0
  • 0
Posted
On 2/15/2019 at 10:48 AM, melv0 said:

but player still can get a loot guarana candy it's like dupe and can proces part "getitem xxx,1" whatever where they are ..
 

edit ?

But the player like can buy the item so fast , and to buy this item its have some conversation before buy it 

see this << in 1 second he can get 6 items

Because he does it by using third-party software. But it isn't dupe. He pays Zeny for items. Fix blocks exploit.

  • -2
Posted

I think rathena *progressbar is currently broken ...

I kinda remember my arathi basin script, which also uses progressbar to turn the flag to your side ... at the time making the script,
tested on rathena -> I can move to simply cancel the progress
tested on hercules -> I can't move, have to get hit from something

so to answer your question, in hercules, once the progressbar start, there is no way to cancel it other than
1. get hit
2. warp

if trying to use skill while *progressbar, its the same as rathena
Any work in progress (NPC dialog, manufactoring ... ) quit and try again

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...