v62 [Job Advance NPC]

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    config v62 [Job Advance NPC]

    hey guys ,
    i started to use LeaderMS Repack , the only thing i dont understand why the XuizSource and the default job advance npc's that people are posting dont work on this repack ...

    someone can give me a working Universal Job Advance Npc for ''LeaderMS Repack'' , he guess its based on the source OdinMS but im not sure ..


    thanks for helping.


  2. #2
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    If the script works on xiuz, your repack has probably just made some variation to one of the npc script methods. What errors do you get in your .bat file?

  3. #3
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    If the script works on xiuz, your repack has probably just made some variation to one of the npc script methods. What errors do you get in your .bat file?
    the bat dont get errors , the npc working but its weired cause when i level 10 its says that my level is too low and then i put level 30 and its says again your level to low and i tried level 70 and 120 and 200 and its the same message .. i tried 5 diffrent types of job advance and all have the same problem but on other source for example xuizsource its working perfect , do you have an idea and fix why its happening?

  4. #4
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    the bat dont get errors , the npc working but its weired cause when i level 10 its says that my level is too low and then i put level 30 and its says again your level to low and i tried level 70 and 120 and 200 and its the same message .. i tried 5 diffrent types of job advance and all have the same problem but on other source for example xuizsource its working perfect , do you have an idea and fix why its happening?
    Post the script and I'll take a look.

  5. #5
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    Post the script and I'll take a look.
    here:
    Code:
    var status;
    var possibleJobs = new Array();
    var job;
    function start() {
    status = -1;
    action(1, 0, 0);
    }
    function action(mode, type, selection) {
    if (mode == 1)
    status++;
    else {
    cm.dispose();
    return;
    }
    if (cm.getJob().getId() % 10 == 2) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else if (cm.getJob().getId() % 100 != 0) {
    var secondJob = (cm.getJob().getId() % 10 == 0);
    if ((secondJob && cm.getLevel() < 70) || (!secondJob && cm.getLevel() < 120)) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else {
    var newJob = cm.getJob().getId() + 1;
    if (status == 0)
    cm.sendYesNo("Great job getting to level "+cm.getLevel()+". Would you like to become a #b"+cm.getJobById(newJob)+"#k ?");
    else if (status == 1) {
    cm.sendSimple("Congratulations, you are now a #b"+cm.getJobById(newJob)+"#k.");
    cm.getPlayer().setJob(newJob);
    cm.dispose();
    }
    }
    } else {
    if (status == 0) {
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    if (cm.getLevel() >= 8)
    possibleJobs.push(200);
    if (cm.getLevel() >= 10) {
    if (cm.getPlayer().getStr() >= 35) possibleJobs.push(100);
    if (cm.getPlayer().getDex() >= 25) { possibleJobs.push(300); possibleJobs.push(400);}
    if (cm.getPlayer().getDex() >= 20) possibleJobs.push(500);
    }
    } else {
    if (cm.getLevel() >= 30) {
    switch (cm.getJob().getId()) {
    case 100: possibleJobs = [110, 120, 130]; break;
    case 200: possibleJobs = [210, 220, 230]; break;
    case 300: possibleJobs = [310, 320]; break;
    case 400: possibleJobs = [410, 420]; break;
    case 500: possibleJobs = [510, 520]; break;
    }
    }
    }
    if (possibleJobs.length == 0) {
    cm.sendOk("Your level is too low to advance.");
    cm.dispose();
    } else {
    var text = "There are the available jobs you can take#b";
    for (var i = 0; i < possibleJobs.length; i++)
    text += "\r\n#L"+i+"#"+cm.getJobById(possibleJobs[i])+"#l";
    cm.sendSimple(text);
    }
    } else if (status == 1) {
    cm.sendYesNo("Are you sure you want to job advance?");
    job = selection;
    } else if (status == 2) {
    cm.sendSimple("Congratulations on your job advancement.");
    cm.getPlayer().setJob(possibleJobs[job]);
    cm.dispose();
    }
    }
    }

  6. #6
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    here:
    Code:
    var status;
    var possibleJobs = new Array();
    var job;
    function start() {
    status = -1;
    action(1, 0, 0);
    }
    function action(mode, type, selection) {
    if (mode == 1)
    status++;
    else {
    cm.dispose();
    return;
    }
    if (cm.getJob().getId() % 10 == 2) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else if (cm.getJob().getId() % 100 != 0) {
    var secondJob = (cm.getJob().getId() % 10 == 0);
    if ((secondJob && cm.getLevel() < 70) || (!secondJob && cm.getLevel() < 120)) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else {
    var newJob = cm.getJob().getId() + 1;
    if (status == 0)
    cm.sendYesNo("Great job getting to level "+cm.getLevel()+". Would you like to become a #b"+cm.getJobById(newJob)+"#k ?");
    else if (status == 1) {
    cm.sendSimple("Congratulations, you are now a #b"+cm.getJobById(newJob)+"#k.");
    cm.getPlayer().setJob(newJob);
    cm.dispose();
    }
    }
    } else {
    if (status == 0) {
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    if (cm.getLevel() >= 8)
    possibleJobs.push(200);
    if (cm.getLevel() >= 10) {
    if (cm.getPlayer().getStr() >= 35) possibleJobs.push(100);
    if (cm.getPlayer().getDex() >= 25) { possibleJobs.push(300); possibleJobs.push(400);}
    if (cm.getPlayer().getDex() >= 20) possibleJobs.push(500);
    }
    } else {
    if (cm.getLevel() >= 30) {
    switch (cm.getJob().getId()) {
    case 100: possibleJobs = [110, 120, 130]; break;
    case 200: possibleJobs = [210, 220, 230]; break;
    case 300: possibleJobs = [310, 320]; break;
    case 400: possibleJobs = [410, 420]; break;
    case 500: possibleJobs = [510, 520]; break;
    }
    }
    }
    if (possibleJobs.length == 0) {
    cm.sendOk("Your level is too low to advance.");
    cm.dispose();
    } else {
    var text = "There are the available jobs you can take#b";
    for (var i = 0; i < possibleJobs.length; i++)
    text += "\r\n#L"+i+"#"+cm.getJobById(possibleJobs[i])+"#l";
    cm.sendSimple(text);
    }
    } else if (status == 1) {
    cm.sendYesNo("Are you sure you want to job advance?");
    job = selection;
    } else if (status == 2) {
    cm.sendSimple("Congratulations on your job advancement.");
    cm.getPlayer().setJob(possibleJobs[job]);
    cm.dispose();
    }
    }
    }
    If that scripts is copy-pasted from xiuz, doesn't give bat errors and works fine on xiuz, it's most likely you simply don't have the required str/dex whatever. Javascript operators are the same regardless of source, and if one of the checks wasn't working, it would return an error while executing checking the condition. Try setting your job to beginner, level to 10 and str to 35, see if it works. Also, there's no int check for magicians.

  7. #7
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    If that scripts is copy-pasted from xiuz, doesn't give bat errors and works fine on xiuz, it's most likely you simply don't have the required str/dex whatever. Javascript operators are the same regardless of source, and if one of the checks wasn't working, it would return an error while executing checking the condition. Try setting your job to beginner, level to 10 and str to 35, see if it works. Also, there's no int check for magicians.
    tried what you offered , i put 100 str 100 int 100 dex 100 luk and i was begginner level 10 , 30 , 70 , 120 still the same thing ...
    but there is a message when i make a few gm commands that exist : "An error occured: java.lang.arrayIndexOutOfBoundsExpection 1" i dont know if there is connection between it...
    another thing (i dont know if there is connection again to the problem above) is that my src folder is like this : src and then all the folder like client , server , etc ...
    and in some npcs its wroten like : src.net.sf.odinms.etc..

  8. #8
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    tried what you offered , i put 100 str 100 int 100 dex 100 luk and i was begginner level 10 , 30 , 70 , 120 still the same thing ...
    but there is a message when i make a few gm commands that exist : "An error occured: java.lang.arrayIndexOutOfBoundsExpection 1" i dont know if there is connection between it...
    another thing (i dont know if there is connection again to the problem above) is that my src folder is like this : src and then all the folder like client , server , etc ...
    and in some npcs its wroten like : src.net.sf.odinms.etc..
    Try to change
    Code:
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    into
    Code:
    if (cm.getJob().getId() == 0) {
    also try this "+cm.getJob().getId()+" in an npc conversation, see what value it returns.

  9. #9
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    Try to change
    Code:
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    into
    Code:
    if (cm.getJob().getId() == 0) {
    also try this "+cm.getJob().getId()+" in an npc conversation, see what value it returns.
    tried what you told me to change and the npc dont work at all (no error in bats) , and didnt understand the second part of the message.

  10. #10
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    tried what you told me to change and the npc dont work at all (no error in bats) , and didnt understand the second part of the message.
    This script relies on checking jobId's and calculating possible jobs depending on the current jobId (and other factors such as level and AP). Printing out the value of cm.getJob().getId() will show you whether it returns a value or not. In any npc conversation just add what i wrote ie:
    cm.sendOk("Current jobId is "+cm.getJob().getId()+".");

  11. #11
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    This script relies on checking jobId's and calculating possible jobs depending on the current jobId (and other factors such as level and AP). Printing out the value of cm.getJob().getId() will show you whether it returns a value or not. In any npc conversation just add what i wrote ie:
    cm.sendOk("Current jobId is "+cm.getJob().getId()+".");
    its says "current job id is 0"

  12. #12
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    its says "current job id is 0"
    Ok, then it works, and there's no reason the change I suggested would break the npc, so try changing
    Code:
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    to
    Code:
    if (cm.getJob().getId() == 0) { 
    again.

  13. #13
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    Ok, then it works, and there's no reason the change I suggested would break the npc, so try changing
    Code:
    if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
    to
    Code:
    if (cm.getJob().getId() == 0) { 
    again.
    the npc dont work ..this is the script now :
    Code:
    var status;
    var possibleJobs = new Array();
    var job;
    function start() {
    status = -1;
    action(1, 0, 0);
    }
    function action(mode, type, selection) {
    if (mode == 1)
    status++;
    else {
    cm.dispose();
    return;
    }
    if (cm.getJob().getId() % 10 == 2) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else if (cm.getJob().getId() % 100 != 0) {
    var secondJob = (cm.getJob().getId() % 10 == 0);
    if ((secondJob && cm.getLevel() < 70) || (!secondJob && cm.getLevel() < 120)) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else {
    var newJob = cm.getJob().getId() + 1;
    if (status == 0)
    cm.sendYesNo("Great job getting to level "+cm.getLevel()+". Would you like to become a #b"+cm.getJobById(newJob)+"#k ?");
    else if (status == 1) {
    cm.sendSimple("Congratulations, you are now a #b"+cm.getJobById(newJob)+"#k.");
    cm.getPlayer().setJob(newJob);
    cm.dispose();
    }
    }
    } else {
    if (status == 0) {
    if (cm.getJob().getId() == 0) {
    if (cm.getLevel() >= 8)
    possibleJobs.push(200);
    if (cm.getLevel() >= 10) {
    if (cm.getPlayer().getStr() >= 35) possibleJobs.push(100);
    if (cm.getPlayer().getDex() >= 25) { possibleJobs.push(300); possibleJobs.push(400);}
    if (cm.getPlayer().getDex() >= 20) possibleJobs.push(500);
    }
    } else {
    if (cm.getLevel() >= 30) {
    switch (cm.getJob().getId()) {
    case 100: possibleJobs = [110, 120, 130]; break;
    case 200: possibleJobs = [210, 220, 230]; break;
    case 300: possibleJobs = [310, 320]; break;
    case 400: possibleJobs = [410, 420]; break;
    case 500: possibleJobs = [510, 520]; break;
    }
    }
    }
    if (possibleJobs.length == 0) {
    cm.sendOk("Your level is too low to advance.");
    cm.dispose();
    } else {
    var text = "There are the available jobs you can take#b";
    for (var i = 0; i < possibleJobs.length; i++)
    text += "\r\n#L"+i+"#"+cm.getJobById(possibleJobs[i])+"#l";
    cm.sendSimple(text);
    }
    } else if (status == 1) {
    cm.sendYesNo("Are you sure you want to job advance?");
    job = selection;
    } else if (status == 2) {
    cm.sendSimple("Congratulations on your job advancement.");
    cm.getPlayer().setJob(possibleJobs[job]);
    cm.dispose();
    }
    }
    }

  14. #14
    :l Cygnus is offline
    MemberRank
    Mar 2015 Join Date
    f425Location
    237Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by OzGazoz View Post
    the npc dont work ..this is the script now :
    Code:
    var status;
    var possibleJobs = new Array();
    var job;
    function start() {
    status = -1;
    action(1, 0, 0);
    }
    function action(mode, type, selection) {
    if (mode == 1)
    status++;
    else {
    cm.dispose();
    return;
    }
    if (cm.getJob().getId() % 10 == 2) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else if (cm.getJob().getId() % 100 != 0) {
    var secondJob = (cm.getJob().getId() % 10 == 0);
    if ((secondJob && cm.getLevel() < 70) || (!secondJob && cm.getLevel() < 120)) {
    cm.sendOk("Hey, how's it going? I've been doing well here.");
    cm.dispose();
    } else {
    var newJob = cm.getJob().getId() + 1;
    if (status == 0)
    cm.sendYesNo("Great job getting to level "+cm.getLevel()+". Would you like to become a #b"+cm.getJobById(newJob)+"#k ?");
    else if (status == 1) {
    cm.sendSimple("Congratulations, you are now a #b"+cm.getJobById(newJob)+"#k.");
    cm.getPlayer().setJob(newJob);
    cm.dispose();
    }
    }
    } else {
    if (status == 0) {
    if (cm.getJob().getId() == 0) {
    if (cm.getLevel() >= 8)
    possibleJobs.push(200);
    if (cm.getLevel() >= 10) {
    if (cm.getPlayer().getStr() >= 35) possibleJobs.push(100);
    if (cm.getPlayer().getDex() >= 25) { possibleJobs.push(300); possibleJobs.push(400);}
    if (cm.getPlayer().getDex() >= 20) possibleJobs.push(500);
    }
    } else {
    if (cm.getLevel() >= 30) {
    switch (cm.getJob().getId()) {
    case 100: possibleJobs = [110, 120, 130]; break;
    case 200: possibleJobs = [210, 220, 230]; break;
    case 300: possibleJobs = [310, 320]; break;
    case 400: possibleJobs = [410, 420]; break;
    case 500: possibleJobs = [510, 520]; break;
    }
    }
    }
    if (possibleJobs.length == 0) {
    cm.sendOk("Your level is too low to advance.");
    cm.dispose();
    } else {
    var text = "There are the available jobs you can take#b";
    for (var i = 0; i < possibleJobs.length; i++)
    text += "\r\n#L"+i+"#"+cm.getJobById(possibleJobs[i])+"#l";
    cm.sendSimple(text);
    }
    } else if (status == 1) {
    cm.sendYesNo("Are you sure you want to job advance?");
    job = selection;
    } else if (status == 2) {
    cm.sendSimple("Congratulations on your job advancement.");
    cm.getPlayer().setJob(possibleJobs[job]);
    cm.dispose();
    }
    }
    }
    The script is fine, if it doesn't work for you, it means some of the methods aren't the same in your source as xiuz. You should be getting some bat errors for whatever part of execution isn't executing properly, if not, compare the methods used in the script to those in your source.

  15. #15
    Member OzGazoz is offline
    MemberRank
    Jul 2012 Join Date
    90Posts

    Re: v62 [Job Advance NPC]

    Quote Originally Posted by Cygnus View Post
    The script is fine, if it doesn't work for you, it means some of the methods aren't the same in your source as xiuz. You should be getting some bat errors for whatever part of execution isn't executing properly, if not, compare the methods used in the script to those in your source.
    oh i did get error , didnt realize it : look
    Code:
    java.lang.reflect.UndeclaredThrowableException
    	at $Proxy3.start(Unknown Source)
    	at scripting.npc.NPCScriptManager.start(NPCScriptManager.java:88)
    	at scripting.npc.NPCConversationManager.openNpc(NPCConversationManager.java:221)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:601)
    	at sun.org.mozilla.javascript.internal.MemberBox.invoke(MemberBox.java:169)
    	at sun.org.mozilla.javascript.internal.NativeJavaMethod.call(NativeJavaMethod.java:247)
    	at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1711)
    	at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:854)
    	at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:164)
    	at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(ContextFactory.java:429)
    	at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(RhinoScriptEngine.java:116)
    	at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(RhinoScriptEngine.java:109)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(ScriptRuntime.java:3163)
    	at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:162)
    	at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:290)
    	at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:254)
    	at com.sun.script.util.InterfaceImplementor$InterfaceImplementorInvocationHandler$1.run(InterfaceImplementor.java:69)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.script.util.InterfaceImplementor$InterfaceImplementorInvocationHandler.invoke(InterfaceImplementor.java:66)
    	at $Proxy3.action(Unknown Source)
    	at scripting.npc.NPCScriptManager.action(NPCScriptManager.java:111)
    	at handling.channel.handler.NPCMoreTalkHandler.handlePacket(NPCMoreTalkHandler.java:72)
    	at handling.MapleServerHandler.messageReceived(MapleServerHandler.java:103)
    	at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570)
    	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
    	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
    	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
    	at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58)
    	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:180)
    	at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
    	at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
    	at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
    	at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220)
    	at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
    	at java.lang.Thread.run(Thread.java:722)
    Caused by: java.security.PrivilegedActionException: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getJobById in object Conversation with NPC: 9300012. (<Unknown source>#60) in <Unknown source> at line number 60
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.script.util.InterfaceImplementor$InterfaceImplementorInvocationHandler.invoke(InterfaceImplementor.java:66)
    	... 41 more
    Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getJobById in object Conversation with NPC: 9300012. (<Unknown source>#60) in <Unknown source> at line number 60
    	at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:296)
    	at com.sun.script.javascript.RhinoScriptEngine.invokeFunction(RhinoScriptEngine.java:254)
    	at com.sun.script.util.InterfaceImplementor$InterfaceImplementorInvocationHandler$1.run(InterfaceImplementor.java:69)
    	... 43 more
    Caused by: sun.org.mozilla.javascript.internal.EcmaError: TypeError: Cannot find function getJobById in object Conversation with NPC: 9300012. (<Unknown source>#60)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(ScriptRuntime.java:3773)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(ScriptRuntime.java:3751)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.typeError(ScriptRuntime.java:3779)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.typeError2(ScriptRuntime.java:3798)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.notFunctionError(ScriptRuntime.java:3869)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2345)
    	at sun.org.mozilla.javascript.internal.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2312)
    	at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Interpreter.java:1524)
    	at sun.org.mozilla.javascript.internal.Interpreter.interpret(Interpreter.java:854)
    	at sun.org.mozilla.javascript.internal.InterpretedFunction.call(InterpretedFunction.java:164)
    	at com.sun.script.javascript.RhinoScriptEngine.invoke(RhinoScriptEngine.java:290)
    	... 45 more
    
    ---------------------------------



Page 1 of 2 12 LastLast

Advertisement