Page 5 of 10 FirstFirst ... 34567 ... LastLast
Results 101 to 125 of 239

Thread: Direct-X Plugin (Beta)

  1. #101
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    never encountered this
    Go do a lap around the ape atoll agility course, it's pretty ridiculous


    And awesome job Brandon keep it up man

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

    Default

    This is nice Brandon! the plugin woks great. It looks like all the colors are the same too, so no need to rewrite anything No more minimap disappearing and zoom glitches! Is it possible to have another mouse cursor (apart from the red dot)

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

    Default

    The new version or d3d9 I downloaded doesn't seem to draw on SMART, but the old version I had a few days ago did (unless I've somehow mixed them up or something?).

  4. #104
    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
    The new version or d3d9 I downloaded doesn't seem to draw on SMART, but the old version I had a few days ago did (unless I've somehow mixed them up or something?).
    Are you sure? Did it not draw the mouse or anything? If so, I'll check it out again. Maybe I uploaded the wrong dll. Anyway, make sure debug is on. Should look like what's on the main post.
    I am Ggzz..
    Hackintosher

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

    Default

    With the mouse addition this is perfect, thank you so much man.
    Edit: @Brandon can confirm the not drawing issue w/ the new dll. DirectX debug is on with no drawing occurring. Used the old plugin minutes ago with no issues.
    Last edited by Clarity; 02-03-2014 at 01:47 PM.

  6. #106
    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
    With the mouse addition this is perfect, thank you so much man.
    Edit: @Brandon can confirm the not drawing issue w/ the new dll. DirectX debug is on with no drawing occurring. Used the old plugin minutes ago with no issues.
    So it draws the mouse but not any debug stuff? If that is the case, I need to remove a line of code.
    I am Ggzz..
    Hackintosher

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

  8. #108
    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
    yeah.
    Very nice! Perfect description. Was hoping it won't be bad. Just gotta move a silly line of code and I'll upload it.. When I get home though. Stuck in this shitty Linux Fedora class doing nothing..
    I am Ggzz..
    Hackintosher

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

    Default

    Yeah I'm not sure if this is just me, but running my scripts in DirectX is like 10x smoother with much higher FPS. Not sure if this is just the FPS I see vs the FPS SMART sees, but it just looks a ton cleaner. And no more zooming in glitch which means...dungeoneering is coming...

  10. #110
    Join Date
    Jan 2014
    Location
    Error: Data Unavailable
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Still doesn't work for me... Just sits there waiting for rs to load... I tried each setting no luck
    All I have to add to my script is this line of code right??
    Simba Code:
    smartPlugins := ['d3d9.dll'];
    Last edited by Reflector; 02-04-2014 at 09:49 AM.

  11. #111
    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 Reflector View Post
    Still doesn't work for me... Just sits there waiting for rs to load... I tried each setting no luck
    All I have to add to my script is this line of code right??
    Simba Code:
    smartPlugins := ['d3d9.dll'];
    And you actually have to change your graphics settings on rs before you load smart.

  12. #112
    Join Date
    Jan 2014
    Location
    Error: Data Unavailable
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    Tried it... Still not working Could it be Java?? When I loaded the game in browser, it said I had an outdated version of Java so is it because of that?

    EDIT: Tried re-installing Java and Simba, and the plugin.. Still not working
    Last edited by Reflector; 02-04-2014 at 03:55 PM.

  13. #113
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    this works great and resolves the minimap issues...

    I kind of need debug working though.

    Thanks brandon

  14. #114
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Reflector View Post
    Tried it... Still not working Could it be Java?? When I loaded the game in browser, it said I had an outdated version of Java so is it because of that?

    EDIT: Tried re-installing Java and Simba, and the plugin.. Still not working
    Well, nobody can help you if you just say 'it's not working'

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

    Default

    Quote Originally Posted by Reflector View Post
    Tried it... Still not working Could it be Java?? When I loaded the game in browser, it said I had an outdated version of Java so is it because of that?

    EDIT: Tried re-installing Java and Simba, and the plugin.. Still not working
    There are currently problems even getting runescape to load.. I personally cannot get SMART into safemode in order to switch graphics modes.. I ended up having to get into safemode on my browser and then switch to directx there.. Then I switched to Smart..

    I also got that stupid Java problem as well.. I reinstalled Java like 5 times.. The first 4 times I used java that I downloaded myself.. it failed. I used the one on the RS page when you get that silly notification.. it worked :S

    Anyway, I think it was just my Java.. then again, if you even attempt to get into OpenGL mode atm, WITHOUT the plugin, it will freeze and if you try it in Smart, it will print "jaggl Exception in glDeleteTextures".. Not actually sure how the hell Jagex managed to mess up their own OpenGL wrapper.

    Just in case some of you were wondering, no it's not my OpenGL plugin which works fine btw.. Why? Because my plugin does NOT use any textures..

    So for the guy I'm currently replying to, either wait a while until Jagex fixes the client OR get into safemode in your browser and switch modes from there. As to why SMART won't go into safemode for me, I have NO idea at all..


    Quote Originally Posted by Clarity View Post
    Yeah I'm not sure if this is just me, but running my scripts in DirectX is like 10x smoother with much higher FPS. Not sure if this is just the FPS I see vs the FPS SMART sees, but it just looks a ton cleaner. And no more zooming in glitch which means...dungeoneering is coming...
    Quote Originally Posted by footballjds View Post
    this works great and resolves the minimap issues...

    I kind of need debug working though.

    Thanks brandon

    I just installed Java on my friend's laptop to test this plugin.. It is a very slight hardware difference between my laptop and you guys computers.. So my only alternative was to either test on my school computer or a friend's..

    Anyway, the difference is pretty retarded.. Basically on my computer, I can let textures auto-delete whenever the game resets the canvas.. However for you guys (including the laptop I tested it on), I must manually delete the texture every frame which means I must also create the texture every frame..

    THUS I will NOT be drafting this as a release (on my github that is) because it is a test plugin. I need to make sure it works for all of you before anything more.

    Secondly, I need to know if it is slow or laggy when drawing. Why? Because I'm now having to create a texture every frame (just like in OpenGL) and delete it every frame.. For you guys that is. Not sure why myself and Olly who also tested it don't have to do this :S

    Anyway, as a temporary fix until I get some "real time" to work on a better fix, use this instead: d3d9.zip
    It really shouldn't lag as my friend's comp is pretty shit and it doesn't seem to lag at all.


    And no, it's not a "bad" fix at all. It's just "temporary" as I don't have enough time to investigate it atm.. Probably will do on the weekend. The above should definitely work though.

    For those of you who like to see the different in source:

    http://www.diffchecker.com/kjz42ma7

    Yes that's right.. a one line difference.. Sorry it took so long to do..
    Last edited by Brandon; 02-05-2014 at 01:57 AM.
    I am Ggzz..
    Hackintosher

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

  17. #117
    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
    Interesting. I wonder if there's some random driver I could download that would fix it. Thanks for the detailed explanation.
    Most likely not. Seeing as it happened to more than one person with the exception of Olly and myself, I'd say it's just different function calls..

    For example, the previous plugin would delete the texture in Proxy::Reset();

    But for you guys, it seems that function may not be called.. Well it seems to be called once at the start of loading which is why it drew nothing because it was deleted already.

    For us, it wasn't deleted until Smart was closed. That's the difference. Don't bother or worry about drivers or anything. It's just the way the game makes calls and the order it is made in..

    Of course, I'll need to debug it to confirm the above (reset not being called by the game itself) but I'll do that on the weekend.. Too much homework and crap to do atm..

    Anyway, if you can, let me know if it draws fine for you now. Both mouse & debug.
    I am Ggzz..
    Hackintosher

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

    Default

    Quote Originally Posted by Brandon View Post
    Anyway, if you can, let me know if it draws fine for you now. Both mouse & debug.
    Both are working fine now, thanks so much!



    Alhtough there are instances where the debug disappears into some kind of blackness (like the everything being drawn turns black/semi transparent and then fades in and out). Not sure if that's just me or not.

    Edit: got a pic of the weird semi-transparency:
    Last edited by Clarity; 02-05-2014 at 02:14 AM.

  19. #119
    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
    Both are working fine now, thanks so much!


    Alhtough there are instances where the debug disappears into some kind of blackness (like the everything being drawn turns black/semi transparent and then fades in and out). Not sure if that's just me or not.

    Edit: got a pic of the weird semi-transparency.
    Cool. Not a problem. Just another one liner again.. Gotta remove:
    Code:
    SetRenderState(D3DRS_ALPHABLENDENABLE, TRUE);
    or set it to FALSE.

    I'll do it later. Don't wanna recompile it atm lol. But yeah. No lag or anything though right? Hopefully.
    Glad to see it finally working good for you guys though. Thank you for your responses. Really helps and helped a lot! Nice and quick too.
    I am Ggzz..
    Hackintosher

  20. #120
    Join Date
    Jan 2014
    Location
    Error: Data Unavailable
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    12 Post(s)

    Default

    @Officer Barbrady That's all I get from the debug haha... It says plugin 'd3d9.dll' loaded successfully and my SMART client has the DirectX buttons and all then it says 'Waiting for Runescape to load ...' and the '1 minute has passed ...' and it just continues till 5 minutes and then quits

    @Brandon All right I'll try that... Thanks!

  21. #121
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Brandon,

    I noticed SRL respawned a smart client but it said it never loaded. (it did though) I'm wondering whose bug this is.

    (using your temp/latest directX plugin)

  22. #122
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Just commenting to let you know that I was successfully using the DirectX plugin perfectly fine (after a restart of course, and the one line of plugin change in any script wanting it). Was using the v0.3 - not the latest uncompiled code.

    Unrelated to Quality of Life of the current public plugin, is the Import Address Table for functions, objects, or both?

  23. #123
    Join Date
    Jul 2012
    Location
    Australia
    Posts
    136
    Mentioned
    0 Post(s)
    Quoted
    57 Post(s)

    Default

    Quote Originally Posted by Reflector View Post
    Still doesn't work for me... Just sits there waiting for rs to load... I tried each setting no luck
    All I have to add to my script is this line of code right??
    Simba Code:
    smartPlugins := ['d3d9.dll'];
    So where in my script do I actually have to place this? Doesn't seem to like it anywhere I put it.

  24. #124
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by Desirousphere View Post
    So where in my script do I actually have to place this? Doesn't seem to like it anywhere I put it.
    Throw it as the first line after the last begin.

  25. #125
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by Reflector View Post
    That's all I get from the debug haha... It says plugin 'd3d9.dll' loaded successfully and my SMART client has the DirectX buttons and all then it says 'Waiting for Runescape to load ...' and the '1 minute has passed ...' and it just continues till 5 minutes and then quits
    sounds like your runescape isnt set to DirectX mode...

Page 5 of 10 FirstFirst ... 34567 ... 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
  •