-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Hi. For last few days i have been trying to do this and finaly it is working. I used the same example as Stiju - Allys and Enemys but added interface into context menu. Also I it includes nice example (PLAYER_STATUS = ICONS) of using structs instead of pointers to every value.
For all C# and VB coders there is one problem: as i code in c++ it was very comfort to put all code inside DLL - and i have no idea how to use it from external application. But probably someone here is able to make it usable with your apps.
http://i36.tinypic.com/zl4tw6.png
Note that i used Dev-cpp(gcc) to compile it. In other compilers you probably will be forced to make few changes with asm. If someone has idea how to write this without using asm... you know rest. :P
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Holy crap. Nice! TT+ will be working on including this, if you do not mind (with credits to you of course) and it should be in TibiaAPI soon!
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
good work dude, thx for sharing with the community ^^.
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Very nice Noxitu, keep up the good work!
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
WOW Nice! Ill check it out
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Great :) Really nice, well done =D
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Yeah awesome! Don't you mind if I port that to TA? (If you mind, I'll figure it out by myself and implement it to TA). You'd be just saving my time :).
And REP+ totally gained!
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Great Job Noxitu, that looks good REP+
Sincerely,
Yours Pablol
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Thanks for all comments. :D And of couse it is posted on open source board because I wanted to allow all community to use it. :P
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
just a question is that using the F8 (or is it F7) trick, or have you found somewhere else to inject into the draw loop. I tried doing this a while back, could never do it, nice job
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
or you can hook the actualy print function, not just the call :p
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
awesome dude!
keep working on it
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Hey does anyone know what is this or how can you find it?
Code:
const DWORD UsedMenuPtr = 0x5aa6e8;
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Very nice!!
Too bad I don't program in C++ :p
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
what version is that address for, asta?
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Quote:
Originally Posted by Farsa
what version is that address for, asta?
8.21, but I dont know what does it means, neither how to find it.
-
[C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Quote:
Originally Posted by asta
8.21, but I dont know what does it means, neither how to find it.
It's an address on context menu object's virtual function table. Overwrite it with your function address (not relative) to hook the "OnClick" event to your function.
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Here you got almost same.
Regards, Czepek!
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
Thanks for the link, but with me not working, do not know why, after I edited the adresses to 8:54 compiled and intet client does not appear in any contextMenu, and I do not know what the error is.
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
RE: [C++/Stiju's DLL] Your own context menu (based on Stiju DLL)
-
-
-
Someone with this and please share?