Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hey mate, I was looking over your "finding clientmode pointer" tutorial.
- [11:31:15 PM] Snorflake | Aria: yea
- [11:31:35 PM] Cepg: Thanks for it btw, it helped me alot. Now I was wondering if you could do the same thing for IPanel
- [11:31:43 PM] Snorflake | Aria: o.o
- [11:31:46 PM] Snorflake | Aria: just get the interface like anything else
- [11:31:57 PM] Cepg: With the interface function you say?
- [11:31:59 PM] Snorflake | Aria: its in vgui.dll
- [11:32:02 PM] Snorflake | Aria: its called VGUI_Panel
- [11:32:04 PM] Snorflake | Aria: find the version urself
- [11:32:08 PM] Cepg: I know I know, thats not the problem
- [11:32:31 PM] Cepg: You know, calling the interface from vgui2.dll returns you a pointer to the VMT
- [11:33:00 PM] Snorflake | Aria: yeah
- [11:33:10 PM] Snorflake | Aria: wat
- [11:33:15 PM] Snorflake | Aria: its the same as any other interface??
- [11:33:23 PM] Cepg: Sure BUT
- [11:33:33 PM] Cepg: If you follow the clientmode pointer
- [11:33:46 PM] Snorflake | Aria: bro i gave you perfectly good code for getting interfaces
- [11:33:52 PM] Snorflake | Aria: just use that but for VGUI_Panel
- [11:34:04 PM] Cepg: I have a working painttraverse hook btw
- [11:34:10 PM] Cepg: But I don't want to use virtualprotect
- [11:34:31 PM] Snorflake | Aria: then dont
- [11:34:50 PM] Cepg: Which would be doable if I could do the same thing as you did for clientmode with ipanel
- [11:35:02 PM] Snorflake | Aria: you have no idea what you're talking about
- [11:36:01 PM] Snorflake | Aria: w
- [11:36:02 PM] Snorflake | Aria: dude
- [11:36:06 PM] Snorflake | Aria: its not fucking hard?
- [11:36:13 PM] Snorflake | Aria: Do it the same way you do PaintTraverse
- [11:36:33 PM] Snorflake | Aria: wtf
- [11:36:34 PM] Snorflake | Aria: Wtf
- [11:36:34 PM] Snorflake | Aria: wtf
- [11:36:35 PM] Snorflake | Aria: WTF
- [11:36:37 PM] Snorflake | Aria: DUDE
- [11:36:43 PM] Cepg: What
- [11:36:43 PM] Snorflake | Aria: facepalm
- [11:36:48 PM] Snorflake | Aria: hardcoding the interface
- [11:36:59 PM] Snorflake | Aria: is no different
- [11:37:05 PM] Snorflake | Aria: to using CreateInterface
- [11:37:41 PM] Cepg: I dont think you understand. I can't use the createinterface if I wanna change the vtable pointer.
- [11:37:52 PM] Cepg: Because the createinterface function returns the vtable pointer.
- [11:38:01 PM] Snorflake | Aria: so?
- [11:38:12 PM] Snorflake | Aria: i use createinterface and i change the vtable pointer
- [11:38:23 PM] Cepg: Thats not possible.
- [11:38:33 PM] Snorflake | Aria: lmfao
- [11:38:38 PM] Snorflake | Aria: you're unhelpable
- [11:40:51 PM] Cepg: I dont think thats true. What you're saying is not possible. The address the Createinterface function returns is the pointer that I want to change.. How can you overwrite a pointer which is returned by a function.
- [11:41:10 PM] Snorflake | Aria: its returning you a fucking address
- [11:41:10 PM] Cepg: Dereference the pointer once and youre in the Vtable
- [11:41:16 PM] Snorflake | Aria: learn pointers
- [11:41:30 PM] Snorflake | Aria: http://www.cplusplus.com/doc/tutorial/pointers/
- [11:42:12 PM] Cepg: You know when you dereference clientmode pointer once youre not in the actual vtable.
- [11:42:27 PM] Snorflake | Aria: holy shit
- [11:42:27 PM] Snorflake | Aria: http://www.cplusplus.com/doc/tutorial/pointers/
- [11:42:29 PM] Snorflake | Aria: read the fucking page
- [11:42:30 PM] Snorflake | Aria: please
- [11:42:33 PM] Snorflake | Aria: before you say anything more
- [11:42:40 PM] Snorflake | Aria: if you dont understand it read it again
- [11:43:57 PM] Cepg: Still, if you dereference it once, you're not in the vtable. You're in the actual object that holds the vtable pointer. But you seem pretty angry with my "stupidity" so I'm not gonna bother you.
- [11:44:06 PM] Snorflake | Aria: holy
- [11:44:07 PM] Snorflake | Aria: fucking
- [11:44:08 PM] Snorflake | Aria: shit
- [11:44:09 PM] Snorflake | Aria: lmfao
- [11:44:13 PM] Snorflake | Aria: this is going on pastebin...
- [11:44:21 PM] Cepg: Alright
Advertisement
Add Comment
Please, Sign In to add comment