Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.06.2006, 23:38   #26
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

Quote:
Originally Posted by Alien003
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
>.> of course its always that simple thnx ^_^
testdude is offline  
Old 08.06.2006, 02:28   #27
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

actually ..

at the start of any class function, ECX is always the pointer to the instance
(at least in VC++/VS)
Alien003 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:53.