Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » local player
local player [message #154574] Sun, 15 May 2005 02:10 Go to next message
riddleSkill is currently offline  riddleSkill
Messages: 6
Registered: May 2005
Karma: 0
Recruit
i searched a lot but not successful, so finally i ask here:

is there a way on client side to get a GameObject pointer to the local player? i found only functions like FindPlayerById...

thx!

respect for jonwil! sometime i do reverse engineering on my own and i know its a lot of work he did! (did you have any private sources? i cant image you did this all without any help or tipps...)

edit: i tried Get_The_Star(), but my renegade crashed
local player [message #154609] Sun, 15 May 2005 09:20 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

I think the local player has always the first ID...

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
local player [message #154619] Sun, 15 May 2005 10:09 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
**(int**)0x820D98


That gets your local player ID. Use whatever shits.dll/whatever has to retrive the player object.


Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
local player [message #154639] Sun, 15 May 2005 11:24 Go to previous messageGo to next message
riddleSkill is currently offline  riddleSkill
Messages: 6
Registered: May 2005
Karma: 0
Recruit
much thanks Very Happy

how do you get these pointers? reverse engineering or westwood employee?
local player [message #154654] Sun, 15 May 2005 12:44 Go to previous message
vloktboky is currently offline  vloktboky
Messages: 290
Registered: February 2003
Location: Kentucky, USA
Karma: 0
Recruit

Get_The_Star
Previous Topic: How do you make your own map and character skins?
Next Topic: Setting up a tank for engine run.
Goto Forum:
  


Current Time: Sun Jul 14 09:48:15 MST 2024

Total time taken to generate the page: 0.00610 seconds