Red & Green Salamander Hunter // Construction // Gilded Altar // Major help w/ Kyles Runespan // VWB Smither // PhoenixFeathers // GemCutter // Bonfire // LRC Miner // Spell Tab Maker // ApeAtollAgility // IvyWC // RoguesCooker // Herblore // AshamanButterfly // AshamanPowerMiner // Fletcher // LividFarm
This is nice Brandon! the plugin woks great. It looks like all the colors are the same too, so no need to rewrite anythingNo more minimap disappearing and zoom glitches! Is it possible to have another mouse cursor (apart from the red dot)
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?).
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.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
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...
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
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.
Tried it... Still not workingCould 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.
this works great and resolves the minimap issues...
I kind of need debug working though.
Thanks brandon
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..
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
Interesting. I wonder if there's some random driver I could download that would fix it. Thanks for the detailed explanation.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
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
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.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Cool. Not a problem. Just another one liner again.. Gotta remove:or set it to FALSE.Code:SetRenderState(D3DRS_ALPHABLENDENABLE, TRUE);
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
@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!![]()
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)
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?
My Outdated ScriptsEdgeville Log Cutter | Edgeville AIO Jewelry | AIO Pickpocketer | Urn Activator | Slayer Tower | Slaying KuradalMy Working Scripts: Tutorials:Function Pointers and Why You Should Care! | Forms and Saving Settings | The Magic Behind Programming Tutorial | Recursive Recursion![]()
My Outdated ScriptsEdgeville Log Cutter | Edgeville AIO Jewelry | AIO Pickpocketer | Urn Activator | Slayer Tower | Slaying KuradalMy Working Scripts: Tutorials:Function Pointers and Why You Should Care! | Forms and Saving Settings | The Magic Behind Programming Tutorial | Recursive Recursion![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)