SRL Archive - Reflection Development

Interfaces debugger: Reflection 2 tool


masterBB

2011-05-24 13:10:09

Interfaces debugger
Debugs interfaces

Update 25-5-2011
-added search option(very slow)
-added green child painting and red component painting

Reflection 2 isn't finished yet. But here is my almost completed interface debugger. It's comparable with rsbuddy's interface explorer.

It's not yet completed so it may spam you debug a bit. It uses a form for easy navigation. If smart debug is on, it will paint the current selected child component or interface component with a red color. Displays name, options and more.


Features:
  1. Displaying basic info about the child or component in the right list
  2. Displaying all info in the debug
  3. Painting the current sellected child or component red
  4. Adds the "new" tag to interfaces that were retrieved and were not on the old list
  5. Kicks ass


Please post suggestion and critics, so I can improve this tool.


Credits to smok3 for his form, learned a lot from his script.

mormonman

2011-05-24 13:25:54

Good work.

Gu3st...

2011-05-24 13:31:07

Perhaps make it show parent interfaces too? (In other colors like green or so) :)

Good job!

Echo_

2011-05-24 13:31:22

I just came

Runescape Pro

2011-05-24 13:32:23

It kicks ass? Good stuff! This will help with banking but what else?

masterBB

2011-05-24 13:38:38

From: Runescape Pro
It kicks ass? Good stuff! This will help with banking but what else?


A lot, fairy teleports, anti randoms, everything right of the screen(inv, equipment, etc), and so much more….

Runescape Pro

2011-05-24 13:42:48

Oh… I didn't even think about fairy teleports! Anti randoms too.

footballjds

2011-05-24 13:49:07

From: Runescape Pro
Oh… I didn't even think about fairy teleports! Anti randoms too.


skills, combat style, spells, xp, fucking everything :D



Suggestion:
Make the text searchable. For instance, i would love to be able to search for "willow" and find the 20 different ones then sort through 743, 23, 1, 3 to find it :p

<3 very nice work.

Runescape Pro

2011-05-24 13:51:07

"Suggestion:
Make the text searchable. For instance, i would love to be able to search for "willow" and find the 20 different ones then sort through 743, 23, 1, 3 to find it"

What are those numbers for? I'm confused. Are you talking about this tool still? I can't wait til this is all finished.

footballjds

2011-05-24 14:03:06

From: Runescape Pro
"Suggestion:
Make the text searchable. For instance, i would love to be able to search for "willow" and find the 20 different ones then sort through 743, 23, 1, 3 to find it"

What are those numbers for? I'm confused. Are you talking about this tool still? I can't wait til this is all finished.


okay, they were hypothetical number referring to the parent/child ID.
rather then having to click through all the parent/child ID's we should come up with a more intuitive way to search/sort (:

masterBB

2011-05-24 14:06:34

From: Runescape Pro
"Suggestion:
Make the text searchable. For instance, i would love to be able to search for "willow" and find the 20 different ones then sort through 743, 23, 1, 3 to find it"

What are those numbers for? I'm confused. Are you talking about this tool still? I can't wait til this is all finished.


I'm going to write a tutorial later on. In this example: You got an parent: the bankscreen. On the bank screen you got a lot of childs, tabs etc, but also the area with all you stuff, and every item has its own component.

Bankscreen number is 762.
Item area number is 93.
Item number is 3. <- for the willow logs.

Some sort of route to the information you need.

From: footballjds
skills, combat style, spells, xp, fucking everything :D



Suggestion:
Make the text searchable. For instance, i would love to be able to search for "willow" and find the 20 different ones then sort through 743, 23, 1, 3 to find it :p

<3 very nice work.


Will look into this. Will add this today or tomorrow.

From: Zyt3x
Perhaps make it show parent interfaces too? (In other colors like green or so) :)

Good job!


Will add that today!

BazzBarrett

2011-05-24 15:16:12

looks realy nice, but i keep getting [Error] (30:34): Unknown type 'TInterfaceComponent' at line 29. im new to interfaces in reflection so what is it and how do i fix it?

Runescape Pro

2011-05-24 15:31:42

Nice. Thanks for the explanation. I would still enjoy a tut with the actual numbers. Much appreciated!

Floor66

2011-05-24 15:41:07

Does this return actual x and y coords of the item aswell?

Gu3st...

2011-05-24 15:42:13

From: BazzBarrett
looks realy nice, but i keep getting [Error] (30:34): Unknown type 'TInterfaceComponent' at line 29. im new to interfaces in reflection so what is it and how do i fix it?
drags111 changed TInterfaceComponent to TChild

YoHoJo

2011-05-24 16:33:59

Love it! It's awesome and a really helpful feature, but I assume you need to have your own smart open for this separate from the one your script is using?
Ex: Use this script on a 'dummy' account to get interfaces, while having your other SMART/Simba Script going with your 'real' account to test the script?


http://villavu.com/forum/showthread.php?t=64461 !!! > : (

Naike

2011-05-24 16:50:04

Baws.

Rep+

masterBB

2011-05-24 17:40:40

From: Zyt3x
drags111 changed TInterfaceComponent to TChild


What version are you using? The one on github still uses TInterfaceComponent…
https://github.com/Drags111/Reflection_Dev/blob/master/lib/core/interfaces.simba

From: YoHoJo
Love it! It's awesome and a really helpful feature, but I assume you need to have your own smart open for this separate from the one your script is using?
Ex: Use this script on a 'dummy' account to get interfaces, while having your other SMART/Simba Script going with your 'real' account to test the script?


http://villavu.com/forum/showthread.php?t=64461 !!! > : (


No you don't. I just make simba small and put it in the left corner. This way you can have the form working next to the SMART screen. Then just switch enable on/off for the debug paint to work.

Gu3st...

2011-05-24 18:20:18

From: masterBB
What version are you using? The one on github still uses TInterfaceComponent…
https://github.com/Drags111/Reflection_Dev/blob/master/lib/core/interfaces.simba
All I know is that he said that to me, and that Bazz got a missing type

masterBB

2011-05-24 19:03:25

Almost finished with the searching part. Gonna sleep, will be done tomorrow.

Thanks for all the comments!

Jakkle

2011-05-24 19:25:51

This is just what I'm looking for :thumbsup: , grate work masterBB rep+ :D

masterBB

2011-05-25 06:25:24

UPDATED

Added all requests.

Anyone knows a faster way to search through all the interfaces? This is incredible slow….

BazzBarrett

2011-05-25 07:43:15

Got it to work. I pulled the includes off github, before i was just using the reflection updater in simba. and can i say this is brilliant ive wanted something like this for ages :)

masterBB

2011-05-25 08:11:43

I hate it how slow this script is… Searching takes ages, and makes the script a bit unreliable.. do you also experience those problems?
Update
Red and green colors work better now, also updated the script to the newest version of reflection 2.

masterBB

2011-05-26 17:13:40

update
New version of reflection 2

sm0k3

2011-05-26 23:21:52

i havent tryd the script as i havent got hold of reflection2 yet

but i have looked through the Script and seen the screenies nd i love it :)

you did alovely job with the form . and the scripts well written
cant wait to try it

+1

pyroryan

2011-05-27 00:42:28

Tons of changes made to interfaces, so this will have to be updated. Absolute coordinates for interfaces should be fully functional now.

grats

2011-05-27 00:47:45

wow rep+ amazing work.. these are great times on the SRL forums

masterBB

2011-05-27 04:49:41

From: pyroryan
Tons of changes made to interfaces, so this will have to be updated. Absolute coordinates for interfaces should be fully functional now.


I like how absolute bounds have comeback!

Script is working again, but with a modified version of ref 2. Cause it is not usable in its current version. Added all includes in reflection.simba. Also did this so I'm my script doesn't keeps getting outdated every 3-4 hours.

Will upload it and place link in OP.

Awkwardsaw

2011-06-27 16:04:53

So does this still work? I require the use of interfaces :)

Rich

2011-06-27 16:18:51

From: Awkwardsaw
So does this still work? I require the use of interfaces :)
I don't think there's any reason for it not to. Give it a shot and see.

Drakan

2011-07-04 13:32:17

Theres one in the ref2 git under tools

Jakkle

2011-07-04 13:40:04

I get this error when compiling
[Error] (55:33): Unknown type 'TRSChild' at line 54
Compiling failed.

masterBB

2011-07-04 14:00:52

From: whacko999
I get this error when compiling
[Error] (55:33): Unknown type 'TRSChild' at line 54
Compiling failed.


I will update it, give me 15 minutes.

masterBB

2011-07-04 14:24:49

Update in 5 seconds, search doesn't work for now. Simba will freeze upon use of it. Naming of function and vars is terrible, I also went from reflection 2 -> 2-1. So download the right version of reflection(2_1 not 2).