Page 8 of 10 FirstFirst ... 678910 LastLast
Results 176 to 200 of 239

Thread: Direct-X Plugin (Beta)

  1. #176
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by mrisperfect View Post
    I find that it logs into runescape ok, but once it's fully logged in, it doesn't do anything such as it won't bot or click anything.


    P.S Does the simba script have to support directx for me to bot? or i can use any script?
    This thread is a little obsolete now because both the openGL and this directX plugin are packaged with srl6, and by default both plugins will be loaded when you spawn a SMART client. You just have to make sure your in game graphics are set to DirectX and it should work.

  2. #177
    Join Date
    Dec 2011
    Posts
    51
    Mentioned
    1 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    This thread is a little obsolete now because both the openGL and this directX plugin are packaged with srl6, and by default both plugins will be loaded when you spawn a SMART client. You just have to make sure your in game graphics are set to DirectX and it should work.
    I have it set in directx, and it still don't work unless i use a script that support directx. Is there anyway to use the scripts that are for opengl?

  3. #178
    Join Date
    Jun 2014
    Location
    Lithuania
    Posts
    475
    Mentioned
    27 Post(s)
    Quoted
    200 Post(s)

    Default

    Quote Originally Posted by mrisperfect View Post
    I have it set in directx, and it still don't work unless i use a script that support directx. Is there anyway to use the scripts that are for opengl?
    Yes, change most colors since they differ alot in some ocasions

  4. #179
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    You can all test now: https://villavu.com/forum/showthread...81#post1276881

    Report anything missing or unusual.

    Don't worry about ID's as they're just there for testing the debugging and not actually generated properly (they are a CRC32 of ALL the pixels in the texture atm or a simple hash of the primitive count in models).
    Last edited by Brandon; 05-24-2015 at 04:10 AM.
    I am Ggzz..
    Hackintosher

  5. #180
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    You have allowed me to continue what I had previously given up on. Thank you, Brandon.

    @Brandon, so far, SMART has crashed when attempting to enter Direct X mode. Will try again and edit this post with updates.

    Edit: on 2nd attempt, when switching to DX mode while not logged in, it worked!

    So far working perfectly, always at 50fps at 800x600. Going to try larger client sizes now. Using a Macbook Pro.

    Edit 2: Averaging 40fps at 1920x1200, which is incredible compared to OGL. Thank you!

    Last edited by Clarity; 05-24-2015 at 04:40 AM.

  6. #181
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    You have allowed me to continue what I had previously given up on. Thank you, Brandon.

    @Brandon, so far, SMART has crashed when attempting to enter Direct X mode. Will try again and edit this post with updates.

    Edit: on 2nd attempt, when switching to DX mode while not logged in, it worked!

    So far working perfectly, always at 50fps at 800x600. Going to try larger client sizes now. Using a Macbook Pro.

    Excellent. I'll investigate the crash. If you have a log of it, that would be good. If not, it's okay. There's only two possible functions it could have happened in (EndScene or DrawIndexedPrimitive).

    Glad the FPS is high though. I didn't test other sizes but it should be roughly the same.
    I am Ggzz..
    Hackintosher

  7. #182
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Excellent. I'll investigate the crash. If you have a log of it, that would be good. If not, it's okay. There's only two possible functions it could have happened in (EndScene or DrawIndexedPrimitive).

    Glad the FPS is high though. I didn't test other sizes but it should be roughly the same.
    Could this be the log you are looking for? It contains "j jagdx.IDirect3DDevice.EndScene(J)I+0".

    Crash Log

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x15ed6e22, pid=8100, tid=2496
    #
    # JRE version: Java(TM) SE Runtime Environment (8.0_31-b13) (build 1.8.0_31-b13)
    # Java VM: Java HotSpot(TM) Client VM (25.31-b07 mixed mode windows-x86 )
    # Problematic frame:
    # C [d3d9.dll+0x6e22]
    #
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    #
    # If you would like to submit a bug report, please visit:
    # http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    --------------- T H R E A D ---------------

    Current thread (0x16580c00): JavaThread "Thread-4" daemon [_thread_in_native, id=2496, stack(0x1a4b0000,0x1a500000)]

    siginfo: ExceptionCode=0xc0000005, reading address 0x1fda8008

    Registers:
    EAX=0x0001366b, EBX=0x1fda8010, ECX=0x0145ee48, EDX=0x1a4ff14c
    ESP=0x1a4ff194, EBP=0x1a4ff1dc, ESI=0x1fcddbb0, EDI=0x1a324a20
    EIP=0x15ed6e22, EFLAGS=0x00210212

    Top of Stack: (sp=0x1a4ff194)
    0x1a4ff194: 1fda8000 00057000 ffff0000 15f90351
    0x1a4ff1a4: 0001366b 01179ff0 000014d5 16580c00
    0x1a4ff1b4: 1a4ff1dc 1fbb32a0 1fbb3178 1a27a2c8
    0x1a4ff1c4: 00000008 16580c00 1e14f928 1e14f928
    0x1a4ff1d4: 1e14f928 16580c00 1a4ff1e8 664a3413
    0x1a4ff1e4: 1a324a20 1a4ff220 02afbe43 16580d38
    0x1a4ff1f4: 1a4ff228 1e8825d0 00000000 1a4ff200
    0x1a4ff204: 1e14f928 1a4ff234 1e150138 00000000

    Instructions: (pc=0x15ed6e22)
    0x15ed6e02: 8b 45 e4 8b 4f 0c 83 c3 0c 8b 40 24 c7 44 24 0c
    0x15ed6e12: 51 03 f9 15 c7 44 24 08 00 00 ff ff 89 44 24 10
    0x15ed6e22: d9 43 f8 d9 5c 24 04 d9 43 f4 d9 1c 24 e8 bc ba
    0x15ed6e32: 01 00 83 ec 14 39 de 75 c7 8b 45 e4 8b 58 28 83


    Register to memory mapping:

    EAX=0x0001366b is an unknown value
    EBX=0x1fda8010 is an unknown value
    ECX=0x0145ee48 is an unknown value
    EDX=0x1a4ff14c is pointing into the stack for thread: 0x16580c00
    ESP=0x1a4ff194 is pointing into the stack for thread: 0x16580c00
    EBP=0x1a4ff1dc is pointing into the stack for thread: 0x16580c00
    ESI=0x1fcddbb0 is an unknown value
    EDI=0x1a324a20 is an unknown value


    Stack: [0x1a4b0000,0x1a500000], sp=0x1a4ff194, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [d3d9.dll+0x6e22]
    C [jagdx.dll+0x3413]
    j jagdx.IDirect3DDevice.EndScene(J)I+0
    j ank.c(II)V+46
    J 1293 C1 db.d(B)V (31 bytes) @ 0x02f28004 [0x02f27fd0+0x34]
    J 640 C1 client.ap(I)V (1366 bytes) @ 0x02cc8e6c [0x02cc7e30+0x103c]
    J 639 C1 rk.w(I)V (293 bytes) @ 0x02cc6708 [0x02cc6460+0x2a8]
    J 663% C1 rk.z(B)V (431 bytes) @ 0x02cdbea8 [0x02cdb9a0+0x508]
    j rk.run()V+3
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [jvm.dll+0x1473e5]
    V [jvm.dll+0x20d57e]
    V [jvm.dll+0x14747e]
    V [jvm.dll+0x147606]
    V [jvm.dll+0x147677]
    V [jvm.dll+0xf09df]
    V [jvm.dll+0x169acc]
    V [jvm.dll+0x16a35a]
    V [jvm.dll+0x1af0a6]
    C [msvcr100.dll+0x5c556]
    C [msvcr100.dll+0x5c600]
    C [KERNEL32.DLL+0x17c04]
    C [ntdll.dll+0x5ad1f]
    C [ntdll.dll+0x5acea]
    C 0x00000000

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j jagdx.IDirect3DDevice.EndScene(J)I+0
    j ank.c(II)V+46
    J 1293 C1 db.d(B)V (31 bytes) @ 0x02f28004 [0x02f27fd0+0x34]
    J 640 C1 client.ap(I)V (1366 bytes) @ 0x02cc8e6c [0x02cc7e30+0x103c]
    J 639 C1 rk.w(I)V (293 bytes) @ 0x02cc6708 [0x02cc6460+0x2a8]
    J 663% C1 rk.z(B)V (431 bytes) @ 0x02cdbea8 [0x02cdb9a0+0x508]
    j rk.run()V+3
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub

    --------------- P R O C E S S ---------------

    Java Threads: ( => current thread )
    0x16871c00 JavaThread "Smart_Image_Transfer" daemon [_thread_blocked, id=6396, stack(0x19dc0000,0x19e10000)]
    0x16872800 JavaThread "pool-1-thread-2" [_thread_blocked, id=7296, stack(0x19480000,0x194d0000)]
    0x16876000 JavaThread "Thread-43" daemon [_thread_blocked, id=5432, stack(0x1be00000,0x1be50000)]
    0x16872000 JavaThread "Thread-42" daemon [_thread_in_native, id=7148, stack(0x1bd70000,0x1bdc0000)]
    0x16870800 JavaThread "Thread-14" daemon [_thread_in_native, id=1448, stack(0x192a0000,0x192f0000)]
    0x16873000 JavaThread "Thread-13" daemon [_thread_blocked, id=308, stack(0x19170000,0x191c0000)]
    0x16870400 JavaThread "Thread-12" daemon [_thread_blocked, id=3640, stack(0x190e0000,0x19130000)]
    0x16873c00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=5296, stack(0x18d80000,0x18dd0000)]
    0x167dfc00 JavaThread "pool-1-thread-1" [_thread_blocked, id=1740, stack(0x1b750000,0x1b7a0000)]
    0x167df400 JavaThread "Thread-8" daemon [_thread_blocked, id=6356, stack(0x1b630000,0x1b680000)]
    0x167e1400 JavaThread "Thread-7" daemon [_thread_blocked, id=2948, stack(0x1b5a0000,0x1b5f0000)]
    0x168dd800 JavaThread "Thread-6" daemon [_thread_blocked, id=5568, stack(0x1b410000,0x1b460000)]
    0x16724c00 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=7968, stack(0x1b000000,0x1b050000)]
    0x16666000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3012, stack(0x1a5d0000,0x1a620000)]
    0x1a7ff400 JavaThread "AWT-Shutdown" [_thread_blocked, id=5720, stack(0x1a540000,0x1a590000)]
    =>0x16580c00 JavaThread "Thread-4" daemon [_thread_in_native, id=2496, stack(0x1a4b0000,0x1a500000)]
    0x1a9f0c00 JavaThread "Thread-3" daemon [_thread_blocked, id=7772, stack(0x1a220000,0x1a270000)]
    0x1a9d0400 JavaThread "Thread-2" daemon [_thread_blocked, id=880, stack(0x1a190000,0x1a1e0000)]
    0x1687c400 JavaThread "Thread-1" daemon [_thread_blocked, id=3700, stack(0x174b0000,0x17500000)]
    0x1524f400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5924, stack(0x17540000,0x17590000)]
    0x1524d800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6568, stack(0x17420000,0x17470000)]
    0x150ad400 JavaThread "Service Thread" daemon [_thread_blocked, id=6708, stack(0x15530000,0x15580000)]
    0x15085c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6952, stack(0x154a0000,0x154f0000)]
    0x15084c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5104, stack(0x15410000,0x15460000)]
    0x15082c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5896, stack(0x15380000,0x153d0000)]
    0x15064800 JavaThread "Finalizer" daemon [_thread_blocked, id=5112, stack(0x152f0000,0x15340000)]
    0x02aee800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2532, stack(0x15260000,0x152b0000)]
    0x0117c000 JavaThread "main" [_thread_in_native, id=2616, stack(0x00fa0000,0x00ff0000)]

    Other Threads:
    0x02aea400 VMThread [stack: 0x04b80000,0x04bd0000] [id=2600]
    0x150b1000 WatcherThread [stack: 0x155c0000,0x15610000] [id=5224]

    VM state:not at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: None

    Heap:
    def new generation total 78656K, used 27986K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 40% used [0x04c00000, 0x06754b90, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 168162K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 96% used [0x0a150000, 0x145888c0, 0x14588a00, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K

    Card table byte_map: [0x04af0000,0x04b80000] byte_map_base: 0x04aca000

    Polling page: 0x00ee0000

    CodeCache: size=32768Kb used=11097Kb max_used=11184Kb free=21670Kb
    bounds [0x02af0000, 0x035e0000, 0x04af0000]
    total_blobs=2752 nmethods=2386 adapters=296
    compilation: enabled

    Compilation events (10 events):
    Event: 174.514 Thread 0x15085c00 2734 ade::be (169 bytes)
    Event: 174.515 Thread 0x15085c00 nmethod 2734 0x035dd908 code [0x035dda40, 0x035ddc8c]
    Event: 174.540 Thread 0x15085c00 2735 java.util.Arrays::binarySearch0 (95 bytes)
    Event: 174.540 Thread 0x15085c00 nmethod 2735 0x02c0e148 code [0x02c0e260, 0x02c0e3c8]
    Event: 174.542 Thread 0x15085c00 2736 sun.java2d.loops.GraphicsPrimitive::getUniqueID (5 bytes)
    Event: 174.542 Thread 0x15085c00 nmethod 2736 0x02c0df88 code [0x02c0e080, 0x02c0e100]
    Event: 174.545 Thread 0x15085c00 2737 s sun.java2d.loops.GraphicsPrimitiveMgr::locatePrim (96 bytes)
    Event: 174.546 Thread 0x15085c00 nmethod 2737 0x02bdd588 code [0x02bdd6c0, 0x02bddb6c]
    Event: 174.546 Thread 0x15085c00 2738 sun.java2d.loops.GraphicsPrimitiveMgr$2::compare (39 bytes)
    Event: 174.546 Thread 0x15085c00 nmethod 2738 0x02bdca48 code [0x02bdcb50, 0x02bdcc50]

    GC Heap History (10 events):
    Event: 173.173 GC heap before
    {Heap before GC invocations=52 (full 16):
    def new generation total 78656K, used 69952K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 146089K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 83% used [0x0a150000, 0x12ffa598, 0x12ffa600, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    Event: 173.263 GC heap after
    Heap after GC invocations=53 (full 17):
    def new generation total 78656K, used 0K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 124578K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 71% used [0x0a150000, 0x11af8980, 0x11af8a00, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    }
    Event: 173.477 GC heap before
    {Heap before GC invocations=53 (full 17):
    def new generation total 78656K, used 69952K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 124578K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 71% used [0x0a150000, 0x11af8980, 0x11af8a00, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    Event: 173.492 GC heap after
    Heap after GC invocations=54 (full 17):
    def new generation total 78656K, used 8703K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 99% used [0x09050000, 0x098cfff8, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 140524K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 80% used [0x0a150000, 0x12a8b058, 0x12a8b200, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    }
    Event: 173.877 GC heap before
    {Heap before GC invocations=54 (full 17):
    def new generation total 78656K, used 78655K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 99% used [0x09050000, 0x098cfff8, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 140524K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 80% used [0x0a150000, 0x12a8b070, 0x12a8b200, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    Event: 173.896 GC heap after
    Heap after GC invocations=55 (full 17):
    def new generation total 78656K, used 8703K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 99% used [0x098d0000, 0x0a14fff8, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 158619K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 90% used [0x0a150000, 0x13c36e48, 0x13c37000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    }
    Event: 173.897 GC heap before
    {Heap before GC invocations=55 (full 17):
    def new generation total 78656K, used 8706K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00830, 0x09050000)
    from space 8704K, 99% used [0x098d0000, 0x0a14fff8, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 158619K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 90% used [0x0a150000, 0x13c36e48, 0x13c37000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    Event: 173.905 GC heap after
    Heap after GC invocations=56 (full 17):
    def new generation total 78656K, used 0K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 167323K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 95% used [0x0a150000, 0x144b6e40, 0x144b7000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    }
    Event: 174.395 GC heap before
    {Heap before GC invocations=56 (full 17):
    def new generation total 78656K, used 69755K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 99% used [0x04c00000, 0x0901ed58, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 167323K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 95% used [0x0a150000, 0x144b6e40, 0x144b7000, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K
    Event: 174.507 GC heap after
    Heap after GC invocations=57 (full 18):
    def new generation total 78656K, used 23281K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 33% used [0x04c00000, 0x062bc580, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 168162K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 96% used [0x0a150000, 0x145888c0, 0x14588a00, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K
    }

    Deoptimization events (0 events):
    No events

    Internal exceptions (10 events):
    Event: 173.114 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x071061a0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.114 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07106850) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.558 Thread 0x16580c00 Implicit null exception at 0x02c00bd6 to 0x02c0125b
    Event: 173.579 Thread 0x16580c00 Implicit null exception at 0x0353f04b to 0x0354032c
    Event: 173.644 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07378810) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.645 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07378ec0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.726 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07b84588) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.727 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07b84e20) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 174.326 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x08672c58) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 174.326 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x08673310) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]

    Events (10 events):
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1ee08
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f148
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f448
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f888
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1fc88
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c20088
    Event: 174.539 Executing VM operation: BulkRevokeBias
    Event: 174.539 Executing VM operation: BulkRevokeBias done
    Event: 174.539 Executing VM operation: BulkRevokeBias
    Event: 174.539 Executing VM operation: BulkRevokeBias done


    Dynamic libraries:
    0x01060000 - 0x01090000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.exe
    0x77cc0000 - 0x77e2e000 C:\WINDOWS\SYSTEM32\ntdll.dll
    0x772e0000 - 0x77420000 C:\WINDOWS\SYSTEM32\KERNEL32.DLL
    0x77aa0000 - 0x77b77000 C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    0x74770000 - 0x74810000 C:\WINDOWS\system32\apphelp.dll
    0x601d0000 - 0x60436000 C:\WINDOWS\AppPatch\AcGenral.DLL
    0x76c10000 - 0x76cd3000 C:\WINDOWS\SYSTEM32\msvcrt.dll
    0x77b80000 - 0x77bc1000 C:\WINDOWS\SYSTEM32\sechost.dll
    0x754c0000 - 0x754de000 C:\WINDOWS\SYSTEM32\SspiCli.dll
    0x76f70000 - 0x76fb5000 C:\WINDOWS\SYSTEM32\SHLWAPI.dll
    0x72140000 - 0x7222d000 C:\WINDOWS\SYSTEM32\UxTheme.dll
    0x77940000 - 0x77a93000 C:\WINDOWS\SYSTEM32\USER32.dll
    0x76d80000 - 0x76e8e000 C:\WINDOWS\SYSTEM32\GDI32.dll
    0x71ce0000 - 0x71d03000 C:\WINDOWS\SYSTEM32\WINMM.dll
    0x72280000 - 0x72293000 C:\WINDOWS\SYSTEM32\samcli.dll
    0x771b0000 - 0x772d8000 C:\WINDOWS\SYSTEM32\ole32.dll
    0x76ce0000 - 0x76d75000 C:\WINDOWS\SYSTEM32\OLEAUT32.dll
    0x6cd50000 - 0x6cd67000 C:\WINDOWS\SYSTEM32\MSACM32.dll
    0x75440000 - 0x75448000 C:\WINDOWS\SYSTEM32\VERSION.dll
    0x757e0000 - 0x76a8c000 C:\WINDOWS\SYSTEM32\SHELL32.dll
    0x74860000 - 0x7487b000 C:\WINDOWS\SYSTEM32\USERENV.dll
    0x72120000 - 0x7213a000 C:\WINDOWS\SYSTEM32\dwmapi.dll
    0x6f500000 - 0x6f64a000 C:\WINDOWS\SYSTEM32\urlmon.dll
    0x778c0000 - 0x7793c000 C:\WINDOWS\SYSTEM32\ADVAPI32.dll
    0x753d0000 - 0x75435000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
    0x71440000 - 0x71456000 C:\WINDOWS\SYSTEM32\MPR.dll
    0x775e0000 - 0x7769a000 C:\WINDOWS\SYSTEM32\RPCRT4.dll
    0x754b0000 - 0x754ba000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
    0x76a90000 - 0x76c0d000 C:\WINDOWS\SYSTEM32\combase.dll
    0x71cb0000 - 0x71cd3000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
    0x74810000 - 0x7481f000 C:\WINDOWS\SYSTEM32\profapi.dll
    0x74880000 - 0x74ab2000 C:\WINDOWS\SYSTEM32\iertutil.dll
    0x74ca0000 - 0x74e73000 C:\WINDOWS\SYSTEM32\WININET.dll
    0x75450000 - 0x754a4000 C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
    0x76f20000 - 0x76f5c000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
    0x753a0000 - 0x753c1000 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
    0x735a0000 - 0x7362b000 C:\WINDOWS\SYSTEM32\SHCORE.DLL
    0x77180000 - 0x771a7000 C:\WINDOWS\system32\IMM32.DLL
    0x75600000 - 0x75712000 C:\WINDOWS\SYSTEM32\MSCTF.dll
    0x70940000 - 0x70b46000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17784_none_a9f4 97a901334c74\COMCTL32.dll
    0x6a310000 - 0x6a3cf000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\msvcr100.dll
    0x5dd90000 - 0x5e134000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\client\jvm.dll
    0x74f30000 - 0x74f38000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
    0x75720000 - 0x75726000 C:\WINDOWS\SYSTEM32\PSAPI.DLL
    0x75540000 - 0x75590000 C:\WINDOWS\SYSTEM32\WS2_32.dll
    0x77420000 - 0x77427000 C:\WINDOWS\SYSTEM32\NSI.dll
    0x6cd70000 - 0x6cd7c000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\verify.dll
    0x69840000 - 0x69861000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.dll
    0x69e50000 - 0x69e63000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\zip.dll
    0x6e600000 - 0x6e691000 C:\Simba\Plugins\libsmartjni32.dll
    0x69820000 - 0x69835000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\net.dll
    0x73160000 - 0x731ab000 C:\WINDOWS\system32\mswsock.dll
    0x6c550000 - 0x6c55f000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\nio.dll
    0x68540000 - 0x6861d000 C:\Simba\Plugins\OpenGL32.dll
    0x70b70000 - 0x70b95000 C:\WINDOWS\SYSTEM32\GLU32.DLL
    0x70260000 - 0x7033e000 C:\WINDOWS\system32\opengl32.dll
    0x6c200000 - 0x6c2ec000 C:\WINDOWS\SYSTEM32\DDRAW.dll
    0x72110000 - 0x72117000 C:\WINDOWS\SYSTEM32\DCIMAN32.dll
    0x15ed0000 - 0x15fa8000 C:\Simba\Plugins\d3d9.dll
    0x5ff30000 - 0x6012f000 C:\WINDOWS\SYSTEM32\d3dx9_43.dll
    0x6d9b0000 - 0x6db83000 C:\WINDOWS\system32\d3d9.dll
    0x74ac0000 - 0x74b3e000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
    0x73130000 - 0x73151000 C:\Program Files (x86)\Bonjour\mdnsNSP.dll
    0x74c80000 - 0x74ca0000 C:\WINDOWS\SYSTEM32\Iphlpapi.DLL
    0x74850000 - 0x74858000 C:\WINDOWS\SYSTEM32\WINNSI.DLL
    0x73120000 - 0x73128000 C:\Windows\System32\rasadhlp.dll
    0x72ac0000 - 0x72b06000 C:\WINDOWS\System32\fwpuclnt.dll
    0x61160000 - 0x612a6000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\awt.dll
    0x74490000 - 0x744a9000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
    0x74460000 - 0x74490000 C:\WINDOWS\system32\rsaenh.dll
    0x74440000 - 0x7445e000 C:\WINDOWS\SYSTEM32\bcrypt.dll
    0x73700000 - 0x73713000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
    0x736e0000 - 0x736f4000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
    0x73e40000 - 0x73e49000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
    0x664c0000 - 0x67231000 C:\WINDOWS\SYSTEM32\nvd3dum.dll
    0x17590000 - 0x176ca000 C:\WINDOWS\system32\nvspcap.dll
    0x73cb0000 - 0x73cf0000 C:\WINDOWS\system32\powrprof.dll
    0x6d480000 - 0x6d5ba000 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
    0x76fc0000 - 0x77171000 C:\WINDOWS\SYSTEM32\SETUPAPI.dll
    0x69800000 - 0x69820000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\sunec.dll
    0x72bd0000 - 0x72be1000 C:\WINDOWS\system32\napinsp.dll
    0x72bb0000 - 0x72bc6000 C:\WINDOWS\system32\pnrpnsp.dll
    0x72c60000 - 0x72c74000 C:\WINDOWS\system32\NLAapi.dll
    0x72b10000 - 0x72b1a000 C:\WINDOWS\System32\winrnr.dll
    0x72ab0000 - 0x72ac0000 C:\WINDOWS\system32\wshbth.dll
    0x697e0000 - 0x697f2000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\unpack.dll
    0x697a0000 - 0x697d9000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\fontmanager.dll
    0x69770000 - 0x697a0000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\t2k.dll
    0x69620000 - 0x69645000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jpeg.dll
    0x6b880000 - 0x6b88a000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jsound.dll
    0x6b560000 - 0x6b569000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jsoundds.dll
    0x6ceb0000 - 0x6cf31000 C:\WINDOWS\SYSTEM32\DSOUND.dll
    0x6cf70000 - 0x6cfc3000 C:\WINDOWS\SYSTEM32\MMDevAPI.DLL
    0x70800000 - 0x70836000 C:\WINDOWS\SYSTEM32\wdmaud.drv
    0x6f930000 - 0x6f937000 C:\WINDOWS\SYSTEM32\ksuser.dll
    0x6f920000 - 0x6f92a000 C:\WINDOWS\SYSTEM32\AVRT.dll
    0x6cd80000 - 0x6cde0000 C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
    0x71ff0000 - 0x71ff9000 C:\WINDOWS\SYSTEM32\msacm32.drv
    0x70f80000 - 0x70f88000 C:\WINDOWS\SYSTEM32\midimap.dll
    0x76e90000 - 0x76f1d000 C:\WINDOWS\SYSTEM32\clbcatq.dll
    0x68f20000 - 0x68f46000 C:\Users\Ned\jagexcache\runescape\LIVE\jaclib.dll
    0x6a300000 - 0x6a306000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jawt.dll
    0x72090000 - 0x7209d000 C:\WINDOWS\system32\wbem\wbemprox.dll
    0x720a0000 - 0x72106000 C:\WINDOWS\SYSTEM32\wbemcomn.dll
    0x71ad0000 - 0x71ae1000 C:\WINDOWS\system32\wbem\wbemsvc.dll
    0x71a00000 - 0x71ac4000 C:\WINDOWS\system32\wbem\fastprox.dll
    0x69760000 - 0x6976c000 C:\WINDOWS\system32\winbrand.dll
    0x77430000 - 0x7746d000 C:\WINDOWS\SYSTEM32\WINTRUST.dll
    0x77730000 - 0x778b8000 C:\WINDOWS\SYSTEM32\CRYPT32.dll
    0x75590000 - 0x7559e000 C:\WINDOWS\SYSTEM32\MSASN1.dll
    0x68f50000 - 0x69239000 C:\WINDOWS\system32\nvapi.dll
    0x69600000 - 0x6961a000 C:\Users\Ned\jagexcache\runescape\LIVE\jaggl.dll
    0x54a90000 - 0x56258000 C:\WINDOWS\SYSTEM32\nvoglv32.DLL
    0x73100000 - 0x7310f000 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
    0x75370000 - 0x75398000 C:\WINDOWS\SYSTEM32\ntmarta.dll
    0x730b0000 - 0x730f5000 C:\WINDOWS\SYSTEM32\WINSTA.dll
    0x68eb0000 - 0x68eba000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\management.dll
    0x664a0000 - 0x664b6000 C:\Users\Ned\jagexcache\runescape\LIVE\jagdx.dll
    0x701d0000 - 0x701e6000 C:\WINDOWS\SYSTEM32\usp10.dll
    0x6b730000 - 0x6b871000 C:\WINDOWS\SYSTEM32\dbghelp.dll

    VM Arguments:
    jvm_args: -Xbootclasspath/p:C:/Simba/Plugins//smart.jar
    java_command: smart.Main C:/Simba/Plugins//libsmartjni32.dll http://world9.runescape.com/ ,f7649838988217813349 800 600 C:/Simba/Plugins/ OpenGL32.dll,d3d9.dll
    java_class_path (initial): .;C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
    Launcher Type: SUN_STANDARD

    Environment Variables:
    CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
    PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Jav a\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO WS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerS hell\v1.0\;C:\Program Files (x86)\Common Files\Avid;C:\Program Files\Common Files\Avid;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd
    USERNAME=Ned
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



    --------------- S Y S T E M ---------------

    OS: Windows 8.1 , 64 bit Build 9600

    CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, ht, tsc, tscinvbit, tscinv

    Memory: 4k page, physical 16681672k(13258348k free), swap 19172040k(14948508k free)

    vm_info: Java HotSpot(TM) Client VM (25.31-b07) for windows-x86 JRE (1.8.0_31-b13), built on Dec 17 2014 20:46:12 by "java_re" with MS VC++ 10.0 (VS2010)

    time: Sun May 24 00:24:54 2015
    elapsed time: 178 seconds (0d 0h 2m 58s)


  8. #183
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Could this be the log you are looking for?

    Crash Log

    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x15ed6e22, pid=8100, tid=2496
    #
    # JRE version: Java(TM) SE Runtime Environment (8.0_31-b13) (build 1.8.0_31-b13)
    # Java VM: Java HotSpot(TM) Client VM (25.31-b07 mixed mode windows-x86 )
    # Problematic frame:
    # C [d3d9.dll+0x6e22]
    #
    # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
    #
    # If you would like to submit a bug report, please visit:
    # http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #

    --------------- T H R E A D ---------------

    Current thread (0x16580c00): JavaThread "Thread-4" daemon [_thread_in_native, id=2496, stack(0x1a4b0000,0x1a500000)]

    siginfo: ExceptionCode=0xc0000005, reading address 0x1fda8008

    Registers:
    EAX=0x0001366b, EBX=0x1fda8010, ECX=0x0145ee48, EDX=0x1a4ff14c
    ESP=0x1a4ff194, EBP=0x1a4ff1dc, ESI=0x1fcddbb0, EDI=0x1a324a20
    EIP=0x15ed6e22, EFLAGS=0x00210212

    Top of Stack: (sp=0x1a4ff194)
    0x1a4ff194: 1fda8000 00057000 ffff0000 15f90351
    0x1a4ff1a4: 0001366b 01179ff0 000014d5 16580c00
    0x1a4ff1b4: 1a4ff1dc 1fbb32a0 1fbb3178 1a27a2c8
    0x1a4ff1c4: 00000008 16580c00 1e14f928 1e14f928
    0x1a4ff1d4: 1e14f928 16580c00 1a4ff1e8 664a3413
    0x1a4ff1e4: 1a324a20 1a4ff220 02afbe43 16580d38
    0x1a4ff1f4: 1a4ff228 1e8825d0 00000000 1a4ff200
    0x1a4ff204: 1e14f928 1a4ff234 1e150138 00000000

    Instructions: (pc=0x15ed6e22)
    0x15ed6e02: 8b 45 e4 8b 4f 0c 83 c3 0c 8b 40 24 c7 44 24 0c
    0x15ed6e12: 51 03 f9 15 c7 44 24 08 00 00 ff ff 89 44 24 10
    0x15ed6e22: d9 43 f8 d9 5c 24 04 d9 43 f4 d9 1c 24 e8 bc ba
    0x15ed6e32: 01 00 83 ec 14 39 de 75 c7 8b 45 e4 8b 58 28 83


    Register to memory mapping:

    EAX=0x0001366b is an unknown value
    EBX=0x1fda8010 is an unknown value
    ECX=0x0145ee48 is an unknown value
    EDX=0x1a4ff14c is pointing into the stack for thread: 0x16580c00
    ESP=0x1a4ff194 is pointing into the stack for thread: 0x16580c00
    EBP=0x1a4ff1dc is pointing into the stack for thread: 0x16580c00
    ESI=0x1fcddbb0 is an unknown value
    EDI=0x1a324a20 is an unknown value


    Stack: [0x1a4b0000,0x1a500000], sp=0x1a4ff194, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [d3d9.dll+0x6e22]
    C [jagdx.dll+0x3413]
    j jagdx.IDirect3DDevice.EndScene(J)I+0
    j ank.c(II)V+46
    J 1293 C1 db.d(B)V (31 bytes) @ 0x02f28004 [0x02f27fd0+0x34]
    J 640 C1 client.ap(I)V (1366 bytes) @ 0x02cc8e6c [0x02cc7e30+0x103c]
    J 639 C1 rk.w(I)V (293 bytes) @ 0x02cc6708 [0x02cc6460+0x2a8]
    J 663% C1 rk.z(B)V (431 bytes) @ 0x02cdbea8 [0x02cdb9a0+0x508]
    j rk.run()V+3
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [jvm.dll+0x1473e5]
    V [jvm.dll+0x20d57e]
    V [jvm.dll+0x14747e]
    V [jvm.dll+0x147606]
    V [jvm.dll+0x147677]
    V [jvm.dll+0xf09df]
    V [jvm.dll+0x169acc]
    V [jvm.dll+0x16a35a]
    V [jvm.dll+0x1af0a6]
    C [msvcr100.dll+0x5c556]
    C [msvcr100.dll+0x5c600]
    C [KERNEL32.DLL+0x17c04]
    C [ntdll.dll+0x5ad1f]
    C [ntdll.dll+0x5acea]
    C 0x00000000

    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j jagdx.IDirect3DDevice.EndScene(J)I+0
    j ank.c(II)V+46
    J 1293 C1 db.d(B)V (31 bytes) @ 0x02f28004 [0x02f27fd0+0x34]
    J 640 C1 client.ap(I)V (1366 bytes) @ 0x02cc8e6c [0x02cc7e30+0x103c]
    J 639 C1 rk.w(I)V (293 bytes) @ 0x02cc6708 [0x02cc6460+0x2a8]
    J 663% C1 rk.z(B)V (431 bytes) @ 0x02cdbea8 [0x02cdb9a0+0x508]
    j rk.run()V+3
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub

    --------------- P R O C E S S ---------------

    Java Threads: ( => current thread )
    0x16871c00 JavaThread "Smart_Image_Transfer" daemon [_thread_blocked, id=6396, stack(0x19dc0000,0x19e10000)]
    0x16872800 JavaThread "pool-1-thread-2" [_thread_blocked, id=7296, stack(0x19480000,0x194d0000)]
    0x16876000 JavaThread "Thread-43" daemon [_thread_blocked, id=5432, stack(0x1be00000,0x1be50000)]
    0x16872000 JavaThread "Thread-42" daemon [_thread_in_native, id=7148, stack(0x1bd70000,0x1bdc0000)]
    0x16870800 JavaThread "Thread-14" daemon [_thread_in_native, id=1448, stack(0x192a0000,0x192f0000)]
    0x16873000 JavaThread "Thread-13" daemon [_thread_blocked, id=308, stack(0x19170000,0x191c0000)]
    0x16870400 JavaThread "Thread-12" daemon [_thread_blocked, id=3640, stack(0x190e0000,0x19130000)]
    0x16873c00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=5296, stack(0x18d80000,0x18dd0000)]
    0x167dfc00 JavaThread "pool-1-thread-1" [_thread_blocked, id=1740, stack(0x1b750000,0x1b7a0000)]
    0x167df400 JavaThread "Thread-8" daemon [_thread_blocked, id=6356, stack(0x1b630000,0x1b680000)]
    0x167e1400 JavaThread "Thread-7" daemon [_thread_blocked, id=2948, stack(0x1b5a0000,0x1b5f0000)]
    0x168dd800 JavaThread "Thread-6" daemon [_thread_blocked, id=5568, stack(0x1b410000,0x1b460000)]
    0x16724c00 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=7968, stack(0x1b000000,0x1b050000)]
    0x16666000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3012, stack(0x1a5d0000,0x1a620000)]
    0x1a7ff400 JavaThread "AWT-Shutdown" [_thread_blocked, id=5720, stack(0x1a540000,0x1a590000)]
    =>0x16580c00 JavaThread "Thread-4" daemon [_thread_in_native, id=2496, stack(0x1a4b0000,0x1a500000)]
    0x1a9f0c00 JavaThread "Thread-3" daemon [_thread_blocked, id=7772, stack(0x1a220000,0x1a270000)]
    0x1a9d0400 JavaThread "Thread-2" daemon [_thread_blocked, id=880, stack(0x1a190000,0x1a1e0000)]
    0x1687c400 JavaThread "Thread-1" daemon [_thread_blocked, id=3700, stack(0x174b0000,0x17500000)]
    0x1524f400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5924, stack(0x17540000,0x17590000)]
    0x1524d800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6568, stack(0x17420000,0x17470000)]
    0x150ad400 JavaThread "Service Thread" daemon [_thread_blocked, id=6708, stack(0x15530000,0x15580000)]
    0x15085c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6952, stack(0x154a0000,0x154f0000)]
    0x15084c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5104, stack(0x15410000,0x15460000)]
    0x15082c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5896, stack(0x15380000,0x153d0000)]
    0x15064800 JavaThread "Finalizer" daemon [_thread_blocked, id=5112, stack(0x152f0000,0x15340000)]
    0x02aee800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2532, stack(0x15260000,0x152b0000)]
    0x0117c000 JavaThread "main" [_thread_in_native, id=2616, stack(0x00fa0000,0x00ff0000)]

    Other Threads:
    0x02aea400 VMThread [stack: 0x04b80000,0x04bd0000] [id=2600]
    0x150b1000 WatcherThread [stack: 0x155c0000,0x15610000] [id=5224]

    VM state:not at safepoint (normal execution)

    VM Mutex/Monitor currently owned by a thread: None

    Heap:
    def new generation total 78656K, used 27986K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 40% used [0x04c00000, 0x06754b90, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 168162K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 96% used [0x0a150000, 0x145888c0, 0x14588a00, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K

    Card table byte_map: [0x04af0000,0x04b80000] byte_map_base: 0x04aca000

    Polling page: 0x00ee0000

    CodeCache: size=32768Kb used=11097Kb max_used=11184Kb free=21670Kb
    bounds [0x02af0000, 0x035e0000, 0x04af0000]
    total_blobs=2752 nmethods=2386 adapters=296
    compilation: enabled

    Compilation events (10 events):
    Event: 174.514 Thread 0x15085c00 2734 ade::be (169 bytes)
    Event: 174.515 Thread 0x15085c00 nmethod 2734 0x035dd908 code [0x035dda40, 0x035ddc8c]
    Event: 174.540 Thread 0x15085c00 2735 java.util.Arrays::binarySearch0 (95 bytes)
    Event: 174.540 Thread 0x15085c00 nmethod 2735 0x02c0e148 code [0x02c0e260, 0x02c0e3c8]
    Event: 174.542 Thread 0x15085c00 2736 sun.java2d.loops.GraphicsPrimitive::getUniqueID (5 bytes)
    Event: 174.542 Thread 0x15085c00 nmethod 2736 0x02c0df88 code [0x02c0e080, 0x02c0e100]
    Event: 174.545 Thread 0x15085c00 2737 s sun.java2d.loops.GraphicsPrimitiveMgr::locatePrim (96 bytes)
    Event: 174.546 Thread 0x15085c00 nmethod 2737 0x02bdd588 code [0x02bdd6c0, 0x02bddb6c]
    Event: 174.546 Thread 0x15085c00 2738 sun.java2d.loops.GraphicsPrimitiveMgr$2::compare (39 bytes)
    Event: 174.546 Thread 0x15085c00 nmethod 2738 0x02bdca48 code [0x02bdcb50, 0x02bdcc50]

    GC Heap History (10 events):
    Event: 173.173 GC heap before
    {Heap before GC invocations=52 (full 16):
    def new generation total 78656K, used 69952K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 146089K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 83% used [0x0a150000, 0x12ffa598, 0x12ffa600, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    Event: 173.263 GC heap after
    Heap after GC invocations=53 (full 17):
    def new generation total 78656K, used 0K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 124578K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 71% used [0x0a150000, 0x11af8980, 0x11af8a00, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    }
    Event: 173.477 GC heap before
    {Heap before GC invocations=53 (full 17):
    def new generation total 78656K, used 69952K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 124578K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 71% used [0x0a150000, 0x11af8980, 0x11af8a00, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    Event: 173.492 GC heap after
    Heap after GC invocations=54 (full 17):
    def new generation total 78656K, used 8703K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 99% used [0x09050000, 0x098cfff8, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 140524K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 80% used [0x0a150000, 0x12a8b058, 0x12a8b200, 0x14c00000)
    Metaspace used 19069K, capacity 19213K, committed 19328K, reserved 19840K
    }
    Event: 173.877 GC heap before
    {Heap before GC invocations=54 (full 17):
    def new generation total 78656K, used 78655K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 100% used [0x04c00000, 0x09050000, 0x09050000)
    from space 8704K, 99% used [0x09050000, 0x098cfff8, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 140524K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 80% used [0x0a150000, 0x12a8b070, 0x12a8b200, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    Event: 173.896 GC heap after
    Heap after GC invocations=55 (full 17):
    def new generation total 78656K, used 8703K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 99% used [0x098d0000, 0x0a14fff8, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 158619K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 90% used [0x0a150000, 0x13c36e48, 0x13c37000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    }
    Event: 173.897 GC heap before
    {Heap before GC invocations=55 (full 17):
    def new generation total 78656K, used 8706K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00830, 0x09050000)
    from space 8704K, 99% used [0x098d0000, 0x0a14fff8, 0x0a150000)
    to space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    tenured generation total 174784K, used 158619K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 90% used [0x0a150000, 0x13c36e48, 0x13c37000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    Event: 173.905 GC heap after
    Heap after GC invocations=56 (full 17):
    def new generation total 78656K, used 0K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 0% used [0x04c00000, 0x04c00000, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 167323K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 95% used [0x0a150000, 0x144b6e40, 0x144b7000, 0x14c00000)
    Metaspace used 19086K, capacity 19245K, committed 19328K, reserved 19840K
    }
    Event: 174.395 GC heap before
    {Heap before GC invocations=56 (full 17):
    def new generation total 78656K, used 69755K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 99% used [0x04c00000, 0x0901ed58, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 167323K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 95% used [0x0a150000, 0x144b6e40, 0x144b7000, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K
    Event: 174.507 GC heap after
    Heap after GC invocations=57 (full 18):
    def new generation total 78656K, used 23281K [0x04c00000, 0x0a150000, 0x0a150000)
    eden space 69952K, 33% used [0x04c00000, 0x062bc580, 0x09050000)
    from space 8704K, 0% used [0x09050000, 0x09050000, 0x098d0000)
    to space 8704K, 0% used [0x098d0000, 0x098d0000, 0x0a150000)
    tenured generation total 174784K, used 168162K [0x0a150000, 0x14c00000, 0x14c00000)
    the space 174784K, 96% used [0x0a150000, 0x145888c0, 0x14588a00, 0x14c00000)
    Metaspace used 19163K, capacity 19309K, committed 19456K, reserved 19840K
    }

    Deoptimization events (0 events):
    No events

    Internal exceptions (10 events):
    Event: 173.114 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x071061a0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.114 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07106850) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.558 Thread 0x16580c00 Implicit null exception at 0x02c00bd6 to 0x02c0125b
    Event: 173.579 Thread 0x16580c00 Implicit null exception at 0x0353f04b to 0x0354032c
    Event: 173.644 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07378810) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.645 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07378ec0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.726 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07b84588) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 173.727 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x07b84e20) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 174.326 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x08672c58) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]
    Event: 174.326 Thread 0x16580c00 Exception <a 'java/security/PrivilegedActionException'> (0x08673310) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u31\2394\hotspot\src\share\vm\prims\jvm .cpp, line 1312]

    Events (10 events):
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1ee08
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f148
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f448
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1f888
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c1fc88
    Event: 174.515 Thread 0x15085c00 flushing nmethod 0x02c20088
    Event: 174.539 Executing VM operation: BulkRevokeBias
    Event: 174.539 Executing VM operation: BulkRevokeBias done
    Event: 174.539 Executing VM operation: BulkRevokeBias
    Event: 174.539 Executing VM operation: BulkRevokeBias done


    Dynamic libraries:
    0x01060000 - 0x01090000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.exe
    0x77cc0000 - 0x77e2e000 C:\WINDOWS\SYSTEM32\ntdll.dll
    0x772e0000 - 0x77420000 C:\WINDOWS\SYSTEM32\KERNEL32.DLL
    0x77aa0000 - 0x77b77000 C:\WINDOWS\SYSTEM32\KERNELBASE.dll
    0x74770000 - 0x74810000 C:\WINDOWS\system32\apphelp.dll
    0x601d0000 - 0x60436000 C:\WINDOWS\AppPatch\AcGenral.DLL
    0x76c10000 - 0x76cd3000 C:\WINDOWS\SYSTEM32\msvcrt.dll
    0x77b80000 - 0x77bc1000 C:\WINDOWS\SYSTEM32\sechost.dll
    0x754c0000 - 0x754de000 C:\WINDOWS\SYSTEM32\SspiCli.dll
    0x76f70000 - 0x76fb5000 C:\WINDOWS\SYSTEM32\SHLWAPI.dll
    0x72140000 - 0x7222d000 C:\WINDOWS\SYSTEM32\UxTheme.dll
    0x77940000 - 0x77a93000 C:\WINDOWS\SYSTEM32\USER32.dll
    0x76d80000 - 0x76e8e000 C:\WINDOWS\SYSTEM32\GDI32.dll
    0x71ce0000 - 0x71d03000 C:\WINDOWS\SYSTEM32\WINMM.dll
    0x72280000 - 0x72293000 C:\WINDOWS\SYSTEM32\samcli.dll
    0x771b0000 - 0x772d8000 C:\WINDOWS\SYSTEM32\ole32.dll
    0x76ce0000 - 0x76d75000 C:\WINDOWS\SYSTEM32\OLEAUT32.dll
    0x6cd50000 - 0x6cd67000 C:\WINDOWS\SYSTEM32\MSACM32.dll
    0x75440000 - 0x75448000 C:\WINDOWS\SYSTEM32\VERSION.dll
    0x757e0000 - 0x76a8c000 C:\WINDOWS\SYSTEM32\SHELL32.dll
    0x74860000 - 0x7487b000 C:\WINDOWS\SYSTEM32\USERENV.dll
    0x72120000 - 0x7213a000 C:\WINDOWS\SYSTEM32\dwmapi.dll
    0x6f500000 - 0x6f64a000 C:\WINDOWS\SYSTEM32\urlmon.dll
    0x778c0000 - 0x7793c000 C:\WINDOWS\SYSTEM32\ADVAPI32.dll
    0x753d0000 - 0x75435000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
    0x71440000 - 0x71456000 C:\WINDOWS\SYSTEM32\MPR.dll
    0x775e0000 - 0x7769a000 C:\WINDOWS\SYSTEM32\RPCRT4.dll
    0x754b0000 - 0x754ba000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
    0x76a90000 - 0x76c0d000 C:\WINDOWS\SYSTEM32\combase.dll
    0x71cb0000 - 0x71cd3000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
    0x74810000 - 0x7481f000 C:\WINDOWS\SYSTEM32\profapi.dll
    0x74880000 - 0x74ab2000 C:\WINDOWS\SYSTEM32\iertutil.dll
    0x74ca0000 - 0x74e73000 C:\WINDOWS\SYSTEM32\WININET.dll
    0x75450000 - 0x754a4000 C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll
    0x76f20000 - 0x76f5c000 C:\WINDOWS\SYSTEM32\cfgmgr32.dll
    0x753a0000 - 0x753c1000 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
    0x735a0000 - 0x7362b000 C:\WINDOWS\SYSTEM32\SHCORE.DLL
    0x77180000 - 0x771a7000 C:\WINDOWS\system32\IMM32.DLL
    0x75600000 - 0x75712000 C:\WINDOWS\SYSTEM32\MSCTF.dll
    0x70940000 - 0x70b46000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17784_none_a9f4 97a901334c74\COMCTL32.dll
    0x6a310000 - 0x6a3cf000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\msvcr100.dll
    0x5dd90000 - 0x5e134000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\client\jvm.dll
    0x74f30000 - 0x74f38000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
    0x75720000 - 0x75726000 C:\WINDOWS\SYSTEM32\PSAPI.DLL
    0x75540000 - 0x75590000 C:\WINDOWS\SYSTEM32\WS2_32.dll
    0x77420000 - 0x77427000 C:\WINDOWS\SYSTEM32\NSI.dll
    0x6cd70000 - 0x6cd7c000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\verify.dll
    0x69840000 - 0x69861000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.dll
    0x69e50000 - 0x69e63000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\zip.dll
    0x6e600000 - 0x6e691000 C:\Simba\Plugins\libsmartjni32.dll
    0x69820000 - 0x69835000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\net.dll
    0x73160000 - 0x731ab000 C:\WINDOWS\system32\mswsock.dll
    0x6c550000 - 0x6c55f000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\nio.dll
    0x68540000 - 0x6861d000 C:\Simba\Plugins\OpenGL32.dll
    0x70b70000 - 0x70b95000 C:\WINDOWS\SYSTEM32\GLU32.DLL
    0x70260000 - 0x7033e000 C:\WINDOWS\system32\opengl32.dll
    0x6c200000 - 0x6c2ec000 C:\WINDOWS\SYSTEM32\DDRAW.dll
    0x72110000 - 0x72117000 C:\WINDOWS\SYSTEM32\DCIMAN32.dll
    0x15ed0000 - 0x15fa8000 C:\Simba\Plugins\d3d9.dll
    0x5ff30000 - 0x6012f000 C:\WINDOWS\SYSTEM32\d3dx9_43.dll
    0x6d9b0000 - 0x6db83000 C:\WINDOWS\system32\d3d9.dll
    0x74ac0000 - 0x74b3e000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
    0x73130000 - 0x73151000 C:\Program Files (x86)\Bonjour\mdnsNSP.dll
    0x74c80000 - 0x74ca0000 C:\WINDOWS\SYSTEM32\Iphlpapi.DLL
    0x74850000 - 0x74858000 C:\WINDOWS\SYSTEM32\WINNSI.DLL
    0x73120000 - 0x73128000 C:\Windows\System32\rasadhlp.dll
    0x72ac0000 - 0x72b06000 C:\WINDOWS\System32\fwpuclnt.dll
    0x61160000 - 0x612a6000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\awt.dll
    0x74490000 - 0x744a9000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll
    0x74460000 - 0x74490000 C:\WINDOWS\system32\rsaenh.dll
    0x74440000 - 0x7445e000 C:\WINDOWS\SYSTEM32\bcrypt.dll
    0x73700000 - 0x73713000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
    0x736e0000 - 0x736f4000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
    0x73e40000 - 0x73e49000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll
    0x664c0000 - 0x67231000 C:\WINDOWS\SYSTEM32\nvd3dum.dll
    0x17590000 - 0x176ca000 C:\WINDOWS\system32\nvspcap.dll
    0x73cb0000 - 0x73cf0000 C:\WINDOWS\system32\powrprof.dll
    0x6d480000 - 0x6d5ba000 C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll
    0x76fc0000 - 0x77171000 C:\WINDOWS\SYSTEM32\SETUPAPI.dll
    0x69800000 - 0x69820000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\sunec.dll
    0x72bd0000 - 0x72be1000 C:\WINDOWS\system32\napinsp.dll
    0x72bb0000 - 0x72bc6000 C:\WINDOWS\system32\pnrpnsp.dll
    0x72c60000 - 0x72c74000 C:\WINDOWS\system32\NLAapi.dll
    0x72b10000 - 0x72b1a000 C:\WINDOWS\System32\winrnr.dll
    0x72ab0000 - 0x72ac0000 C:\WINDOWS\system32\wshbth.dll
    0x697e0000 - 0x697f2000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\unpack.dll
    0x697a0000 - 0x697d9000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\fontmanager.dll
    0x69770000 - 0x697a0000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\t2k.dll
    0x69620000 - 0x69645000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jpeg.dll
    0x6b880000 - 0x6b88a000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jsound.dll
    0x6b560000 - 0x6b569000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jsoundds.dll
    0x6ceb0000 - 0x6cf31000 C:\WINDOWS\SYSTEM32\DSOUND.dll
    0x6cf70000 - 0x6cfc3000 C:\WINDOWS\SYSTEM32\MMDevAPI.DLL
    0x70800000 - 0x70836000 C:\WINDOWS\SYSTEM32\wdmaud.drv
    0x6f930000 - 0x6f937000 C:\WINDOWS\SYSTEM32\ksuser.dll
    0x6f920000 - 0x6f92a000 C:\WINDOWS\SYSTEM32\AVRT.dll
    0x6cd80000 - 0x6cde0000 C:\WINDOWS\SYSTEM32\AUDIOSES.DLL
    0x71ff0000 - 0x71ff9000 C:\WINDOWS\SYSTEM32\msacm32.drv
    0x70f80000 - 0x70f88000 C:\WINDOWS\SYSTEM32\midimap.dll
    0x76e90000 - 0x76f1d000 C:\WINDOWS\SYSTEM32\clbcatq.dll
    0x68f20000 - 0x68f46000 C:\Users\Ned\jagexcache\runescape\LIVE\jaclib.dll
    0x6a300000 - 0x6a306000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\jawt.dll
    0x72090000 - 0x7209d000 C:\WINDOWS\system32\wbem\wbemprox.dll
    0x720a0000 - 0x72106000 C:\WINDOWS\SYSTEM32\wbemcomn.dll
    0x71ad0000 - 0x71ae1000 C:\WINDOWS\system32\wbem\wbemsvc.dll
    0x71a00000 - 0x71ac4000 C:\WINDOWS\system32\wbem\fastprox.dll
    0x69760000 - 0x6976c000 C:\WINDOWS\system32\winbrand.dll
    0x77430000 - 0x7746d000 C:\WINDOWS\SYSTEM32\WINTRUST.dll
    0x77730000 - 0x778b8000 C:\WINDOWS\SYSTEM32\CRYPT32.dll
    0x75590000 - 0x7559e000 C:\WINDOWS\SYSTEM32\MSASN1.dll
    0x68f50000 - 0x69239000 C:\WINDOWS\system32\nvapi.dll
    0x69600000 - 0x6961a000 C:\Users\Ned\jagexcache\runescape\LIVE\jaggl.dll
    0x54a90000 - 0x56258000 C:\WINDOWS\SYSTEM32\nvoglv32.DLL
    0x73100000 - 0x7310f000 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
    0x75370000 - 0x75398000 C:\WINDOWS\SYSTEM32\ntmarta.dll
    0x730b0000 - 0x730f5000 C:\WINDOWS\SYSTEM32\WINSTA.dll
    0x68eb0000 - 0x68eba000 C:\Program Files (x86)\Java\jre1.8.0_25\bin\management.dll
    0x664a0000 - 0x664b6000 C:\Users\Ned\jagexcache\runescape\LIVE\jagdx.dll
    0x701d0000 - 0x701e6000 C:\WINDOWS\SYSTEM32\usp10.dll
    0x6b730000 - 0x6b871000 C:\WINDOWS\SYSTEM32\dbghelp.dll

    VM Arguments:
    jvm_args: -Xbootclasspath/p:C:/Simba/Plugins//smart.jar
    java_command: smart.Main C:/Simba/Plugins//libsmartjni32.dll http://world9.runescape.com/ ,f7649838988217813349 800 600 C:/Simba/Plugins/ OpenGL32.dll,d3d9.dll
    java_class_path (initial): .;C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
    Launcher Type: SUN_STANDARD

    Environment Variables:
    CLASSPATH=.;C:\Program Files (x86)\Java\jre1.8.0_31\lib\ext\QTJava.zip
    PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Jav a\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDO WS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerS hell\v1.0\;C:\Program Files (x86)\Common Files\Avid;C:\Program Files\Common Files\Avid;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd
    USERNAME=Ned
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel



    --------------- S Y S T E M ---------------

    OS: Windows 8.1 , 64 bit Build 9600

    CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, ht, tsc, tscinvbit, tscinv

    Memory: 4k page, physical 16681672k(13258348k free), swap 19172040k(14948508k free)

    vm_info: Java HotSpot(TM) Client VM (25.31-b07) for windows-x86 JRE (1.8.0_31-b13), built on Dec 17 2014 20:46:12 by "java_re" with MS VC++ 10.0 (VS2010)

    time: Sun May 24 00:24:54 2015
    elapsed time: 178 seconds (0d 0h 2m 58s)


    Yup. That's perfect. It's an Endscene crash:

    EndScene-Code

    C++ Code:
    HRESULT IDirect3DDevice9ProxyHook::EndScene()
    {
        if (font)
        {
            for (IDirect3DTexture9Proxy *tex : textures)
            {
                for (D3DXVECTOR3 &pt : tex->points)
                {
                    font->Draw(pt.x, pt.y, D3DCOLOR_XRGB(0, 0xFF, 0), "%", tex->ID);
                }

                tex->points.clear(); //crash here.. tex may be NULL.
            }

            for (IDirect3DVertexBuffer9Proxy *mod : models)
            {
                for (D3DXVECTOR3 &pt : mod->points)
                {
                    font->Draw(pt.x, pt.y, D3DCOLOR_XRGB(0xFF, 0, 0), "%", mod->ID);
                }

                mod->points.clear(); //crash here.. mod may be NULL.
            }
        }

        textures.clear();
        models.clear();
        return IDirect3DDevice9Proxy::EndScene();
    }


    Most likely it's my for-loops lol. I didn't check for NULL before calling "clear" (such a noob mistake ). I might even be able to speed it up more now that I know some textures are removed from the list (less to process) and do better rendering for larger screens (I'll try to turn that 40 into a 50 on larger resolutions). For now, I have a couple other things I want to complete as well.
    Last edited by Brandon; 05-24-2015 at 05:00 AM.
    I am Ggzz..
    Hackintosher

  9. #184
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Looks awesome Brandon. One thing that bothered me about OGL was that the repetitive (and seemingly useless) IDs such as 65539 in your test images clutter the screen. Can you add support for filtering them?

  10. #185
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Ross View Post
    Looks awesome Brandon. One thing that bothered me about OGL was that the repetitive (and seemingly useless) IDs such as 65539 in your test images clutter the screen. Can you add support for filtering them?

    Yeah you will be able to filter and/or remove them if you wish. You can also turn off rendering of certain models so those models aren't drawn on screen. Ex: Making a rock or character invisible but still being able to interact with it ;] but this functionality was just me playing around with things. I can guarantee the filtering of ID's but I may not allow you to remove models.

    But again, I want to focus on speed first as this is a speed beta test and rendering test. Once I know all is good for the majority of testers, I will move onto ID's and such.

    For now, I need ALL ID's to be on screen so we can know the limits of the plugin under stress that the current OpenGL one could not handle.
    Last edited by Brandon; 05-24-2015 at 04:59 AM.
    I am Ggzz..
    Hackintosher

  11. #186
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  12. #187
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Are we downloading the d3d9.dll from the OP? I get this when trying to spawn smart

    Yeah and that's fine. It prints that because I haven't enable the button for SMART yet. (IE: The "Enable Direct-X" button). It should still load it and should display everything.
    I am Ggzz..
    Hackintosher

  13. #188
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Yeah and that's fine. It prints that because I haven't enable the button for SMART yet. (IE: The "Enable Direct-X" button). It should still load it and should display everything.
    I mean the 2nd line, it actually fails to load the plugin. I just put the dll in the plugins folder, and ran

    Simba Code:
    program test;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    begin
      setupSRL();
    end.

  14. #189
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    I mean the 2nd line, it actually fails to load the plugin. I just put the dll in the plugins folder, and ran

    Simba Code:
    program test;
    {$DEFINE SMART}
    {$i srl-6/srl.simba}

    begin
      setupSRL();
    end.

    https://www.microsoft.com/en-us/down...ils.aspx?id=35

    You don't have d3dx which the plugin uses for drawing the ID's on screen. I didn't have time to remove the dependency.
    I am Ggzz..
    Hackintosher

  15. #190
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    I get this when it loads: https://i.imgur.com/FeJIfNP.png but everything displays fine, so maybe not something to worry about.
    Possibly not what you're wondering about, but for some reason SRL didn't detect that I was in the login screen.

    Other than that everything appears to work fine. Great work, as usual

  16. #191
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    https://www.microsoft.com/en-us/down...ils.aspx?id=35

    You don't have d3dx which the plugin uses for drawing the ID's on screen. I didn't have time to remove the dependency.
    Thanks, working now! Seems just as smooth as the dx plugin even with the drawing.


    Quote Originally Posted by BMWxi View Post
    I get this when it loads: https://i.imgur.com/FeJIfNP.png but everything displays fine, so maybe not something to worry about.
    Possibly not what you're wondering about, but for some reason SRL didn't detect that I was in the login screen.

    Other than that everything appears to work fine. Great work, as usual
    What would be cool is if it was compatable with srl so I could run a script for 24h with the drawing and see if there is any fps issues after a few hours.

  17. #192
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    I get this when it loads: https://i.imgur.com/FeJIfNP.png but everything displays fine, so maybe not something to worry about.
    Possibly not what you're wondering about, but for some reason SRL didn't detect that I was in the login screen.

    Other than that everything appears to work fine. Great work, as usual
    Ignore that. I added that so that I can detect older and newer graphics. Old versions of Direct-X may not have some functions but as long as it loads, it will not affect you in any way. New versions may have more or less functions as well.

    You should probably see the exact same error code when using the SRL Direct-X colour plugin as it's the same error logging/loading scheme (unless I forgot to enable it).

    A lot of people don't have that function so for SRL-6 I had disabled it (no side-effects): https://github.com/Brandon-T/DXI/blo...xports.cpp#L29

    SRL did not detect anything because SMART's interface is not enabled. Don't worry about all of this for now. What is the FPS like? Did it crash? Any logs?


    Quote Originally Posted by The Mayor View Post
    Thanks, working now! Seems just as smooth as the dx plugin even with the drawing.
    What would be cool is if it was compatable with srl so I could run a script for 24h with the drawing and see if there is any fps issues after a few hours.

    Good FPS? Did it crash? Any logs? You'll get to test lengthier times with scripts once the communication is enabled.
    Last edited by Brandon; 05-24-2015 at 06:03 AM.
    I am Ggzz..
    Hackintosher

  18. #193
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Ignore that. I added that so that I can detect older graphics. Old versions of Direct-X may not have some functions but as long as it loads, it will not affect you in any way.

    You should probably see the exact same error code when using the SRL Direct-X colour plugin as it's the same error logging/loading scheme (unless I forgot to enable it).

    SRL did not detect anything because SMART's interface is not enabled. What is the FPS like?





    Good FPS? You'll get to test lengthier times with scripts once the communication is enabled.
    Yea fps is great. It is actually less laggy drawing all the IDs when running around than OpenGL is without drawing anything (even the colour only openGL plugin).

    Looking forward to the enabled communication

  19. #194
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Ignore that. I added that so that I can detect older and newer graphics. Old versions of Direct-X may not have some functions but as long as it loads, it will not affect you in any way. New versions may have more or less functions as well.

    You should probably see the exact same error code when using the SRL Direct-X colour plugin as it's the same error logging/loading scheme (unless I forgot to enable it).

    A lot of people don't have that function so for SRL-6 I had disabled it (no side-effects): https://github.com/Brandon-T/DXI/blo...xports.cpp#L29

    SRL did not detect anything because SMART's interface is not enabled. Don't worry about all of this for now. What is the FPS like?
    FPS is great. No noticeable change from the normal plugin.

  20. #195
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Yeah you will be able to filter and/or remove them if you wish. You can also turn off rendering of certain models so those models aren't drawn on screen. Ex: Making a rock or character invisible but still being able to interact with it ;] but this functionality was just me playing around with things. I can guarantee the filtering of ID's but I may not allow you to remove models.

    But again, I want to focus on speed first as this is a speed beta test and rendering test. Once I know all is good for the majority of testers, I will move onto ID's and such.

    For now, I need ALL ID's to be on screen so we can know the limits of the plugin under stress that the current OpenGL one could not handle.
    So in the end we might even be able to not render any of the models, but still interact with them? That could lead to some serious power and resources savings.

    How long would it take you to update this whenever directx12 gets released?

    Great work as usual, will try the plug-in later!

  21. #196
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by lovebotter View Post
    So in the end we might even be able to not render any of the models, but still interact with them? That could lead to some serious power and resources savings.

    How long would it take you to update this whenever directx12 gets released?

    Great work as usual, will try the plug-in later!

    Yes you can disable the rendering of models but still interact with them for resource saving if I do add that.


    You're asking me an impossible question. "How long"? Remember this is done in my free-time only. Sometimes it seems like I take forever to make a release when in reality the total amount of code is about an hour of work. The current plugin on the OP has about 2 hours of work put in and most of that work is just wrappers (not hooks). Hooks are about 10 - 20 minutes of work. Once all the bases are hooked, hooks can take a couple seconds to a couple minutes. Calculations and math aren't part of the time taken. Those were already done and I usually have a bunch of files I just include into the project that were written prior to starting.

    Ex.. (ALL of the hooks code is in this one file -- not the wrappers):

    Code

    C++ Code:
    #include "IDirect3DDevice9ProxyHook.hxx"

    #include "Memory.hxx"
    #include "Graphics.hxx"
    #include "Math.hxx"
    #include "Export.hxx"


    //Todo: move back to Math.cxx
    D3DXVECTOR3 GetVertex(const std::uint8_t *vertices, std::int16_t index, std::uint16_t stride)
    {
        D3DXVECTOR3 res = {0};
        memcpy(&res.x, &vertices[index * stride], sizeof(float));
        memcpy(&res.y, &vertices[index * stride + sizeof(float)], sizeof(float));
        memcpy(&res.z, &vertices[index * stride + sizeof(float) * 2], sizeof(float));
        return res;
    }

    //Todo: move back to Math.cxx
    void GetVertices(std::vector<D3DXVECTOR3> &verts, IDirect3DVertexBuffer9 *VertexBuffer, IDirect3DIndexBuffer9 *IndexBuffer, std::uint32_t BaseVertexIndex, std::uint32_t StartIndex, std::uint32_t PrimCount, std::uint32_t Stride)
    {
        const std::uint8_t *vertices = NULL;
        const std::uint16_t *indices = NULL;
        UINT EndIndex = StartIndex + (PrimCount * 3);

        vertices = reinterpret_cast<const std::uint8_t*>(reinterpret_cast<IDirect3DVertexBuffer9Proxy*>(VertexBuffer)->InternalBuffer());
        indices = reinterpret_cast<const std::uint16_t*>(reinterpret_cast<IDirect3DIndexBuffer9Proxy*>(IndexBuffer)->InternalBuffer()) + PrimCount * 3 * sizeof(std::uint16_t);
        verts.resize(EndIndex - StartIndex);

        for (UINT I = StartIndex, J = 0; I < EndIndex; ++I, ++J)
        {
            verts[J] = GetVertex(vertices, indices[I] + BaseVertexIndex, Stride);
        }
    }

    //Todo: Move back to Math.cxx
    D3DXVECTOR3 IDirect3DDevice9ProxyHook::WorldToScreen(IDirect3DDevice9* pDevice, D3DXVECTOR3 in)
    {
        D3DXVECTOR3 out;
        IDirect3DDevice9Proxy::GetVertexShaderConstantF(0, reinterpret_cast<float*>(&wvp), 4);
        D3DXMatrixTranspose(&wvp, &wvp);
        D3DXVec3TransformCoord(&out, &in, &wvp);
        return D3DXVECTOR3((out.x + 1.0f) * vp.Width * 0.5f + vp.X, (1.0f - out.y) * vp.Height * 0.5f + vp.Y, out.z);
    }

    //Todo: Move back to Math.cxx
    D3DXVECTOR3 IDirect3DDevice9ProxyHook::WorldToScreen2(IDirect3DDevice9* pDevice, D3DXVECTOR3 in)
    {
        D3DXVECTOR3 out;
        D3DXVec3Project(&out, &in, &vp, &proj, &view, &world);
        return out;
    }


    //Hooks
    IDirect3DDevice9ProxyHook::IDirect3DDevice9ProxyHook(IDirect3DDevice9* pOriginal) : IDirect3DDevice9Proxy(pOriginal)
    {

    }

    IDirect3DDevice9ProxyHook::~IDirect3DDevice9ProxyHook()
    {

    }

    ULONG IDirect3DDevice9ProxyHook::AddRef()
    {
        ++references;
        return IDirect3DDevice9ProxyHook::AddRef();
    }

    ULONG IDirect3DDevice9ProxyHook::Release()
    {
        if (--references == 0)
        {
            font.reset(nullptr);
            pTexture = nullptr;
            pIndexBuffer = nullptr;
            pVertexBuffer = nullptr;
        }

        return IDirect3DDevice9ProxyHook::Release();
    }



    //Override rendering
    HRESULT IDirect3DDevice9ProxyHook::DrawPrimitive(D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount)
    {
        if (pTexture)
        {
            D3DXVECTOR3 vertex = WorldToScreen(pOriginal);

            pTexture->points.push_back(out);

            if (std::find(textures.begin(), textures.end(), pTexture) == textures.end())
            {
                textures.push_back(pTexture); //animated texture.
            }
        }
        return IDirect3DDevice9Proxy::DrawPrimitive(PrimitiveType, StartVertex, PrimitiveCount);
    }

    HRESULT IDirect3DDevice9ProxyHook::DrawIndexedPrimitive(D3DPRIMITIVETYPE PrimitiveType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount)
    {
        if (pTexture && pIndexBuffer && pVertexBuffer && (primCount == 2 || NumVertices == 4))
        {
            if (PrimitiveType == D3DPT_TRIANGLELIST)
            {
                DWORD fvf = 0;
                IDirect3DDevice9Proxy::GetFVF(&fvf);

                std::vector<D3DXVECTOR3> verts;

                            //Might be way more efficient to get the top left coord + the size / 2 for mid point.
                GetVertices(verts, pVertexBuffer, pIndexBuffer, BaseVertexIndex, startIndex, primCount, GVMath::CalculateStride(fvf));

                if (font && verts.size())
                {
                    D3DXVECTOR3 in = {(verts[0].x + verts[4].x) / 2.0f, (verts[0].y + verts[4].y) / 2.0f, 0};
                    D3DXVECTOR3 out = WorldToScreen2(this->Original(), in);

                    pTexture->points.push_back(out);

                    if (std::find(textures.begin(), textures.end(), pTexture) == textures.end())
                    {
                        textures.push_back(pTexture); //regular texture.
                    }
                }
            }
        }
        else if (pVertexBuffer)
        {
            unsigned int ID = GenId(PrimitiveType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
            D3DXVECTOR3 out = WorldToScreen(this->Original());

            pVertexBuffer->ID = ID;
            pVertexBuffer->points.push_back(out);

            if (std::find(models.begin(), models.end(), pVertexBuffer) == models.end())
            {
                models.push_back(pVertexBuffer); //model.
            }
        }
        return IDirect3DDevice9Proxy::DrawIndexedPrimitive(PrimitiveType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
    }

    HRESULT IDirect3DDevice9ProxyHook::BeginScene()
    {
        HRESULT res = IDirect3DDevice9Proxy::BeginScene();

        if (!font)
        {
            font.reset(new Font(this->Original(), "Arial", 8));
        }

        //Cache all matrices for speed once per frame or perhaps move this to once per load.
        IDirect3DDevice9Proxy::GetViewport(&vp);
        IDirect3DDevice9Proxy::GetTransform(D3DTS_VIEW, &view);
        IDirect3DDevice9Proxy::GetTransform(D3DTS_PROJECTION, &proj);
        IDirect3DDevice9Proxy::GetTransform(D3DTS_WORLD, &world);

        return res;
    }

    HRESULT IDirect3DDevice9ProxyHook::EndScene()
    {
        if (font)
        {
            for (IDirect3DTexture9Proxy *tex : textures) //todo: check if tex is null.
            {
                for (D3DXVECTOR3 &pt : tex->points)
                {
                    font->Draw(pt.x, pt.y, D3DCOLOR_XRGB(0, 0xFF, 0), "%", tex->ID);
                }

                tex->points.clear();
            }

            for (IDirect3DVertexBuffer9Proxy *mod : models) //todo: check if mod is null.
            {
                for (D3DXVECTOR3 &pt : mod->points)
                {
                    font->Draw(pt.x, pt.y, D3DCOLOR_XRGB(0xFF, 0, 0), "%", mod->ID);
                }

                mod->points.clear();
            }
        }

        textures.clear();
        models.clear();
        return IDirect3DDevice9Proxy::EndScene();
    }

    HRESULT IDirect3DDevice9ProxyHook::Reset(D3DPRESENT_PARAMETERS* pPresentationParameters)
    {
        if (font)
            font->OnLostDevice();

        HRESULT res = IDirect3DDevice9Proxy::Reset(pPresentationParameters);

        if (font)
            font->OnResetDevice();

        return res;
    }


    //Override creations
    HRESULT IDirect3DDevice9ProxyHook::CreateAdditionalSwapChain(D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DSwapChain9** pSwapChain)
    {
        HRESULT res = IDirect3DDevice9Proxy::CreateAdditionalSwapChain(pPresentationParameters, pSwapChain);
        if (res == D3D_OK)
        {
            *pSwapChain = new IDirect3DSwapChain9Proxy(*pSwapChain);
        }
        return res;
    }


    HRESULT IDirect3DDevice9ProxyHook::CreateTexture(UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9** ppTexture, HANDLE* pSharedHandle)
    {
        HRESULT res = IDirect3DDevice9Proxy::CreateTexture(Width, Height, Levels, Usage, Format, Pool, ppTexture, pSharedHandle);
        if (res == D3D_OK)
        {
            *ppTexture = new IDirect3DTexture9Proxy(*ppTexture, Width, Height, Format);
        }
        return res;
    }

    HRESULT IDirect3DDevice9ProxyHook::CreateVertexBuffer(UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9** ppVertexBuffer, HANDLE* pSharedHandle)
    {
        HRESULT res = IDirect3DDevice9Proxy::CreateVertexBuffer(Length, Usage, FVF, Pool, ppVertexBuffer, pSharedHandle);
        if (res == D3D_OK)
        {
            *ppVertexBuffer = new IDirect3DVertexBuffer9Proxy(*ppVertexBuffer, Length);
        }
        return res;
    }

    HRESULT IDirect3DDevice9ProxyHook::CreateIndexBuffer(UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9** ppIndexBuffer, HANDLE* pSharedHandle)
    {
        HRESULT res = IDirect3DDevice9Proxy::CreateIndexBuffer(Length, Usage, Format, Pool, ppIndexBuffer, pSharedHandle);
        if (res == D3D_OK)
        {
            *ppIndexBuffer = new IDirect3DIndexBuffer9Proxy(*ppIndexBuffer, Length);
        }
        return res;
    }


    //Override setters
    HRESULT IDirect3DDevice9ProxyHook::SetTexture(DWORD Stage, IDirect3DBaseTexture9* pTexture)
    {
        this->pTexture = nullptr;
        if (pTexture && pTexture->GetType() == D3DRTYPE_TEXTURE)
        {
            this->pTexture = static_cast<IDirect3DTexture9Proxy*>(pTexture);
            return IDirect3DDevice9Proxy::SetTexture(Stage, static_cast<IDirect3DTexture9Proxy*>(pTexture)->Original());
        }
        return IDirect3DDevice9Proxy::SetTexture(Stage, pTexture);
    }

    HRESULT IDirect3DDevice9ProxyHook::SetStreamSource(UINT StreamNumber, IDirect3DVertexBuffer9* pStreamData, UINT OffsetInBytes, UINT Stride)
    {
        this->pVertexBuffer = nullptr;
        if (pStreamData && pStreamData->GetType() == D3DRTYPE_VERTEXBUFFER)
        {
            this->pVertexBuffer = static_cast<IDirect3DVertexBuffer9Proxy*>(pStreamData);
            return IDirect3DDevice9Proxy::SetStreamSource(StreamNumber, static_cast<IDirect3DVertexBuffer9Proxy*>(pStreamData)->Original(), OffsetInBytes, Stride);
        }
        return IDirect3DDevice9Proxy::SetStreamSource(StreamNumber, pStreamData, OffsetInBytes, Stride);
    }

    HRESULT IDirect3DDevice9ProxyHook::SetIndices(IDirect3DIndexBuffer9* pIndexData)
    {
        this->pIndexBuffer = nullptr;
        if (pIndexData && pIndexData->GetType() == D3DRTYPE_INDEXBUFFER)
        {
            this->pIndexBuffer = static_cast<IDirect3DIndexBuffer9Proxy*>(pIndexData);
            return IDirect3DDevice9Proxy::SetIndices(static_cast<IDirect3DIndexBuffer9Proxy*>(pIndexData)->Original());
        }
        return IDirect3DDevice9Proxy::SetIndices(pIndexData);
    }


    //Override consumers
    HRESULT IDirect3DDevice9ProxyHook::GetSwapChain(UINT iSwapChain, IDirect3DSwapChain9** pSwapChain)
    {
        HRESULT res = IDirect3DDevice9Proxy::GetSwapChain(iSwapChain, pSwapChain);
        if (res == D3D_OK)
        {
            *pSwapChain = new IDirect3DSwapChain9Proxy(*pSwapChain);
        }
        return res;
    }

    HRESULT IDirect3DDevice9ProxyHook::ProcessVertices(UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9* pDestBuffer, IDirect3DVertexDeclaration9* pVertexDecl, DWORD Flags)
    {
        return IDirect3DDevice9Proxy::ProcessVertices(SrcStartIndex, DestIndex, VertexCount, static_cast<IDirect3DVertexBuffer9Proxy*>(pDestBuffer)->Original(), pVertexDecl, Flags);
    }



    Testing takes a while, wrappers take a couple minutes each. Overall, an update to Direct-X 12 is a different ball game but would take around the same amount of time. If I had one weekend free, I would be able to release a plugin with a ton of features.
    Last edited by Brandon; 05-24-2015 at 02:00 PM.
    I am Ggzz..
    Hackintosher

  22. #197
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    @Brandon
    I didn't mean for a time on it, was just wondering if you have anticipated on directx 12, and if you expect it to require allot of work to fix the plug-in

  23. #198
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by lovebotter View Post
    brandon[/brandon]
    I didn't mean for a time on it, was just wondering if you have anticipated on directx 12, and if you expect it to require allot of work to fix the plug-in
    Yeah I've been keeping up with Direct-X 12 (game programming). So long as the COMM interface doesn't change much from Direct-X 11 (and it most likely won't), then it won't take long to write a port.

    And I don't expect it to require a lot of work for a port at all. It's all just COMM and it's usually very simple. I've only been keeping up with what's on villavu in regards to the NXT client which will supposedly use Direct-X 12. It's C++ and ASM so it's my playground. I don't usually visit the RS website unless someone posts something interesting on here that caught my eye.


    All other code such as communication with Simba and the SMART interface would be the same (copy paste). Direct-X 11 is a lot easier than 9 as they provide a lot of built in things (especially for math, drawing, efficiency) and I expect 12 to be a lot easier than 11. Once you know one, you pretty much know all.
    Last edited by Brandon; 05-24-2015 at 02:58 PM.
    I am Ggzz..
    Hackintosher

  24. #199
    Join Date
    May 2012
    Posts
    499
    Mentioned
    23 Post(s)
    Quoted
    228 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    You'll get to test lengthier times with scripts once the communication is enabled.
    Have you perhaps had some free time to enable communication?
    I'm so impatient, I know...

    Also will we be able to read renderend text? Or just models/textures?

  25. #200
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by lovebotter View Post
    Have you perhaps had some free time to enable communication?
    I'm so impatient, I know...

    Also will we be able to read renderend text? Or just models/textures?

    I enabled communication last night. I have to test it first then I will do a release with a description of everything that needs to be tested by you guys. It seems like I may only be able to do a release every Sunday or Saturday until maybe next week or so.

    For the comment about "text" recognition. I know how it works and I have the logic for it written but it will be one of the very last features to be enabled. I say this because I got screwed royally in OpenGL with the text recognition (although I have a fix for it now), I'd like to do it correctly in Direct-X the first time around. In OpenGL, it was done in the dumbest way now that I look back on it.

    Direct-X uses the same kind of fonts for text: "textured fonts" aka "bitmap fonts" and the algorithm is the same as the new OpenGL algorithm but I want to make sure it is 10000% right and fast. You can see information about the new way of doing it on the OpenGL thread.


    I've also been working on getting rid of the D3DX dependency and writing my own algorithms which is just as fast for matrix multiplication, projection/unprojection, etc.. D3DX dependency requires the user to install the Direct-X end-user runtime. (See The Mayor's installation problem above).

    For now, I will enable communication for the back-buffer so that Simba/SMART can read colours, models and textures.
    Last edited by Brandon; 05-31-2015 at 02:02 PM.
    I am Ggzz..
    Hackintosher

Page 8 of 10 FirstFirst ... 678910 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •