Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » Warping/position shifts
Warping/position shifts [message #453925] Sat, 10 September 2011 06:10 Go to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
Have you guys changed the way 4.0 calculates the player's position of the map? Because when I'm playing on a 4.0 server everything runs smoothly, but when I'm playing on a 3.4 server it's almost constantly trying to "move" my character by a few meters.
Re: Warping/position shifts [message #453987 is a reply to message #453925] Sat, 10 September 2011 16: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)

We did not intentionally change anything regarding that, but according to your description it seems like the client and server physics are slightly different. Maybe someone can test whether this also happens for 3.4 clients on 4.0 servers?

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Warping/position shifts [message #454142 is a reply to message #453987] Sun, 11 September 2011 12:45 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
StealthEye wrote on Sat, 10 September 2011 17:34

We did not intentionally change anything regarding that, but according to your description it seems like the client and server physics are slightly different. Maybe someone can test whether this also happens for 3.4 clients on 4.0 servers?

Thought you told me you tweaked some stuff with rotating. In addition you guys fixed the floating point position error I do believe.

Finally, keep in mind that the closer your frame rate is to the server the better ren's bad physics engine will sync up with the server's. Renegades physics engine updates with the framerate, the lower the frame rate the less often it updates, the faster the more, servers are locked at 60 fps, so if your vsync'd to 60 fps your games physics will be more likely to be syncing with the server's.


Re: Warping/position shifts [message #454172 is a reply to message #453925] Sun, 11 September 2011 16:32 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)

Those changes you are talking about only apply if both server and client are using 4.0.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Warping/position shifts [message #454177 is a reply to message #454172] Sun, 11 September 2011 16:47 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
StealthEye wrote on Sun, 11 September 2011 17:32

Those changes you are talking about only apply if both server and client are using 4.0.

The physics bug exists in stock Ren however, and in 4.0 you default vsync to on, so that might be a possible cause for less slipping around if he's syncing up with the server's physics more often.


Re: Warping/position shifts [message #454304 is a reply to message #453925] Mon, 12 September 2011 08:31 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)

vsync won't affect how often it syncs with the server. It only affects the frame time, which may change the latency of the updates, but I don't think that is likely to cause any noticeable lag, especially if it's ok on TT servers.

I'm not quite sure what you are referring to with "the physics bug". I don't think TT fixes any physics bugs that may relate to this.

Spyder, I'm assuming that the lag you're describing for 3.4 servers did not happen before you installed TT, right? Otherwise, it's just TT's improved netcode you are noticing. Razz


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Warping/position shifts [message #454307 is a reply to message #454304] Mon, 12 September 2011 08:39 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
StealthEye wrote on Mon, 12 September 2011 17:31

vsync won't affect how often it syncs with the server. It only affects the frame time, which may change the latency of the updates, but I don't think that is likely to cause any noticeable lag, especially if it's ok on TT servers.

I'm not quite sure what you are referring to with "the physics bug". I don't think TT fixes any physics bugs that may relate to this.

Spyder, I'm assuming that the lag you're describing for 3.4 servers did not happen before you installed TT, right? Otherwise, it's just TT's improved netcode you are noticing. Razz


Indeed, it didn't happen before I installed TT.
Re: Warping/position shifts [message #454308 is a reply to message #454304] Mon, 12 September 2011 08:44 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3806
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
StealthEye wrote on Mon, 12 September 2011 09:31

vsync won't affect how often it syncs with the server. It only affects the frame time, which may change the latency of the updates, but I don't think that is likely to cause any noticeable lag, especially if it's ok on TT servers.

I'm not quite sure what you are referring to with "the physics bug". I don't think TT fixes any physics bugs that may relate to this.

Spyder, I'm assuming that the lag you're describing for 3.4 servers did not happen before you installed TT, right? Otherwise, it's just TT's improved netcode you are noticing. Razz

The lower your frame rate the less often vehicle physics update, if you get a frame rate below 30 some vehicles start bouncing around, and I've even got a few in Rp2 that'll just start spinning and fly away. The faster the frame rate the faster the physics engine is able to update.
Saberhawk said Westwood did something wrong with their timestamps in the physics engine, so it was unlikely to be fixed.


Re: Warping/position shifts [message #454481 is a reply to message #453925] Tue, 13 September 2011 12:09 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
I have been playing for a fair amount of time today, and whether I have vsync turned on or off, it doesn't make a difference. It even gets worse when a server is crowded. Many people, including myself, have seen either teamplayers or enemies doing the moonwalk. They were showing a paused walking animation and warped around the map.

I think your netcode still has some flaws.
Re: Warping/position shifts [message #454491 is a reply to message #453925] Tue, 13 September 2011 13:26 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)

Have you tried modifying your net update rate and sbbo? If so, please say to which values you changed it and what your connection speed should be.

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: Warping/position shifts [message #454494 is a reply to message #454491] Tue, 13 September 2011 13:58 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
EvilWhiteDragon wrote on Tue, 13 September 2011 22:26

Have you tried modifying your net update rate and sbbo? If so, please say to which values you changed it and what your connection speed should be.


Net update rate? Sbbo? What are they and where do I alter their values?
Re: Warping/position shifts [message #454513 is a reply to message #453925] Tue, 13 September 2011 17:19 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)

Press F8, and type "nur 30".
Press F8, and type "sbbo 1000000" - depending on your connection. 1000000 = 1 Mbps. If you set it to half your connection speed, you should be ok.

The net update rate is the frequency with which updates are sent to the remote host. For the client, this mostly affects the frequency with which it sends keyboard/mouse movement information to the server. 30 is the default, highest possible value, and it should work fine on pretty much every connection. (Note: I'm talking about the client! The server also uses a nur, and it may be better to set it a little lower there.)

The sbbo (set bandwidth budget out) is just the amount of bandwidth that is supposed to be used by Renegade.

But if it works fine for 4.0 servers, I don't think either of these will make a difference. Instead, could you make a video of exactly what you're noticing? Possibly I can see what's causing it.


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

[Updated on: Tue, 13 September 2011 17:22]

Report message to a moderator

Re: Warping/position shifts [message #454836 is a reply to message #454513] Fri, 16 September 2011 16:52 Go to previous messageGo to next message
Starbuzz is currently offline  Starbuzz
Messages: 2492
Registered: May 2007
Karma: 2
General (2 Stars)
Didn't want to create a new thread so here...

I have noticed increased warping and ice skating with my char. I have the same internet connection as before. This is slightly driving me nuts because sniping is becoming useless for me to do because of this. Any ideas on how to fix? I did the above.

thanks!


buzzsigfinal
Re: Warping/position shifts [message #454852 is a reply to message #453925] Fri, 16 September 2011 20:14 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)

On a 4.0 or pre-4.0 server?

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: Warping/position shifts [message #454894 is a reply to message #454852] Sat, 17 September 2011 08:10 Go to previous messageGo to next message
Starbuzz is currently offline  Starbuzz
Messages: 2492
Registered: May 2007
Karma: 2
General (2 Stars)
on a 4.0 server

buzzsigfinal
Re: Warping/position shifts [message #454945 is a reply to message #454836] Sat, 17 September 2011 17:37 Go to previous messageGo to next message
Creed3020 is currently offline  Creed3020
Messages: 1438
Registered: February 2003
Location: Toronto, Canada
Karma: 0
General (1 Star)
Starbuzz wrote on Fri, 16 September 2011 19:52

Didn't want to create a new thread so here...

I have noticed increased warping and ice skating with my char. I have the same internet connection as before. This is slightly driving me nuts because sniping is becoming useless for me to do because of this. Any ideas on how to fix? I did the above.

thanks!


I echo the above comment. After playing tonight for about 2 hours I was shocked at how many ghost players I saw on the map and how much I was floating around. This makes sniping almost impossible.
Re: Warping/position shifts [message #454957 is a reply to message #453925] Sat, 17 September 2011 18:14 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)

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.

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: Warping/position shifts [message #454984 is a reply to message #454957] Sun, 18 September 2011 00:19 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

EvilWhiteDragon wrote on Sun, 18 September 2011 02:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


Tbf, people shouldn't have to manually set this everytime they join a server. The client should have it done for them.


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Warping/position shifts [message #454993 is a reply to message #454957] Sun, 18 September 2011 03:22 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
EvilWhiteDragon wrote on Sun, 18 September 2011 03:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


I changed my nur to 30 and my sbbo to 16000000 (16mbit) and I still get an awful lot of ghost players and still people skating around the tunnels. The new netcode is, in my opinion, worse than the stock one. Ghost players have increased and the lag is worse.
Re: Warping/position shifts [message #454994 is a reply to message #454993] Sun, 18 September 2011 03:33 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

Spyder wrote on Sun, 18 September 2011 11:22

EvilWhiteDragon wrote on Sun, 18 September 2011 03:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


I changed my nur to 30 and my sbbo to 16000000 (16mbit) and I still get an awful lot of ghost players and still people skating around the tunnels. The new netcode is, in my opinion, worse than the stock one. Ghost players have increased and the lag is worse.


I get the opposite... I join game and dont use any commands. I have dropped 50+ping (go UK users now having <200ping)

Maybe it just doesn't like you.


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Warping/position shifts [message #454998 is a reply to message #454984] Sun, 18 September 2011 05:01 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)

Caveman wrote on Sun, 18 September 2011 09:19

EvilWhiteDragon wrote on Sun, 18 September 2011 02:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


Tbf, people shouldn't have to manually set this everytime they join a server. The client should have it done for them.

You don't have to do this every time. It's just that we haven't had feedback on this yet (or I haven't seen it), which is something we need in order to improve things.

@Spyder
What if you set it to half of your connection, does that help? And, on what server are you playing? EU/US, TT/non-TT those kinds of things?


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: Warping/position shifts [message #455002 is a reply to message #454998] Sun, 18 September 2011 05:36 Go to previous messageGo to next message
Spyder
Messages: 1070
Registered: March 2006
Karma: 0
General (1 Star)
EvilWhiteDragon wrote on Sun, 18 September 2011 14:01

Caveman wrote on Sun, 18 September 2011 09:19

EvilWhiteDragon wrote on Sun, 18 September 2011 02:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


Tbf, people shouldn't have to manually set this everytime they join a server. The client should have it done for them.

You don't have to do this every time. It's just that we haven't had feedback on this yet (or I haven't seen it), which is something we need in order to improve things.

@Spyder
What if you set it to half of your connection, does that help? And, on what server are you playing? EU/US, TT/non-TT those kinds of things?


I have a 30mbit connection, so it's somewhat at half my connection. I'm playing on the St0rm 4.0 AOW server (US). My ping is ~130 - 170 (which is 50ms less than stock ren) and FPS is stable. However, still getting ghost players, including myself ghosting. I have been shot several times while running around at one side of the map, and someone else saw my ghost on the other side of the map. Harvesters are ghosting fairly often too.
Re: Warping/position shifts [message #455007 is a reply to message #454984] Sun, 18 September 2011 06:17 Go to previous messageGo to next message
Creed3020 is currently offline  Creed3020
Messages: 1438
Registered: February 2003
Location: Toronto, Canada
Karma: 0
General (1 Star)
Caveman wrote on Sun, 18 September 2011 03:19

EvilWhiteDragon wrote on Sun, 18 September 2011 02:14

I've asked many times in different threads, but never seen a reply to this question: have you tried changing the SBBO, to a value that matches your connection speed? This because it now actually does something unlike stock ren.


Tbh, people shouldn't have to manually set this everytime they join a server. The client should have it done for them.


+1

I will try it once regardless but after that I can't see 99% of players bothering to modify their ingame experience through the F8 console.
Re: Warping/position shifts [message #455008 is a reply to message #455007] Sun, 18 September 2011 06:24 Go to previous messageGo to next message
Caveman is currently offline  Caveman
Messages: 2476
Registered: July 2005
Location: Wales, UK
Karma: 0
General (2 Stars)

I take back what I said.. I got it for the first time earlier...

http://s4.postimage.org/5mn947eit/Screenshot_40.png

http://s4.postimage.org/5mnarqr0l/Screenshot_41.png

http://s4.postimage.org/969a53685/Screenshot_42.png

Appolo was actually at the other end of the bridge repairing his arty...


CarrierII wrote

BLUEHTHEN YOU AR NOT JUST A BIG CHEATAS AND YOU THE BIG HEAD JUST YOU USE FLY H4X FUCK YOU BIG CHEATAS YOUR CHEATZ IS BAD YOU WANT I WRAUGHT THIS YOUR CHEATZ IS BAD HEY IS 1 YEAR YOUR PROMESS A FLY HAX IN MULTIPLAYER AND IS DONT JUST TROOPRM02 I TELL IT ALL WHO REPLYER IN THIS FORUM YOU CHEATZ

Please don't make me type something like that again, not using puntuation is annoying.


http://r9.fodey.com/2158/bc450f3ca15045e9bdd7651fa49f3a0a.0.gif
Re: Warping/position shifts [message #455044 is a reply to message #453925] Sun, 18 September 2011 10:28 Go to previous messageGo to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

Can you tell me whether those ghosts appear for more than 10 seconds, or whether they disappear within 10 seconds? (That helps me debugging the issue.)

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Previous Topic: Crash / Dump herewith
Next Topic: TTFS folder?
Goto Forum:
  


Current Time: Sun Jul 14 02:53:46 MST 2024

Total time taken to generate the page: 0.01159 seconds