View Full Version : [Need Help] exec functions / key events
frikos
21st January 2006, 15:40
Hi all,
I have a little problem, which needs to be solved^^
in my hook i have now an extended actor-class and everything is working, but i can't control the hack, because the exec-functions in actor classes do not work.
I tried the hook in extending the playercontroller class,which worked too, but still the execs would not work ( it was mentioned on unrealwiki that this class should work :S)
the keyevent, which would be much better, is only usable through interactions, and i don't want to add one.
you know other ways to "catch" the users input? any help or suggestions appreciated :cheeky: :cheeky:
GLoGG
21st January 2006, 16:12
Hi all,
I have a little problem, which needs to be solved^^
in my hook i have now an extended actor-class and everything is working, but i can't control the hack, because the exec-functions in actor classes do not work.
I tried the hook in extending the playercontroller class,which worked too, but still the execs would not work ( it was mentioned on unrealwiki that this class should work :S)
the keyevent, which would be much better, is only usable through interactions, and i don't want to add one.
you know other ways to "catch" the users input? any help or suggestions appreciated :cheeky: :cheeky:
.ini files? but not controlable ingame so thats sad..
RuffianSoldier
21st January 2006, 18:14
I have been working with Actors alot too dude - hit me up on MSN RUffianSoldier@hotmail.com
We might be able to help eachother out.......
I tried just alt-tabbing and changing values in the ini and using LoadConfig every time I die but it didnt work
No1uKnow
21st January 2006, 18:37
you know other ways to "catch" the users input? any help or suggestions appreciated
well if its a client hook done in a mfc dll
getakeysync to toggle bools that control the checks to your functions
:cheeky:
KizZamP-
21st January 2006, 18:55
he's speaking about uscript mate :)
No1uKnow
22nd January 2006, 03:22
oh well in that case your not hooking anything perse, your merely piggybacking through the uclasses :cheeky:
frikos
24th January 2006, 01:03
k, did anyone work with new windows yet?
i read the uscript-tutorial on uwindows and tried it with several different classes
current config is:
A R6WindowSimpleCurvedFramedWindow which is created by the "hook",
that one creates an UWindowDialogClientWindow as the client class to draw a button as a test and to get the user-reaction
all the created()-functions are working, but i don't see any window, i already tried some more functions like paintclients and activatewindow, but the best result i've got was the drawn border of the framed window :S
are there any specific things in rvs that have to be mentioned? :confused:
RuffianSoldier
24th January 2006, 03:33
from the words of dotproduct: "If you can get UWindow access and actually get something to pop up than you are leet"
Or something like that....
Anyway - dtp' is the only person I know who has done this... ive seen a nice screenshot of a window that pops up and asks to load the hack - pretty leet stuff.
I dont know if he is willing to help - but since he is the master he does know how to do what you are trying.....
superdupe
24th January 2006, 04:36
-respect to him on that...
KizZamP-
24th January 2006, 17:05
glogg made such a thing but it wasn't much code and it disconnected you from the server(it had to do with connection failed) and you can choose your own message.
C-X
24th January 2006, 18:02
Yeh i saw the screenshot of that it was pretty funny
RuffianSoldier
24th January 2006, 18:30
that had nothing to do with hooking u window... that was editing an INT - anyone can do that
KizZamP-
24th January 2006, 18:53
true,but it's just so damn funny that each time he got the dialog,it disconnected from the server lol...
GLoGG
24th January 2006, 18:55
that had nothing to do with hooking u window... that was editing an INT - anyone can do that
rofl int?... did i gave u the code or sumthin?.. remind me..
RuffianSoldier
24th January 2006, 22:13
maybe im confused - you can edit the all the messages (connection failed.... bla bla etc.... downloading...) by opening engine.int though.... its funny sometimes
GLoGG
25th January 2006, 15:39
maybe im confused - you can edit the all the messages (connection failed.... bla bla etc.... downloading...) by opening engine.int though.... its funny sometimes
no it wasn't that rofl.. dint even know u could do that.. i think with a lil tweaking my pop-up box wouldn't disconnect me idk..
frikos
26th January 2006, 23:40
why is everything that complicated in rvs ^^
but at least some advancements :P picture, Will be continued this weekend! (http://img372.imageshack.us/my.php?image=windows5ho.jpg)
RuffianSoldier
27th January 2006, 03:40
haha nice
frikos
27th January 2006, 19:44
:bud: :bud: wohoooooooooooooooo it's working :bud: :bud:
trial & error at its best ^^
--> Screen <-- (http://server6.theimagehosting.com/image.php?img=mymenu.jpg)
This screenshot shows just a framed window with an edit box, a dropdown-box to choose esp / retlock or godmode and a textlabel for both of them
it can be moved and resized :cheeky:
i'll try some things like radio-buttons and a nicer apperiance this weekend
maybe i'll write a short tutorial if anyone wants to work with windows too
KizZamP-
27th January 2006, 19:50
you freaking leetbag.
RuffianSoldier
27th January 2006, 19:52
great job
C-X
27th January 2006, 20:00
Wow seriously pimping frikos :D
you own!
HyPeR-X
27th January 2006, 23:05
You won't be able to get exec/render/keyevent in an actor class unless they are processed from native (And there's only a few classes which recieved exec from the engine on def.)
- HyPz
C-X
28th January 2006, 00:02
LMFAO would be nice to make my winamp controller in a window like that cuz i always have to switch to winamp to change the song :)
DotProduct
28th January 2006, 18:42
nice job frikos
respect
$T$
28th January 2006, 18:53
Wow very nice frikos!
GLoGG
31st January 2006, 15:50
Wow very nice frikos!
Indeed a nice job there frikos!
superdupe
31st January 2006, 16:05
nice job frikos
respect
-respect for doing something that not many people have figured out on their own
JohnDeere6996
1st February 2006, 00:06
wow nice work frikos, looking forward to the toturial.
RuffianSoldier
2nd February 2006, 19:19
i just thought of something.......
Your using the uwindow classes to controll your actor (you use actor so your undetected) - but all the uwindow classes are interactions (which are detected).....
So why not just use an interaction? or just an actor with no toggles
frikos
2nd February 2006, 19:44
but all the uwindow classes are interactions (which are detected)
did you read helios' uscript-tutorial carefully? ;)
as an example: the Framedwindow of R6
R6WindowFramedWindow <-- UWindowWindow <-- UWindowBase <-- Object
Most windows are extended from uwindowwindow, but all have their origin in the uwindowbase which is an object ( all buttons etc are windows too )
i don't know why a window should be an interaction or an actor, wouldn't be logical (in sense of object-oriented programming)
only the class "windowconsole" is an extended "console" (interaction) but it does not get touched :)
//ps: i just messed around with those windows, it's currently in an interaction-hook because i don't use them on pb servers... would return some bad things on the pb screens like this ^^ (http://frikos.visualcoding.com/retcolor.jpg)
RuffianSoldier
2nd February 2006, 20:17
oh crap your right - sometimes in the morning i dont pay proper attention 0_o
nice checkboxes btw!
C-X
2nd February 2006, 20:53
yes they do look nice :)
how long will aproximatly(lol...) take before the tutorial is done?
RuffianSoldier
2nd February 2006, 21:47
aaha now i know where I got that from.....
Swat4's UWindowBase is an interaction....
class UWindowBase extends Engine.Interaction;
:-p
superdupe
4th February 2006, 01:55
very nice job frikos... ruffian your a noob and i love you
RuffianSoldier
4th February 2006, 05:07
[RAM] love .....
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.