View Single Post
Old 07.06.2006, 22:37   #25
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

Quote:
Originally Posted by testdude
yeah... i was gonna do a builder cmd to change team for events n stuff, was just a little something we had never seen on another server :P with the userinfo struct... we just never figured out how to get it.... the pointer to it that was sent to some functions was never the same for the same person, i never had a chance to do any looking around with it though so i dont know if theres any specific function to call that returns the pointer to it...

also, we hooked the call to the send function for char/userinfo packets, instead of hooking the function from the dword table, simply because it was easyer than having to retrieve the info from the struct sent to the char/userinfo functions, though now im starting to think that it may have been wise to do that instead, as i wouldnt need to find out how to get the userinfo struct cos it would be sent to the func for me xD
at the start of any User:: function the ECX is always the user struct
Alien003 is offline