johnbond Posted June 5, 2015 Posted June 5, 2015 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. Quote
Emistry Posted June 15, 2015 Posted June 15, 2015 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 ) { 1 Quote
FXFreitas Posted June 5, 2015 Posted June 5, 2015 (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 June 5, 2015 by FXFreitas Quote
johnbond Posted June 6, 2015 Author Posted June 6, 2015 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. Quote
Strand Posted June 15, 2015 Posted June 15, 2015 Excuse me Johnbond, how did you fix it? cause i'm having the same problem. Hope you can help me out. Thanks. Quote
johnbond Posted June 15, 2015 Author Posted June 15, 2015 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! Quote
Question
johnbond
I have this cart renter NPC.
Here are the lines to give a cart to merchants and super novices:
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.