Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » AOW Servers: Enjoy
AOW Servers: Enjoy [message #91033] Sun, 30 May 2004 02:51 Go to previous messageGo to previous message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma:
General (1 Star)
I made update functions to get the player name a while ago:
wchar_t *GetName(unsigned long ptr_) { 
	__asm {
		mov edx, [ptr_]
		mov eax, dword ptr[edx + 758h]
	};
}

char *Read16BitString(wchar_t *str) {
	char *result = (char *)malloc(wcslen(str) + 1);
	sprintf(result, "%S", str);
	return result;
}


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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Server side script to force firstPerson view in vehicles?
Next Topic: Stunts/roleplay map.. come here to get it.
Goto Forum:
  


Current Time: Wed Oct 09 15:59:16 MST 2024

Total time taken to generate the page: 0.00729 seconds