1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Spectre not detecting new client windows

Discussion in 'Developer Support' started by Blacktie, Dec 10, 2019.

  1. Blacktie

    Joined:
    Jun 27, 2018
    Messages:
    17
    Likes Received:
    3
    Sunday I developed a small script bot for testing, which was running perfectly fine, although there were issues with the Jagex server and I couldn't launch the OSRS client through RuneMate, I was able to run the default OSRS client by editing the oldschool.prm file and forcing it to load from a certain world instead of the generic url used by default.
    I was then able to "Scan" for the client window and it would find it pretty quickly. I had some struggles setting this up, but eventually I got it to work by using jdk8 (64 bit) but launch runemate through intellij with jre8 32 bit (for some reason spectre gave an error saying we need to use a 32 bit version to use this)

    Today I wanted to continue where left off, but spectre would no longer find the client window. I was able to use the "start osrs client" button now just fine, because the issue with jagex's server were now over, however in both scenarios spectre would not find the game window.

    I have uninstalled java, osrs client, spectre etc multiple times and tried different combinations of java (using just jdk8 64 bit, 32 bit, using either of those jdks but with jre8 32 and even 64 bit to launch it)
    Now the weird part is, after uninstaling it and just installing runemate it would launch and be able to detect a client, but since it doesnt install a java version I am not able to launch developer version through that and run local bot scripts bots.

    I haven't changed any configuration, in intellij, runemate or java. So why it would suddenly stop working the next day is beyond me.

    For anyone that will probably ask about this, here is the console output from intellij:


    Code (Text):
    1. "C:\Program Files (x86)\Java\jre1.8.0_231\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3\lib\idea_rt.jar=49725:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jre1.8.0_231\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\deploy.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\javaws.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\jfxswt.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\management-agent.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\plugin.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\resources.jar;C:\Program Files (x86)\Java\jre1.8.0_231\lib\rt.jar;C:\Users\User\IdeaProjects\Runemate\out\production\Runemate;C:\Users\User\IdeaProjects\Runemate\RuneMate.jar" com.runemate.boot.Boot -sdk
    2. [Debug] Java Home: C:\Program Files (x86)\Java\jre1.8.0_231
    3. [Debug] Java Version: 1.8.0_231 x86 (Oracle Corporation)
    4. [Debug] Maximum Heap Size: 248MB
    5. [Debug] RuneMate Version: 2.105.2
    6. [Debug] Operating System: Windows 10 x64
    7. [Debug] C:\Users\User\jagexcache is a cache root according to the registry.
    8. 00:00:00 INFO    Attempting to start official client. If it does not open shortly please do so manually.
    9. Checking for a new game client every second for two minutes or until one is found.
    10. [Clouse] Downloaded 1000 human mouse movements selected for you by Clouse.
    11. 00:02:00 INFO    Failed to find a new game client. Please ensure you have the official RuneScape Legacy client installed, as opposed to the NXT client. For more information see the RuneMate <a href="https://www.runemate.com/community/threads/how-to-use-runemate-spectre.6248/">Walkthrough</a>.
    12. 00:03:48 INFO    Attempting to start official client. If it does not open shortly please do so manually.
    13. Checking for a new game client every second for two minutes or until one is found.
    14. 00:05:49 INFO    Failed to find a new game client. Please ensure you have the official RuneScape Legacy client installed, as opposed to the NXT client. For more information see the RuneMate <a href="https://www.runemate.com/community/threads/how-to-use-runemate-spectre.6248/">Walkthrough</a>.
    15.  
     

Share This Page

Loading...