chronick Posted April 27, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/20/12 Last Seen: May 3, 2012 Share Posted April 27, 2012 My NPC won't show up prontera,154,186,6 script Job Master 808,{ mes "[Job Master]"; mes "Which Job Would you like?"; menu "Super Novice",L_super,"Ninja",L_ninja,"Soul Linker",L_soul,"Taekwon Master",L_master,"Gunslinger",L_gun,"Lord Knight",L_lk,"Paladin",L_pally,"High Priest",L_pri,"Champion",L_champ,"High Wizard",L_wiz,"Professor",L_pro,"Whitesmith",L_white,"Stalker",L_stalk,"Sniper",L_sni,"Creator",L_cre,"Assassin Cross",L_ass,"Clown/Gypsy",L_clown; L_clown: charcommand strcharinfo(0)+":#job 4021 "+@player$+"; goto therest; end; L_ass: charcommand strcharinfo(0)+":#job 4013 "+@player$+"; goto therest; end; L_cre: charcommand strcharinfo(0)+":#job 4019 "+@player$+"; goto therest; end; L_sni: charcommand strcharinfo(0)+":#job 4012 "+@player$+"; goto therest; end; L_stalk: charcommand strcharinfo(0)+":#job 4018 "+@player$+"; goto therest; end; L_white: charcommand strcharinfo(0)+":#job 4011 "+@player$+"; goto therest; end; L_pro: charcommand strcharinfo(0)+":#job 4017 "+@player$+"; goto therest; end; L_wiz: charcommand strcharinfo(0)+":#job 4010 "+@player$+"; goto therest; end; L_champ: charcommand strcharinfo(0)+":#job 4016 "+@player$+"; goto therest; end; L_pri: charcommand strcharinfo(0)+":#job 4009 "+@player$+"; goto therest; end; L_pally: charcommand strcharinfo(0)+":#job 4015 "+@player$+"; goto therest; end; L_lk: charcommand strcharinfo(0)+":#job 4008 "+@player$+"; goto therest; end; L_gun: charcommand strcharinfo(0)+":#job 24 "+@player$+"; goto therest; end; L_master: charcommand strcharinfo(0)+":#job 4047 "+@player$+"; goto therest; end; L_soul: charcommand strcharinfo(0)+":#job 4049 "+@player$+"; goto therest; end; L_ninja: charcommand strcharinfo(0)+":#job 25 "+@player$+"; goto therest; end; L_super: charcommand strcharinfo(0)+":#job 23 "+@player$+"; goto therest; end; therest: charcommand strcharinfo(0)+":#blvl 500 "+@player$+"; charcommand strcharinfo(0)+":#jlvl 120 "+@player$+"; charcommand strcharinfo(0)+":#allskill "+@player$+"; end; } Quote Link to comment Share on other sites More sharing options...
Gerome Posted April 27, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 185 Reputation: 26 Joined: 12/07/11 Last Seen: January 31 Share Posted April 27, 2012 Try to see your map_server console if theres an error.. Quote Link to comment Share on other sites More sharing options...
tr0n Posted April 27, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 562 Reputation: 153 Joined: 02/21/12 Last Seen: February 27, 2024 Share Posted April 27, 2012 used <TAB> in first line ? Quote Link to comment Share on other sites More sharing options...
isaw4sal3 Posted April 28, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 12/10/11 Last Seen: January 20, 2015 Share Posted April 28, 2012 here try this one, i hope this works JobMaster.txt Quote Link to comment Share on other sites More sharing options...
chronick Posted April 28, 2012 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 7 Reputation: 0 Joined: 04/20/12 Last Seen: May 3, 2012 Author Share Posted April 28, 2012 here try this one, i hope this works your codes have errors [Error]: Loading NPC file: npc/dro/jobmaster.txt script error on npc/dro/jobmaster.txt line 7 Unexpected newline at string. 2 : 3 : mes "Which Job Would you like?"; 4 : menu "Super Novice",L_super,"Ninja",L_ninja,"Soul Linker",L_soul,"Taekw on Master",L_master,"Gunslinger",L_gun,"Lord Knight",L_lk,"Paladin",L_pally,"Hig h Priest",L_pri,"Champion",L_champ,"High Wizard",L_wiz,"Professor",L_pro,"Whites mith",L_white,"Stalker",L_stalk,"Sniper",L_sni,"Creator",L_cre,"Assassin Cross", L_ass,"Clown/Gypsy",L_clown; 5 : L_clown: 6 : charcommand strcharinfo(0)+":#job 4021 "+@player$+"; * 7 : goto therest; 8 : end; 9 : L_ass: 10 : charcommand strcharinfo(0)+":#job 4013 "+@player$+"; 11 : goto therest; 12 : end; used <TAB> in first line ? yes I'm using tab in the firstline. Quote Link to comment Share on other sites More sharing options...
tr0n Posted April 28, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 562 Reputation: 153 Joined: 02/21/12 Last Seen: February 27, 2024 Share Posted April 28, 2012 I recommend you to use this: jobchange >job number<; Quote Link to comment Share on other sites More sharing options...
Keim Posted April 29, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 221 Reputation: 12 Joined: 12/18/11 Last Seen: July 13, 2015 Share Posted April 29, 2012 Umm..just a small tip. Try L_therest instead of therest ( goto l_therest; ). Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 19 hours ago Share Posted April 29, 2012 change charcommand strcharinfo(0)+":#job 4021 "+@player$+"; into charcommand strcharinfo(0)+":#job 4021 "+@player$; and what Tr0n said is true...use jobchange command is better than using charcommand to change a character's job. Quote Link to comment Share on other sites More sharing options...
Question
chronick
My NPC won't show up
Link to comment
Share on other sites
7 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.