Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Tiberian Technologies Forum » PlayerDataClass
PlayerDataClass [message #430418] Wed, 09 June 2010 07:43 Go to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
Will there be a fix for the stats of the PlayerDataClass?
Currently the server knows a shit about what the client does.


Bückstabü!
Re: PlayerDataClass [message #430702 is a reply to message #430418] Mon, 14 June 2010 09: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)

You mean for those "Log shots" and similar values? I don't know why they aren't accurate, but I don't think it will be a priority for TT to fix.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: PlayerDataClass [message #430708 is a reply to message #430418] Mon, 14 June 2010 12:22 Go to previous messageGo to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
Yes, i was working on a detailed sniper ranking with all that values like you get when you end a single player mission. Huh

Bückstabü!
Re: PlayerDataClass [message #430746 is a reply to message #430418] Tue, 15 June 2010 09:24 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 you can figure out exactly what causes the inconsistencies, I may be able to fix it. But without that, I am estimating it will take too much time.

BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Re: PlayerDataClass [message #430747 is a reply to message #430746] Tue, 15 June 2010 09:34 Go to previous messageGo to next message
cAmpa is currently offline  cAmpa
Messages: 597
Registered: March 2006
Karma: 0
Colonel
StealthEye wrote on Tue, 15 June 2010 18:24

If you can figure out exactly what causes the inconsistencies, I may be able to fix it. But without that, I am estimating it will take too much time.



All what i know is, the client doesn't send the information what got exactly got hit, only the damage. RR for example sends it about the RR netcode now.


Bückstabü!
Re: PlayerDataClass [message #443585 is a reply to message #430418] Sat, 05 February 2011 17:51 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
   
On Damage

int playerId = Get_Player_ID(obj);
   cPlayer *p = FindPlayer(playerId);
   if(!p) return;

	CrotchShots[playerId] = p->CrotchShots;
	LegShots[playerId] = p->LegShots;
	ArmShots[playerId] = p->ArmShots;
	ShotsFired[playerId] = p->ShotsFired;
	headShotCount[playerId] = p->HeadShots;


[17:30:55] [PLAYERDATAINFO] Noob2[1]

[17:30:55] 	[SHOTSFIRED] 1

[17:30:55] 	[LEGSHOTS] 0

[17:30:55] 	[CROTCHSHOTS] 0

[17:30:55] 	[ARMSHOTS] 0

[17:30:55] 	[HEADSHOTS] 0

[17:30:55] [PLAYERDATAINFO] Noob[2]

[17:30:55] 	[SHOTSFIRED] 358

[17:30:55] 	[LEGSHOTS] 6

[17:30:55] 	[CROTCHSHOTS] 0

[17:30:55] 	[ARMSHOTS] 0

[17:30:55] 	[HEADSHOTS] 1


Not sure if this helps

The client is sending wrong values or only sending sometimes.

Noob2 fired 4 shots to the head It says i fired 1 shot.

Player Noob didn't fire that many shots with a pistol. He had at least 8 headshots and had arm shots


Game 2 Another game of output

[18:03:34] [PLAYERDATAINFO] Noob2[1]

[18:03:34] 	[SHOTSFIRED] 23

[18:03:34] 	[LEGSHOTS] 3

[18:03:34] 	[CROTCHSHOTS] 2

[18:03:34] 	[ARMSHOTS] 1

[18:03:34] 	[HEADSHOTS] 6

[18:03:34] [PLAYERDATAINFO] Noob[2]

[18:03:34] 	[SHOTSFIRED] 649

[18:03:34] 	[LEGSHOTS] 6

[18:03:34] 	[CROTCHSHOTS] 0

[18:03:34] 	[ARMSHOTS] 0

[18:03:34] 	[HEADSHOTS] 54

[18:03:34] [PLAYERDATAINFO] Pissedhotrod[3]

[18:03:34] 	[SHOTSFIRED] 9

[18:03:34] 	[LEGSHOTS] 0

[18:03:34] 	[CROTCHSHOTS] 0

[18:03:34] 	[ARMSHOTS] 0

[18:03:34] 	[HEADSHOTS] 0

[18:03:34] [PLAYERDATAINFO] dczxcx[4]

[18:03:34] 	[SHOTSFIRED] 126

[18:03:34] 	[LEGSHOTS] 0

[18:03:34] 	[CROTCHSHOTS] 0

[18:03:34] 	[ARMSHOTS] 0

[18:03:34] 	[HEADSHOTS] 0



http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sat, 05 February 2011 18:06]

Report message to a moderator

Re: PlayerDataClass [message #443679 is a reply to message #430418] Tue, 08 February 2011 07:00 Go to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I suspect those stats are purely for single player use and they never designed the netcode to communicate the necessary data, hence why there is no way to access it in multiplayer mode. Whilst it is possible to modify the netcode so that data DOES get sent, it's unlikely to ever get done.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 08 February 2011 07:01]

Report message to a moderator

Previous Topic: Ability to change worldbox size?
Next Topic: Tunnel Beacons
Goto Forum:
  


Current Time: Tue Nov 26 18:25:10 MST 2024

Total time taken to generate the page: 0.01556 seconds