Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • hardcore22: are there any kind of silabsoft servers like back in the days i miss that
      May 25, 2020, 05:44:08 AM
    • Amcora: @ dr house contact me; greetings celien :)
      May 24, 2020, 03:16:21 PM
    • Amcora: Stop shouting around please
      May 24, 2020, 03:13:26 PM
    • iddsyou: PkOwnage OSRSPS [link]  Join us on Discord! [link]  Download: [link]
      May 17, 2020, 11:44:17 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:48:19 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:48:12 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:56 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:49 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ PLAYERS BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:42 AM
    • Decimate Returns: PROJECT DECIMATE RETURNS !! 300+ BACK IN 2012 - NOW WITH ALOT OF UPDATES ! JOIN NOW! [link]
      May 17, 2020, 02:47:29 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:18:03 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:17:53 AM
    • ragnoroker: BRAND NEW SERVER - PRE EOC - UNIQUE - JOIN TODAY :) - [link]
      May 15, 2020, 11:17:50 AM
    • Decimate Returns: Project Decimate 474 OSRS ; [link]
      May 13, 2020, 07:27:00 PM
    • hardcore22: are there any silabsoft servers left? of the good old days like hackscape
      May 12, 2020, 07:53:18 AM
    • iddsyou: yo guys check out this instagram post #pkownage  [link]
      May 06, 2020, 02:35:58 PM
    • fishingsheep: any servers like project catasrophe or frugoo scape been remade ?
      May 04, 2020, 05:01:00 PM
    • asshole_rule: relmitos the legend
      May 04, 2020, 04:28:54 PM
    • iddsyou: PkOwnage 317 OSRS, Vote4donor, [link] Download now: [link] Discord: [link]
      May 04, 2020, 11:15:11 AM
    • relmitos: is anyone familiar with 317 packet opcodes? Im confused about opcode 3 (wich appears to send wether or not the client window is currently focused). is it safe to ignore?
      May 03, 2020, 08:47:40 AM

    Author Topic: RuneAgent Help  (Read 3228 times)

    0 Members and 1 Guest are viewing this topic.

    OfflineAveragescape

    • Member
    • **
    • Posts: 33
    • Thanks: +0/-0
      • View Profile
    RuneAgent Help
    « on: March 24, 2016, 08:21:43 PM »
    I am almost done but there's one problem. When I click Run.bat, it starts but I don't get the OutStream window and get this in cmd:

    C:\Users\louda\Desktop\OSV RuneAgent>java -Xbootclasspath/a:"RuneAgent.jar";"lib/bcel-5.2.jar";"lib/rsyntax.jar";"client.jar" -javaagent:"RuneAgent.jar"=config.js -jar client.jar
    java.lang.NumberFormatException: For input string: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">"
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at sun.misc.FloatingDecimal.parseDouble(Unknown Source)
            at java.lang.Double.parseDouble(Unknown Source)
            at org.silabsoft.runeagent.Premain.getCurrentVersion(Premain.java:69)
            at org.silabsoft.runeagent.Premain.premain(Premain.java:32)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
    javax.script.ScriptException: ReferenceError: "importPackage" is not defined in <eval> at line number 2
            at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:467)
            at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:451)
            at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:403)
            at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399)
            at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150)
            at javax.script.AbstractScriptEngine.eval(Unknown Source)
            at org.silabsoft.runeagent.Premain.premain(Premain.java:53)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
    Caused by: <eval>:2 ReferenceError: "importPackage" is not defined
            at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
            at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319)
            at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291)
            at jdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1428)
            at jdk.nashorn.internal.scripts.Script$\^eval\_.:program(<eval>:2)
            at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:623)
            at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
            at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
            at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:446)
            ... 11 more


    And this is my config.js

    load('nashorn:mozilla_compat.js'); //Java 8 support
    importPackage(org.silabsoft.runeagent.transformer);
    importPackage(org.silabsoft.runeagent.util);
    var transformer = new RuneTekFourTransformer(runeAgent.getAgent());
    var byteStream = new ClassModifier("ByteStream", "stream", "org.silabsoft.runeagent.hook.GenericByteStream");
    byteStream.addMethodWrapper(new MethodWrapper("p1isaac","createFrame","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("p4","writeDWord","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("p1","writeWordBigEndian","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("p2","writeWord","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("p3","writeDWordBigEndian","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("ip4","method403","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("p8","writeQWord","(J)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("pjstr","writeString","(Ljava/lang/String;)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("np1","method424","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("sp1","method425","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("ip2","method431","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("sp2","method432","(I)V",true));
    byteStream.addMethodWrapper(new MethodWrapper("isp2","method433","(I)V",true));
    byteStream.setReturnClassName("org.silabsoft.runeagent.transformer.RuneTekFourTransformer");
    var clientModifier = new RuneTekFourClientTransformer("GameClient", "client", "org.silabsoft.runeagent.hook.GenericGameClient","ISAACRandomGen");
    transformer.addClassModifier(byteStream);
    transformer.addClassModifier(clientModifier);
    runeAgent.addTransformer(transformer);

    What's wrong?
    Runescape Gambling

    OfflineRuneAgent

    • wololo
    • Member
    • ****
    • *
    • *
    • Posts: 7,515
    • Thanks: +0/-0
      • View Profile
      • MITB FORUMS
    Re: RuneAgent Help
    « Reply #1 on: March 25, 2016, 08:33:38 AM »
    the error: For input string: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">" is nothing its just because silabsoft.org is unavailable

    ReferenceError: "importPackage" is not defined in <eval> at line number 2

    are you using java 8? if so you will need to load mozilla_compat however if you are not using java 8 then you should remove that line

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal