Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page Identifying a player's attacker
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
Identifying a player's attacker
Old
  (#1)
Shockwave is Offline
Junior Member
 
Posts: 8
Join Date: Nov 2002
Location: Rochester, NY
 Send a message via ICQ to Shockwave  
Default Identifying a player's attacker - 12-11-2002, 06:49 PM

Does anyone know of a way to use the game's script language to identify a player's attacker? I have been able to track damage and team assignments but I can't seem to find out how to determine who is responsible for causing damage. Anyone have any ideas or links to information that might be helpful?
  
Reply With Quote
Old
  (#2)
Xorcist [USA] is Offline
Corporal
 
Xorcist [USA]'s Avatar
 
Posts: 980
Join Date: Jul 2002
Location: Auburn Hills, MI
   
Default 12-12-2002, 07:13 PM

track damage? if u mean the person who is lighting u up like a christmas tree, look in the lower left corner of your hud while u are getting shot and it lists the persons name who is shooting u. i think this is what u are asking, if not i dont have a clue what u are inquiring about.


  
Reply With Quote
Old
  (#3)
Shockwave is Offline
Junior Member
 
Posts: 8
Join Date: Nov 2002
Location: Rochester, NY
 Send a message via ICQ to Shockwave  
Default 12-12-2002, 07:31 PM

As I said in my original post, I am looking for a means of using the game's script language to identify a player's attacker. The basic concept is that I want to print information to the game server's log file about the originator of player damage. Here's an example:

Player1 shoots Player2 and does 65 points of damage.

I can already generate log data regarding the client ID of the player who is injured, his original health value, his team assignment, the amount of damage incurred, and his health remaining. What I have not been able to do yet is identify the client ID of the player who caused the damage, which in this case would be the client ID of Player1.

I am aware that the information is displayed on the screen, but it unfortunately isn't really what I need. I'm specifically looking for a way of capturing that data programmatically.
  
Reply With Quote
Old
  (#4)
[HOLY]Moses is Offline
Member
 
Posts: 68
Join Date: Jan 2002
Location: Providence, RI, USA
   
Default 12-14-2002, 08:20 AM

Shockwave, if you don't know how to do it, i can't imagine anyone else knowing either!

BTW, thanks for your indirect help getting our server running (it's running on a remote Linux box).
  
Reply With Quote
Old
  (#5)
Shockwave is Offline
Junior Member
 
Posts: 8
Join Date: Nov 2002
Location: Rochester, NY
 Send a message via ICQ to Shockwave  
Default 12-16-2002, 03:26 PM

Thanks for the vote of confidence, but there are a bunch of programmers whose skill with the game's scripting language is considerably greater than mine. It is they who I had hoped to reach with this thread. I was lead to believe that this forum was moderated by the 2015 gang themselves which is why I posted this here.

For what it's worth, the reason I am interested in accessing this information is to develop a better TeamKill monitor for the game. I have already been successful implementing a robust TK kick/ban/kick-ban system and even a !forgive option for victims to forgive accidental TK's. Unfortunately, players who TeamWound can escape automatic detection. I could add logic to track damage done to team members by individual players if I could just get the game to tell me who is causing it. Everything else I need is already in place.

I personally enjoy having FF turned on because it makes the game more interesting and forces people to work together as a team instead of mindlessly spamming everything that moves. It's just too bad that some players seem to get their kicks by trying to ruin everyone else's fun.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.