Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » [BlackIntel] Wall lag fix!
[BlackIntel] Wall lag fix! [message #213730] Thu, 17 August 2006 12:30 Go to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

We've found the lagging into walls always very very annoying so we decided it would be nice if it would be fixed so that you would just smoothly slide against the walls without the annoying lag. It is really really annoying when you try to buddy jump across a wall. Luckily we found a way to fix this problem.
Unfortunately the only way to fix this was by modding both the server and the client.

You can download the files here:
http://blackintel.igotfree.com/index.php?page=downloads

We already made 1 server but you might also want to host one so we also included the modded server.

Enjoy!

Edit:
I have made a couple of movies to show the difference:
No wall lag fix (normal)
With wall lag fix, which is a lot smoother and easier to do buddy jumping.

Edit:
I suggest reading this topic now.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.

[Updated on: Mon, 21 August 2006 13:07]

Report message to a moderator

Re: [BlackIntel] Wall lag fix! [message #213769 is a reply to message #213730] Thu, 17 August 2006 17:29 Go to previous messageGo to next message
PaRaDoX is currently offline  PaRaDoX
Messages: 288
Registered: October 2005
Karma: 0
Recruit
Sounds like a hack to me.

i play with a 1700-2500ms ping and i have never lagged though a wall.


http://renegadehelp.kinstry.co.uk/paradox/xfire.gif
Moee wrote on Wed, 31 May 2006 00:10

U 2 bumb as a pot

Re: [BlackIntel] Wall lag fix! [message #213770 is a reply to message #213730] Thu, 17 August 2006 17:39 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

He doesnt mean lagging thru a wall, he means thaat when you press up against a wall and to the side you dont smoothly slide off the character jumps forward and seems to get stuck then unstuck in the wall.

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: [BlackIntel] Wall lag fix! [message #213797 is a reply to message #213730] Thu, 17 August 2006 23:55 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9737
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
Nice fix, though I don't think it'll be used all that often due to it being a server and client fix.

You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: [BlackIntel] Wall lag fix! [message #213802 is a reply to message #213770] Fri, 18 August 2006 00:23 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

PaRaDoX wrote on Fri, 18 August 2006 02:29

Sounds like a hack to me.

i play with a 1700-2500ms ping and i have never lagged though a wall.

I did not meant through the wall, just against it and not smoothly sliding against it.

Jeep Rubi wrote on Fri, 18 August 2006 02:39

He doesnt mean lagging thru a wall, he means thaat when you press up against a wall and to the side you dont smoothly slide off the character jumps forward and seems to get stuck then unstuck in the wall.

Yes that's what I meant. Will post short movie to show the difference.

Goztow wrote on Fri, 18 August 2006 08:55

Nice fix, though I don't think it'll be used all that often due to it being a server and client fix.

I know, we are looking for a serverside only way of fixing it , or at least trying to find a way that this modded game.exe it compatible with normal servers. If you try to join with a normal client on a modded server it will crash, so we had to mod the version too.

I have made a couple of movies to show the difference:
No wall lag fix (normal)
With wall lag fix, which is a lot smoother and easier to do buddy jumping.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.

[Updated on: Fri, 18 August 2006 01:05]

Report message to a moderator

Re: [BlackIntel] Wall lag fix! [message #213817 is a reply to message #213730] Fri, 18 August 2006 02:07 Go to previous messageGo to next message
Halo38 is currently offline  Halo38
Messages: 955
Registered: February 2003
Location: UK
Karma: 0
Colonel

that is interesting i didn't realise that this sort of thing could be fixed Big Ups

it's a shame about it not working with RG at the moment

Quote:


:. 3 - Notes .:

You can only play on modified servers.
You CANNOT use Renguard as it would accept a modified exe.


Online Portfolio - www.chettle1.com

Renegade projects - Halo38's Den hosted by www.laeubi.de

Creator of : C&C_Arid, C&C_Ancients, C&C_Bio, C&C_Duel Arena

Mod Wars Veteran
Re: [BlackIntel] Wall lag fix! [message #213818 is a reply to message #213797] Fri, 18 August 2006 02:13 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Goztow wrote on Fri, 18 August 2006 08:55

Nice fix, though I don't think it'll be used all that often due to it being a server and client fix.


That's what we thought, I did not know whether I needed client side coding on the fix when I started, but when I found the bug I could only fix it with a patch to the server and client... Not changing the version number would make the client go weird and crash somewhat later...
We thought that even though it might not be played much it would be a good idea to release it anyway... If someone could figure out how to make it better compatible (eg. allow patched and non-patched clients on the server, only applying the fix to the patched clients) then they have at least a start...
I doubt there will be a lot of games played, but maybe just to test the fix ;P

I'm still looking whether I can support the 2 different clients, but it isn't easy Sad I have also looked into the "slow turrets", I think it can be fixed by a client side only patch, but I have not yet got that ready...

[edit]
Quote:

that is interesting i didn't realise that this sort of thing could be fixed

Just trying hard and putting time into it makes it possible.. Guess the cause of the problem, check it, be wrong, do some tests on when it happens, guess, and finally you were right.. You "just" have to write the fix then, lol Smile

Quote:

it's a shame about it not working with RG at the moment

If renguard would accept the changes it could probably easily be allowed as a valid exe, the real problem is that the client can't connect to unpatched servers, and the server does not support unpatched clients. That's less easy to fix, too Sad


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/

[Updated on: Fri, 18 August 2006 02:21]

Report message to a moderator

Re: [BlackIntel] Wall lag fix! [message #213822 is a reply to message #213730] Fri, 18 August 2006 02:46 Go to previous messageGo to next message
Tunaman
Messages: 1190
Registered: January 2005
Karma: 2
General (1 Star)
If you were able to fix this then would you be able to fix the slow moving of vehicle turrets for other vehicles anyway?

http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: [BlackIntel] Wall lag fix! [message #213828 is a reply to message #213730] Fri, 18 August 2006 03:34 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

If I will fix the slow turrets bug I will release it separate from this, yes... As that will probably not be incompatible with the normal servers. The only problem then is renguard which will again notice the changes to game2.exe and will not allow those...
(If that is what you asked, as your question wasn't really clear to me)


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/

[Updated on: Fri, 18 August 2006 03:34]

Report message to a moderator

Re: [BlackIntel] Wall lag fix! [message #213836 is a reply to message #213828] Fri, 18 August 2006 04:00 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

But maybe the turret fix can be done in the scripts.dll eh Wink then RG wouldn't have problems with it.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [BlackIntel] Wall lag fix! [message #213876 is a reply to message #213730] Fri, 18 August 2006 09:40 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
How does it fix it?
Re: [BlackIntel] Wall lag fix! [message #213889 is a reply to message #213876] Fri, 18 August 2006 11:53 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

by removing a fuction that rounded your position, and that way the client thinks you moved in the wall (that's what is being told by the server, thanks to the rounding) where you cannot move, and the server knows you're not in the wall solet you move on a bit thats why you are shocking against walls instead of normal sliding. We changed it so that the position data isn't rounded anymore, and thus the server wont tell the client that you are a little bit in the wall.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [BlackIntel] Wall lag fix! [message #213915 is a reply to message #213730] Fri, 18 August 2006 15:17 Go to previous messageGo to next message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

True, I would like to add that the rounding was to compress the packets. The X Y and Z coordinates were sent as 10, 11 and 12 bit numbers, whereas the normal amount is 32 (4 bytes). So the bandwith usage has been increased with 63 * nur * vehiclecount bits/second... Shouldn't be a big problem though Razz

I might have found a way to make this compatible with other clients/servers as well, I'm not entirely sure yet though.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: [BlackIntel] Wall lag fix! [message #213919 is a reply to message #213730] Fri, 18 August 2006 15:43 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
This would be useful in Reborn or APB, would you mind if we included it in the next release?

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: [BlackIntel] Wall lag fix! [message #213942 is a reply to message #213730] Fri, 18 August 2006 17:12 Go to previous messageGo to next message
Tunaman
Messages: 1190
Registered: January 2005
Karma: 2
General (1 Star)
I meant was it possible to fix the bug someone will be shooting at you with an arty on their screen, but on your screen they are looking away from you..

http://img694.imageshack.us/img694/9055/tunamanlmao.png
Re: [BlackIntel] Wall lag fix! [message #213949 is a reply to message #213730] Fri, 18 August 2006 17:49 Go to previous messageGo to next message
Chronojam is currently offline  Chronojam
Messages: 688
Registered: March 2003
Karma: 0
Colonel
With permission, this would be packaged with the next version of APB and I see no reason why Reborn wouldn't want to use it also.

However... see if you can do something about the sniper jiggling, which is probably the result of something gay like a last-minute change to make scoped mode go at walk speed. That's the biggest annoyance.
Re: [BlackIntel] Wall lag fix! [message #213979 is a reply to message #213919] Sat, 19 August 2006 01:07 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Whitedragon wrote on Sat, 19 August 2006 00:43

This would be useful in Reborn or APB, would you mind if we included it in the next release?

Well I see no reason why not to include it, as it improves gameplay and that's what we all want right (except Silent_Kane maybe). It would be nice to place our name and website in the credits then Wink

Ralphzehunter wrote on Sat, 19 August 2006 02:12

I meant was it possible to fix the bug someone will be shooting at you with an arty on their screen, but on your screen they are looking away from you..

As StealthEye said, he's working on it, and rather close to fixing it. As he has already found it's cause, which is the turrets being updated every screen. The speed of which they are moving depends an a variable and the framerate. When a turret online moves it is updated at max 30 times a second, is the nur is 30, else it is lower.
With a FPS of 60 and a nur of 30 a turret other then your own moves at half the speed it should move. 60/30=.5 or 1/2 so with a nur of 15 you would get 60/15 = 1/4 of the normal speed.

Chronojam wrote on Sat, 19 August 2006 02:49

With permission, this would be packaged with the next version of APB and I see no reason why Reborn wouldn't want to use it also.

However... see if you can do something about the sniper jiggling, which is probably the result of something gay like a last-minute change to make scoped mode go at walk speed. That's the biggest annoyance.

See comment at WhiteDragon.

What do you mean about Sniper jigglling ? could you show that by a movie or something ? As I'm not totally sure what you mean.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.

[Updated on: Sat, 19 August 2006 01:10]

Report message to a moderator

Re: [BlackIntel] Wall lag fix! [message #213980 is a reply to message #213730] Sat, 19 August 2006 01:44 Go to previous messageGo to next message
Viking is currently offline  Viking
Messages: 1692
Registered: July 2005
Location: Earth
Karma: 0
General (1 Star)
I think the sniper thing is just plain lag. I bileave what he means when is, when a sniper is using the scope and walking they swith, or "jiggle", back and forth frome there current position, and there old one every frame or so. I think they have to be crouched too?

Mabe add somthing to the EXE making C.P.O Servers (Core Patch Only). Not renguard I dont like renguard...

Servers you can play in if you have corepatch and they could release the fixes you are makin along with some other stuff to! Possible the ability to change falling speeds making parichutes possible?

You should do this like Rock Patch for RA2, or ETS (extended Tiberian Sun).



Toggle Spoiler


QUOTES
"The Renegade community revolves around having something awesome, and not sharing it so you can be on top of the mountain." -Canadacdn

Crimson wrote on Thu, 17 May 2007 05:22

Memphis wrote on Tue, 15 May 2007 03:54

...fatally die to death...


I don't know if you meant to do that, but triple redundancy for teh win. I LOL'ed.


Awesome l337 people= Icedog90, Blazea58, Canadacdn, Crimson, jonwil
Re: [BlackIntel] Wall lag fix! [message #214001 is a reply to message #213980] Sat, 19 August 2006 04:02 Go to previous message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

idjit626 wrote on Sat, 19 August 2006 10:44

I think the sniper thing is just plain lag. I bileave what he means when is, when a sniper is using the scope and walking they swith, or "jiggle", back and forth frome there current position, and there old one every frame or so. I think they have to be crouched too?


It is definatively some sort of lag, but this is too, this might even fix that issue too, but I don't know. You can try it out if you want to Razz

Quote:


Mabe add somthing to the EXE making C.P.O Servers (Core Patch Only). Not renguard I dont like renguard...

Servers you can play in if you have corepatch and they could release the fixes you are makin along with some other stuff to! Possible the ability to change falling speeds making parichutes possible?


Why ? I meana most servers have CP2 and why only allow players that have CP2 too ? You could do it though , if you change a bit to the maphash then they will me on the same listing but only CP(3?) users could join. But therefore you could also copy all maps, place some extra char in the name and do the same for all CP users and then you could (as CP user) use both CP servers and non CP servers.

About the parachutes, thats possible now too, you just have to make them in scripts.dll and you can parachute on a server.
Quote:


You should do this like Rock Patch for RA2, or ETS (extended Tiberian Sun).


I think that would scatter the community even more.


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Previous Topic: crazy map im making
Next Topic: unit pathfinding
Goto Forum:
  


Current Time: Tue Nov 12 04:38:16 MST 2024

Total time taken to generate the page: 0.01329 seconds