Home   Help Search Login Register  

Author Topic: Somebody explain plz...  (Read 1683 times)

0 Members and 1 Guest are viewing this topic.

Rubble_Maker

  • Guest
Somebody explain plz...
« on: 23 Oct 2003, 18:55:30 »
ok here's what happened: I get in a chopper and some other player shoots as me with a machine gun. My chopper gets damaged to the point where the status bar gets red. Then I land the chopper, I get out and I get in as another player (i.e. on another machine). Now the chopper has no damage at all! The status bar is all green and nice. And its not only a visual bug; I could empty three mags into it until the damn thing exploded!

So whats this crap, is OFP too dumb to remember the damage of a unit or what?

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Somebody explain plz...
« Reply #1 on: 23 Oct 2003, 20:09:31 »
Interesting. Are you sure you have patched to 1.91 or 1.94 ?  8)

Rubble_Maker

  • Guest
Re:Somebody explain plz...
« Reply #2 on: 23 Oct 2003, 21:39:01 »
I forgot to mention:

I have 1.91, and I tested this on ONE computer, i.e. "virtual LAN" or whatever you want to call it (starting OFP once as server, and then start it again for the clients).

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Somebody explain plz...
« Reply #3 on: 24 Oct 2003, 01:04:47 »
it sounds like a desync problem, only that is extremely unlikely on a LAN

or the only other possibility is that for some reason damage to the vehicle is staying local to the initial pilot client

very odd
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Rubble_Maker

  • Guest
Re:Somebody explain plz...
« Reply #4 on: 24 Oct 2003, 09:20:02 »
Unfortunately this is possible Terox; the "getdammage" function only works on the LOCAL machine! That could mean that the damage status is kept local to one client.

But I can't believe such a serious bug hasn't been noticed before.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Somebody explain plz...
« Reply #5 on: 25 Oct 2003, 10:38:09 »
was the vehicle in question

a) created for the start of the mission in the editor
b) created by a server side vehicle respawn script
c)  created by the client (Eg like camel dogfight)
d) some other way

if (A) then the vehicle i believe is local everywhere
If (B) then is local to the server (I think)
If (C) then is local to the client


one thing i did notice while doing some testing was that if you shoot individual rounds into a vehicle with a windscreen (Choppers, trucks etc) the windscreen cracks then instantly repairs itself. This continues to happen until at a guess a certain amount of damage is sustained, then the visisble damage remains constant.

My assumption of this was that the hard code repairs vehicles in a minor way so that when they are driving through bush etc the minimal damage that is created doesnt add up

Because of the almost impossibility that this is a common bug (Due to the fact that this i believe is the first report of this in 2 years) i am led to believe its more likely to be a side effect if the virtual lan you set up

Do you get the same effect when running it on a dedicated server.

If you have no access to a dedi server to test things on, let me know, i have a dedicated dedi test server at my disposal
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Rubble_Maker

  • Guest
Re:Somebody explain plz...
« Reply #6 on: 26 Oct 2003, 20:21:15 »
thx Terox I might get back to your offer when we do some serious beta testing; right now the virtual LAN should do. I also believe it has to do with a bug in the virtual LAN relevant code, not the "real" netcode. Such a serious bug would have been noticed before. If it was a real bug, it would mean that a tank crew could disembark and get back in with positions changed, and it would set vehicle damage to zero.

the vehicle was created in mission editor. I believe that when another pilot/commander gets in, it becomes local to the new commander's machine. This further complicates matters, because so many script commands only work when executed on the local client.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Somebody explain plz...
« Reply #7 on: 27 Oct 2003, 21:16:48 »
I also do think that this bug is not related to be a game
bug, as i seem to remember having already seen damaged
choppers (not done locally on my machine) on both server
types (dedi and non-dedi).

But as we all know: choppers + client-server may result
in heavy desync.

Also the client-servers are not to be thrusted, for the
reason that the player who hosts, can see stuff what
happens on the server, and all others don't.
While on the dedicated server everything visible happens
(or should happen  ;) ) on clientside.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted