Bringer 0 Posted March 24, 2015 [Error]: script error in file 'npc/custom/breeder.txt' line 16 column 18 parse_simpleexpr: unmatched ')' 13: { 14: /* TODO: This can be optimized with just setmount(), as it can 15: auto-detect the proper mount for the class/skills. */ * 16: if (hascashmount()) { ~~~~~~~~~~~~~~~~~~~~~~~~^ 17: message strcharinfo(0),"You must first remove your mount."; 18: end; 19: } else if ((eaclass()&EAJ_THIRDMASK) == EAJ_RANGER && //===== Hercules Script ======================================//= Universal Rental NPC//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.2//===== Description: =========================================//= One-click automatic mount rentals.//= Replaced 'close' with 'end' [Streusel]//= Fixed 'close' issues. [Joseph]//============================================================poring_w02,86,101,5 script Universal Rental NPC 4_F_JOB_BLACKSMITH,{ /* TODO: This can be optimized with just setmount(), as it can auto-detect the proper mount for the class/skills. */ if (hascashmount()) { message strcharinfo(0),"You must first remove your mount."; end; } else if ((eaclass()&EAJ_THIRDMASK) == EAJ_RANGER && !countitem(Wolf's_Flute)) { if (!checkfalcon() && getskilllv(HT_FALCON) && !checkwug()) { if (select(" ~ Falcon: ~ Warg") == 1) setfalcon; else getitem Wolf's_Flute, 1; specialeffect2 EF_TEIHIT3; close; } else { getitem Wolf's_Flute,1; } } else if ((eaclass()&EAJ_THIRDMASK) == EAJ_MECHANIC && !checkcart() && getskilllv(MC_PUSHCART)) { if (!checkmount() != MOUNT_MADO && getskilllv(NC_MADOLICENCE)) { if (select(" ~ Cart: ~ Mado") == 1) { setcart; } else { setmount(MOUNT_MADO); } specialeffect2 EF_TEIHIT3; close; } else { setcart; } } else if (!checkcart() && getskilllv(MC_PUSHCART)) { setcart; } else if (!checkfalcon() && getskilllv(HT_FALCON) && !checkwug()) { setfalcon; } else if (checkmount() != MOUNT_PECO && getskilllv(KN_RIDING)) { setmount; // Peco or Dragon } else if (checkmount() != MOUNT_MADO && getskilllv(NC_MADOLICENCE)) { setmount(MOUNT_MADO); } else { message strcharinfo(0),"You do not meet requirements to rent."; end; } specialeffect2 EF_TEIHIT3; end;}//============================================================// Old changelog//============================================================//= A Free PecoPeco and Falcon Breeder//= 1.1 FIXED checkriding/cart/falcon funcs [Lupus]//= 1.2 Added Rebirth/Advanced Class support [Mass Zero]//= 1.3 Simplified the checks of job [Silentdragon]//= 1.3a Fixed a Typo Error. [Samuray22]//= Thanks to ~AnnieRuru~.//= 1.4 Optimized Script. No need for 50 million Labels. [Spre]//============================================================ Quote Share this post Link to post Share on other sites
0 evilpuncker 504 Posted March 24, 2015 make sure that your hercules is fully updated Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted March 24, 2015 I've check your script using haru.ws/scriptchecker but it doesnt throw any error.. try to update your SVN. Quote Share this post Link to post Share on other sites
0 Bringer 0 Posted March 25, 2015 make sure that your hercules is fully updated I've check your script using haru.ws/scriptchecker but it doesnt throw any error.. try to update your SVN. yes fully updated Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted March 25, 2015 make sure that your hercules is fully updated I've check your script using haru.ws/scriptchecker but it doesnt throw any error.. try to update your SVN.yes fully updatedPlease update your Hercules, hascashmount was added few months back.(Also be sure you recompiled the Hercules) The script doesn't throw any error/warning to me. Quote Share this post Link to post Share on other sites
0 Bringer 0 Posted March 25, 2015 make sure that your hercules is fully updated I've check your script using haru.ws/scriptchecker but it doesnt throw any error.. try to update your SVN.ockquote>yes fully updatedPlease update your Hercules, hascashmount was added few months back.(Also be sure you recompiled the Hercules) The script doesn't throw any error/warning to me. can you teach me how? Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted March 25, 2015 Updating Hercules: http://herc.ws/board/topic/152-obtaining-hercules/?p=845#entry845 (Windows) http://herc.ws/board/topic/152-obtaining-hercules/?p=846#entry846 (Linux) ^ Only Applicable if you used Git to download the hercules. Quote Share this post Link to post Share on other sites
Share this post
Link to post
Share on other sites