Forums
BF2Statistics.com :: Forums :: General :: Tech Support
 
<< Previous thread | Next thread >>
Tactical weapons and AIX
Go to page       >>  
Moderators: MrNiceGuy, Twhyman, Chump, hurr1k4ne, The Shadow, Wilson212
Author Post
wbshrk
Wed Apr 22 2009, 12:18PM
Registered Member #764
Joined: Sat Mar 11 2006, 07:10AM

Posts: 16
Ok here is my dilemma, I am trying to get the tactical badge to work in AIX, but can not get any tactical deploy point. I have checked the constants.py which list several items as tactical weapons, but when I look at the log file they do not show up as a Tactical deploy i.e.

log file:
STATS onPlayerChangeWeapon jkkmnn newWeapon=hgr_incendiary triggering --> player.stats.weapons[newWeaponType].exit(player)
STATS ObjectStat: jkkmnn Enter type=19 --- enterAt:264.355016 score:0

constants.py
"hgr_incendiary" : WEAPON_TYPE_TACTICAL,

What can I do?
Back to top
Leon_tbk
Wed Apr 22 2009, 06:35PM
Leon_tbk
Registered Member #4870
Joined: Thu Apr 03 2008, 04:11AM

Location: Deutschland
Posts: 99
What do you mean Tactical badges because? !search
Back to top
Website
wbshrk
Wed Apr 22 2009, 09:21PM
Registered Member #764
Joined: Sat Mar 11 2006, 07:10AM

Posts: 16
the Tactical Support Weaponry Badge IAR: Deploy 10 tactical weapons. Badge number 1260602. I have time in tactical weapons, but no tactical deploys are reporting. I am not sure if this is AIX or the stats scripts causeing the problem.

for badge information.
Back to top
Leon_tbk
Thu Apr 23 2009, 06:58AM
Leon_tbk
Registered Member #4870
Joined: Thu Apr 03 2008, 04:11AM

Location: Deutschland
Posts: 99
On these orders, I no longer thought. !tooth
Are you the Order "Zip Line" "Grappling Hook" counted?
Back to top
Website
wbshrk
Thu Apr 23 2009, 07:56AM
Registered Member #764
Joined: Sat Mar 11 2006, 07:10AM

Posts: 16
Yes I am getting Zipline and Grappling hook Deploys and I get those bagdges, but I only get tactical time no deploys or kills.
Back to top
Leon_tbk
Thu Apr 23 2009, 05:57PM
Leon_tbk
Registered Member #4870
Joined: Thu Apr 03 2008, 04:11AM

Location: Deutschland
Posts: 99
If you look at the database directly with phpmyadmin (or whatever) and run the following query:
SELECT *
FROM `weapons`
WHERE `tacticaltime`> 0
LIMIT 0, 30

because you get what Displayed? !search

[Edit]
Do you need to change a file for "Zip Line" "Grappling Hook"?

[ Edited Thu Apr 23 2009, 06:04PM ]
Back to top
Website
wbshrk
Thu Apr 23 2009, 06:57PM
Registered Member #764
Joined: Sat Mar 11 2006, 07:10AM

Posts: 16
I get one record with a tactical time of 929. I did not have to change anything to get the zipline or grappling hook to work.
Back to top
Leon_tbk
Sat Apr 25 2009, 08:13AM
Leon_tbk
Registered Member #4870
Joined: Thu Apr 03 2008, 04:11AM

Location: Deutschland
Posts: 99
But this is strange?

The Zipline (and more) is only counted by a server with Special Forse.

Look in the /ASP/bf2statistics.php

Here, from line ~ 750 the following:

/********************************
* Process' Weapons'
********************************/
ErrorLog ( "Weapon Data Processing (". $ Data [ "$ x PID_ "].")", 3);
If ($ data [ 'v']! = 'Xpack')
(
$ Data [ "te6_ $ x"] = 0;
$ Data [ "te7_ $ x"] = 0;
$ Data [ "te8_ $ x"] = 0;
$ Data [ "be8_ $ x"] = 0;
$ Data [ "be9_ $ x"] = 0;
$ Data [ "de6_ $ x"] = 0;
$ Data [ "de7_ $ x"] = 0;
$ Data [ "de8_ $ x"] = 0;
)

Change to:

/ / If ($ data [ 'v']! = 'Xpack')
/ / (
/ / $ Data [ "te6_ $ x"] = 0;
/ / $ Data [ "te7_ $ x"] = 0;
/ / $ Data [ "te8_ $ x"] = 0;
/ / $ Data [ "be8_ $ x"] = 0;
/ / $ Data [ "be9_ $ x"] = 0;
/ / $ Data [ "de6_ $ x"] = 0;
/ / $ Data [ "de7_ $ x"] = 0;
/ / $ Data [ "de8_ $ x"] = 0;
/ /)

Then play a round and look again into the database.
Back to top
Website
wbshrk
Tue Apr 28 2009, 05:43AM
Registered Member #764
Joined: Sat Mar 11 2006, 07:10AM

Posts: 16
Sorry I forgot that I had already modified this part of the bf2statistics.php. Where it seems not to collect the stats is on the sever itself. The log file posted first is what the server dedug is saying, but when the snapshot file is created there is only tatical time no tatical deploys or kills.

[ Edited Tue Apr 28 2009, 05:43AM ]
Back to top
Thinner
Wed Apr 29 2009, 03:24AM
Registered Member #2900
Joined: Fri Feb 23 2007, 08:46AM

Location: Germany
Posts: 291
Hi wbshrk,

tactical deploys are collected if the DeployTactical server-event ist triggered. But this happens only on a few weapons as we have noticed. This has nothing to do with the weapon-type in constants.py. Perhaps it depends on the weapon-files or it's hardcoded in the server executable (this is my current guess).

To verify we have to check a large number of tactical weapons in different mods to see if there is any relation.

Simultaneously I will try to verify if it's hardcoded.

BTW: I don't think you can kill somebody with a tactical weapon (flashbang, teargas, smoke grenade), but I don't know for sure.

bye
Thinner



[ Edited Wed Apr 29 2009, 06:12AM ]
Back to top
Go to page       >>   

Jump:     Back to top


Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Render time: 0.1815 sec, 0.0122 of that for queries.