Jump to content
  • 0

Cant give cart to super novice?


Question

Posted

I have this cart renter NPC.

 

Here are the lines to give a cart to merchants and super novices:

		case 1:
			if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice || BaseJob == Job_Super_Baby || BaseJob == Job_Baby_Merchant || BaseJob == Job_Baby_Blacksmith || BaseJob == Job_Baby_Alchem || BaseJob == Job_Baby_Alchemist) && checkcart() == 0 && (getskilllv("MC_PUSHCART") > 0) ) {
				setcart;
				mes "[Breeder]";
				mes "There you go, " + strcharinfo(0) + "!";
				close;
			}else{
				mes "[Breeder]";
				mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
				close;
			}

The problem is it does not give the cart. It says "Please make sure you are the required job ...".

 

Maybe the checker for the job is wrong? Or there is another skill name for the pushcart skill of supernovices other than "MC_PUSHCART"??
 

 

Other jobs work well, only the super novice and super baby have a problem.

 

 

What I am doing wrong here?

 

Thanks.

 

 

 

 

6 answers to this question

Recommended Posts

Posted
if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice || BaseJob == Job_Super_Baby || BaseJob == Job_Baby_Merchant || BaseJob == Job_Baby_Blacksmith || BaseJob == Job_Baby_Alchem || BaseJob == Job_Baby_Alchemist) && checkcart() == 0 && (getskilllv("MC_PUSHCART") > 0) ) {

just use

if( checkcart() == 0 && getskilllv("MC_PUSHCART") > 0 ) {
  • Upvote 1
Posted (edited)

I found that bug in Super novice some months ago, can't fix yet but that job can't take the cart, can't change to expanded supoer novice (with job master or oficial NPC), the NPCs no identify the "Super Novice" Job.

Edited by FXFreitas
Posted

I found that bug in Super novice some months ago, can't fix yet but that job can't take the cart, can't change to expanded supoer novice (with job master or oficial NPC), the NPCs no identify the "Super Novice" Job.

 

Yes maybe this is what is happening to me too.

 

Anyone have a solution??

 

Thanks.

Posted
if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice || BaseJob == Job_Super_Baby || BaseJob == Job_Baby_Merchant || BaseJob == Job_Baby_Blacksmith || BaseJob == Job_Baby_Alchem || BaseJob == Job_Baby_Alchemist) && checkcart() == 0 && (getskilllv("MC_PUSHCART") > 0) ) {

just use

if( checkcart() == 0 && getskilllv("MC_PUSHCART") > 0 ) {

 

 

Yes Mr. Emistry helped me hehe. Thanks!

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