Bug #23224

Vehicle TK Emits "any" to A2U

Added by MaHuJa almost 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:08/07/2011
Priority:High Due date:
Assignee:Spyder001 % Done:

100%

Category:Core
Target version:1.1.4.513 Estimated time:1.00 hour
Affected Version: Reproducible for you:No

Description

bstats_vehtk ("MTVR_DES_EP1", 745538, 2462.65, "M16A2", any, 51.6646, "[4314.33,4102.12,0.00144005]", "[4335.26,4149.09,-0.00578499]")

I think that "any" was supposed to be the score.

Result:

uplink/user/bstats.lua:52: LuaSQL: error executing statement. PostgreSQL: ERROR:  null value in column "totalscore" violates not-null constraint
CONTEXT:  SQL statement "UPDATE playersum 

        SET tked_vehicles = tked_vehicles + 1, totalscore = totalscore + new.score_value, battlescore = battlescore + new.score_value

        WHERE playerid = new.perpid" 
PL/pgSQL function "killevent_after_insert" line 67 at SQL statement
INSERT INTO "killevent" 
    (weaponclass, distance, score_value, victim_position, perp_position, perpid, gametime, event_type, session)
    VALUES ('M16A2', 51.6646, NULL, NULL, '{4314.33,4102.12,0.00144005}', 745538, 2462.65, 'vehtk', %s)


Related issues

related to SPY Battle Statistics - Bug #22752: Aircraft crash: Bstats emits "scalar" instead of passenge... Closed 07/24/2011

History

Updated by Spyder001 almost 4 years ago

  • Category set to Core
  • Target version set to 1.1.3.490

Updated by Spyder001 almost 4 years ago

  • Target version deleted (1.1.3.490)

Updated by Spyder001 almost 4 years ago

  • Status changed from Assigned to New

Updated by Spyder001 almost 4 years ago

  • Subject changed from vehtk emits "any" to Vehicle TK Emits "any" to A2U

Updated by Spyder001 almost 4 years ago

  • Status changed from New to Closed
  • Priority changed from Normal to High
  • Target version set to 1.1.4.513
  • % Done changed from 0 to 100
  • Estimated time set to 1.00

Also available in: Atom PDF