Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [BlackIntel] Wall lag fix v2 and turret fix SERVER AND CLIENT!
Re: [BlackIntel] Wall lag fix v2 and turret fix SERVER AND CLIENT! [message #216123 is a reply to message #215715] Tue, 29 August 2006 14:29 Go to previous messageGo to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma:
General (2 Stars)

You'd need to edit dllmain.cpp, look for
HINSTANCE BlackIntel;
and
			BlackIntel = LoadLibrary("BlackIntel.dll");
			LastError = GetLastError();
			if (!BlackIntel)
			{
				FILE *f = fopen("dllload.txt","at");
				fprintf(f,"BlackIntel.dll failed to load, error = %d\n",LastError);
				fclose(f);
				MessageBox(HWND_DESKTOP,"Error","BlackIntel.dll Load Error",MB_OK|MB_ICONEXCLAMATION);
				exit(1);
			}
for the placement of this code, look at the source which is included Smile

Quote:

What "messages" are you talking about anyways?
I added 12 bytes to the soldier position messages sent by the renegade server to the client. I think it sends "nur" of these messages per second, so it tells every player about every player (including themselves), hence the playercount^2. All combined this would (without potential optimization) give the formula posted in the first post.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Would anyone???
Next Topic: [HELP] Water-transparency for stream
Goto Forum:
  


Current Time: Mon May 06 04:50:38 MST 2024

Total time taken to generate the page: 0.00837 seconds