Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RedHotChiliPepper

Pages: 1 [2]
16
AdrenalineX Development / Re: Your favorite race mode
« on: October 27, 2011, 07:12:21 pm »
Duel.
While it's not a mess with rammers and lagzors
still keeps a taste or rivalry, specially when you're racing in the same world than
a Pretty good racer, makes you go to your Edge...

17
General Server Discussion / Re: Possible Theory of the Delay Formula?
« on: October 27, 2011, 07:06:56 pm »
Lol Sabre has 5 meters?

18
General Server Discussion / Re: Possible Theory of the Delay Formula?
« on: October 08, 2011, 12:45:30 am »
The Important is: It Works! (atleast worked in the situation I tested, I need to test variations)

and these calculations are easy for a machine, if a good Programmer find a way to fix the desync and find a way to use a formula do make it
the speed of calculation of a machine is very higher than the human brain's speed, I bet the correct formula could be 3x bigger than
mine and even like that a computer would solve it quickly

19
General Server Discussion / Possible Theory of the Delay Formula?
« on: October 08, 2011, 12:05:55 am »
I heard madmax talk about a lag formula or something that got something to do with dividing 2 players ping for 1000 and something like it
then I wanted to Test it, but I didn't found a reason betwen these numbers or something, then I decided to Try to make my own formula

Obs 1: I'm not saying it's right it's just a theory and few crazy calculations

Obs 2:You need to make an Experience to apply on the Formula

(ok here we go)

The formula is a so crazy thing, that even I can't organize it properly, take a look, and don't make too hard questions

(Simplest Version of the Equation)
X-Y=0


Let's go by Steps


Step 1-Make the Experience

1-Get a medium car which you know the max. speed

(I choosen Sabre)

2-Get a friend with a Super Car

(Sonetto got a Infernus)

3-Go to a place where you can reach the medium car's Max Speed and keep it

(Julius Thruway)

4-Reach the medium car's max speed while the Supercar keeps near

(Sabre's Max speed is 96 MPH)

5-when reached the max speed, the Supercar will keep touched on your Tail consequently getting Front damage

6-When you see where the Supercar hits the Air, Take a Screen Shot

7-Watch the Screen shot and park the medium car and the Super car as you saw in the Screen shot to calculate the distance of the Delay

8-Go to the Medium car's rear bumper and type /save A

9-Go to the Super Car's Front bumper and type /save B

10-Go to GTA SA Userfiles and search for Saved positions in SAMP Directory

11-Calculate the "Y Position" diference betwen the point A and point B

12-You got the Lag Distance

(Mine was 37.0 meters)



Step 2-Collect the Ping of both players which tested

(My Ping: 279
Sonetto's: 273

Mine + Sonetto = 552 )


Step 3-Find the X of the Equation

This is the Hardest part
this is when you find the Delay time
but before, you need to know the front car's max speed
(Sabre = 96 MPH)
Transfer 96 MPH to KM/H was better for me,because it's the distance unit I got used to
Just solve "Max Speed in Miles . 1,6"

Sabre's max speed in KM/h is 153.6, then it Runs 1 153.600 Meters per Hour in Max Speed
but i want to know the time, then you have to figure out how long he takes to run 37 meters

the make   "153.600  /  60" to know how many meters it runs per minute
the result is 2560, 2560 meters per minute, and to know how many meters per second
solve "2560 / 60" and the result is:  "42,66666666666666666667" but truly, it's not in need ALL these numbers
only if you want get a 100% precise number, so let's use only 42.6

Nice, you found the distance that a sabre run in 1 Second, 42.6 Meters? kinda hard to bellieve, but let's take it all in theory

Now we get the max speed p/ second and the lag distance
then:    42.6 - 37.0  = 5.6

"5.6"     this is     "X"

Now what it got to do with delay? first, get both pings and put them all togheter
(in my case it was 552)
divide 552 for 100 and you'll find "Y"   
X=5.6
Y=5.5

X-Y=0

5.6 - 5.5 = 0.1

This 0.1 is for all unprecise calculations, sorry for that 0.1 but I guess if someone go deep on this "formula" calculations
we might reach to  X-Y=0


By having sure of this X-Y=0 we can calcute the Delay time of the Players
get the Lag Distance and see how long the car takes to run it on his max speed (current speed)
37.0  /  42.6
is "0,86854460093896713615023474178404"
This is the Lag time, then to hit my Sabre , Sonetto would have to hit where I would be "0,86854460093896713615023474178404"
let's resume it to 0.86 secs, then the Formula for Sonetto is 0.86 secs, variates a lot betwen Players depending on Ping
it's Complicated, but I want to make another experience of these to be sure of it...

Pages: 1 [2]