Author Topic: Collision Schooling For Bodee  (Read 6332 times)

Offline VonMessa

  • Plutonium Member
  • *******
  • Posts: 11922
Re: Collision Schooling For Bodee
« Reply #75 on: September 23, 2009, 09:48:19 AM »
its clear he does not understand and will not understand how it works. and those of you that say don't fly that close i have been rammed when the guy was 600-700 out. its always diffrent on the other end.

now i believe that the collision model needs some fixing. i have been rammed and gotten the white message some one has collided with you and only i receive the damage and the other one flys away to get 10 kills or whatever it maybe. there are bugs in it just no bugs in the way a ram is determined

If you are close enough to behind me that you collide when I try to force an over-shoot you were close enough to fire, and should have done so.

It works the other way, also (If I'm the one pursuing)

If it's a merge at angles (head on or otherwise) you should break well before either front-end registers a collision.

As it stands right now, I do not see much that HiTech can "fix".  It is about as fair as it's going to get, given the circumstances.

If he (HiTech) could "fix" intardnetz lag, I can guarantee you with utmost certainty that his days wouldn't be spent writing COAD   :D

They would be spent sunning himself on his own personal island that he bought with the proceeds from "fixing" intardetz lag.

Braümeister und Schmutziger Hund von JG11


We are all here because we are not all there.

Offline Xasthur

  • Gold Member
  • *****
  • Posts: 2728
Re: Collision Schooling For Bodee
« Reply #76 on: September 23, 2009, 10:35:27 AM »
There is no ideal way to manage the collision problem.


....Well, there is....

It's exactly what we have now.

If the collision happens on your end, you cop it.

If it doesn't, you don't cop it.

In the future, there may be some way to have zero lag or latency or whateverthehell it is that causes the discrepancies between players' FEs..... which will mean that both players eat it when they collide....

But until then... the model is spot on. 
Raw Prawns
Australia

"Beaufighter Operator Support Services"

Offline Jayhawk

  • Gold Member
  • *****
  • Posts: 3909
Re: Collision Schooling For Bodee
« Reply #77 on: September 23, 2009, 10:35:58 AM »

if(Component != 0)
{
if(!bgdmgGetDamageStatePair(&DamageStatePar,Component - 1))
{
//wctrSetColor(stdoGetMsgWnd(),stdoRED_RGB);
if(mainGetGameType() != mainGT_OFFLINE)
{
bgclntGetGameIDFromFd(pcclntGetUserBadGuyID(),MyGameID);
sprintf(Text,"%s has collided with you.",MyGameID);
chatSendText(cnGetHostFd(),"HOST",chatINDEPENDENT_CHANNEL + BadGuyID,Text);
}

wctrPrintf(stdoGetMsgWnd(),"\nYou have collided.");
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
}
}



LOOK EVERYBODY!  I GOT MY NAME IN LIGHTS!

Folks, play nice.

Offline Bear76

  • Platinum Member
  • ******
  • Posts: 4169
Re: Collision Schooling For Bodee
« Reply #78 on: September 23, 2009, 11:25:58 AM »
kilz: Wrote.

This absolutely 100%, with out a doubt, no way no how,  can not happen.  And I do not say this about many things when it comes to coding. Here is a code fragment from a collision. This is the only place in the code that detects a plane to plane collision.

if(Component != 0)
{
if(!bgdmgGetDamageStatePair(&DamageStatePar,Component - 1))
{
//wctrSetColor(stdoGetMsgWnd(),stdoRED_RGB);
if(mainGetGameType() != mainGT_OFFLINE)
{
bgclntGetGameIDFromFd(pcclntGetUserBadGuyID(),MyGameID);
sprintf(Text,"%s has collided with you.",MyGameID);
chatSendText(cnGetHostFd(),"HOST",chatINDEPENDENT_CHANNEL + BadGuyID,Text);
}

wctrPrintf(stdoGetMsgWnd(),"\nYou have collided.");
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
}
}

This is the line that actually does the damage.

bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);

So if you can show me any way you can be damaged when flying online with out getting the message "\nYou have collided.", I would love to know.

If you did not receive the message you have collided. If you think you took damage and you did not get that message there is only 2 ways it happened. 1 you over speed-ed or over stressed your plane, 2 you were shot.

The reason I jump on you so hard is simply because I hate urban legends and myths when it comes to collisions.

HiTech
Well he does kinda smell funny too  :D

Offline druski85

  • Silver Member
  • ****
  • Posts: 1212
Re: Collision Schooling For Bodee
« Reply #79 on: September 23, 2009, 11:27:16 AM »
2 you were shot.

HiTech

This is what it boils down to.  If you get "person X has collided with you" then you were directly in front of their plane on their screen.  This is been noted plenty of times over in this post.  If you are directly in front of them on their screen, there is a decent possibility they will pull the trigger when your plane fills up their view.  

I don't quite get why people fail to grasp this basic instinct.  You took damage from their guns, not their plane.  

Offline OOZ662

  • Platinum Member
  • ******
  • Posts: 7019
Re: Collision Schooling For Bodee
« Reply #80 on: September 23, 2009, 11:33:27 AM »
"GetUserBadGuyID" :D
A Rook who first flew 09/26/03 at the age of 13, has been a GL in 10+ Scenarios, and was two-time Points and First Annual 68KO Cup winner of the AH Extreme Air Racing League.

Offline Shamus

  • Gold Member
  • *****
  • Posts: 3583
Re: Collision Schooling For Bodee
« Reply #81 on: September 23, 2009, 12:09:06 PM »
I see Jayhawk and I are on the same page.

shamus
one of the cats

FSO Jagdgeschwader 11

Offline SunBat

  • Gold Member
  • *****
  • Posts: 2103
Re: Collision Schooling For Bodee
« Reply #82 on: September 23, 2009, 12:39:35 PM »
kilz: Wrote.

This absolutely 100%, with out a doubt, no way no how,  can not happen.  And I do not say this about many things when it comes to coding. Here is a code fragment from a collision. This is the only place in the code that detects a plane to plane collision.

if(Component != 0)
{
if(!bgdmgGetDamageStatePair(&DamageStatePar,Component - 1))
{
//wctrSetColor(stdoGetMsgWnd(),stdoRED_RGB);
if(mainGetGameType() != mainGT_OFFLINE)
{
bgclntGetGameIDFromFd(pcclntGetUserBadGuyID(),MyGameID);
sprintf(Text,"%s has collided with you.",MyGameID);
chatSendText(cnGetHostFd(),"HOST",chatINDEPENDENT_CHANNEL + BadGuyID,Text);
}

wctrPrintf(stdoGetMsgWnd(),"\nYou have collided.");
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
}
}

This is the line that actually does the damage.

bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);

So if you can show me any way you can be damaged when flying online with out getting the message "\nYou have collided.", I would love to know.

If you did not receive the message you have collided. If you think you took damage and you did not get that message there is only 2 ways it happened. 1 you over speed-ed or over stressed your plane, 2 you were shot.

The reason I jump on you so hard is simply because I hate urban legends and myths when it comes to collisions.

HiTech

I’m not convinced.  Please email me the entire code so I can examine it more carefully.
AoM
Do not get caught up in the country-centric thinking.
The great thing about irony is that it splits things apart, gets up above them so we can see the flaws and hypocrisies and duplicates. - David Foster Walla

Offline BiPoLaR

  • Platinum Member
  • ******
  • Posts: 4133
Re: Collision Schooling For Bodee
« Reply #83 on: September 23, 2009, 12:51:20 PM »
kilz: Wrote.

This absolutely 100%, with out a doubt, no way no how,  can not happen.  And I do not say this about many things when it comes to coding. Here is a code fragment from a collision. This is the only place in the code that detects a plane to plane collision.

if(Component != 0)
{
if(!bgdmgGetDamageStatePair(&DamageStatePar,Component - 1))
{
//wctrSetColor(stdoGetMsgWnd(),stdoRED_RGB);
if(mainGetGameType() != mainGT_OFFLINE)
{
bgclntGetGameIDFromFd(pcclntGetUserBadGuyID(),MyGameID);
sprintf(Text,"%s has collided with you.",MyGameID);
chatSendText(cnGetHostFd(),"HOST",chatINDEPENDENT_CHANNEL + BadGuyID,Text);
}

wctrPrintf(stdoGetMsgWnd(),"\nYou have collided.");
bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);
}
}

This is the line that actually does the damage.

bgSET_STATE(Plane->UserSim->SimStates,DamageStatePar);

So if you can show me any way you can be damaged when flying online with out getting the message "\nYou have collided.", I would love to know.

If you did not receive the message you have collided. If you think you took damage and you did not get that message there is only 2 ways it happened. 1 you over speed-ed or over stressed your plane, 2 you were shot.

The reason I jump on you so hard is simply because I hate urban legends and myths when it comes to collisions.

HiTech

#1. now i know why you cant spell lol :P
#2. ive had the same exact thing happen to me as kilz stated
So it does and has happened
R.I.P. T.E.Moore (Dad) 9-9-45 - 7-16-10.
R.I.P. Wes Poss  (Best Friend) 11-14-75 - 5-2-14

Offline Shuffler

  • Radioactive Member
  • *******
  • Posts: 27311
Re: Collision Schooling For Bodee
« Reply #84 on: September 23, 2009, 01:11:09 PM »
I’m not convinced.  Please email me the entire code so I can examine it more carefully.

 :rofl
80th FS "Headhunters"

S.A.P.P.- Secret Association Of P-38 Pilots (Lightning In A Bottle)

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12425
      • http://www.hitechcreations.com
Re: Collision Schooling For Bodee
« Reply #85 on: September 23, 2009, 01:27:28 PM »
#1. now i know why you cant spell lol :P
#2. ive had the same exact thing happen to me as kilz stated
So it does and has happened

BiPolar, if you are saying that you have taken damage from a collision with out receiving the you have collided message then there is no way to convince you the world is round.

And also you are hurting my product by making false claims. If you died or were damaged the person shot you. There is no other way.

HiTech

Offline Jenks

  • Nickel Member
  • ***
  • Posts: 549
Re: Collision Schooling For Bodee
« Reply #86 on: September 23, 2009, 01:31:22 PM »
BiPolar, if you are saying that you have taken damage from a collision with out receiving the you have collided message then there is no way to convince you the world is round.

And also you are hurting my product by making false claims. If you died or were damaged the person shot you. There is no other way.

HiTech

The world is round?  What keeps us from falling off?
MA  The Flying Circus
     Clown in training

FSO  JG11

Offline Bruv119

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 15678
      • http://www.thefewsquadron.co.uk
Re: Collision Schooling For Bodee
« Reply #87 on: September 23, 2009, 01:31:45 PM »
#1. now i know why you cant spell lol :P
#2. ive had the same exact thing happen to me as kilz stated
So it does and has happened

and dont forget to take your meds   :P
The Few ***
F.P.H

Offline BiPoLaR

  • Platinum Member
  • ******
  • Posts: 4133
Re: Collision Schooling For Bodee
« Reply #88 on: September 23, 2009, 01:38:06 PM »
BiPolar, if you are saying that you have taken damage from a collision with out receiving the you have collided message then there is no way to convince you the world is round.

And also you are hurting my product by making false claims. If you died or were damaged the person shot you. There is no other way.

HiTech
#1, i misunderstood that, yes, i got the message
#2. I believe the world is round because i seen it on youtube
#3. how am i the only one here hurting your product? LOL
It was a misunderstanding on my part. I seriously dont think i made you lose any customers over that one post LOL
R.I.P. T.E.Moore (Dad) 9-9-45 - 7-16-10.
R.I.P. Wes Poss  (Best Friend) 11-14-75 - 5-2-14

Offline BiPoLaR

  • Platinum Member
  • ******
  • Posts: 4133
Re: Collision Schooling For Bodee
« Reply #89 on: September 23, 2009, 01:39:28 PM »
and dont forget to take your meds   :P

i <3 you Bruv
Cant wait till we dance again
R.I.P. T.E.Moore (Dad) 9-9-45 - 7-16-10.
R.I.P. Wes Poss  (Best Friend) 11-14-75 - 5-2-14