Jump to content

Map/planet Data (Unit Name Error)

API

5 replies to this topic

#1 Noesis

    Member

  • PipPipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 4,436 posts
  • LocationIn the Lab

Posted 19 April 2016 - 04:18 PM

Following an update to Phase 3.

The unit data names relating to their id's are not being updated in the unit array for the json data held in the following data: http://static.mwomer...cw/mapdata.json this in relation to the CW planetary info.

This then corresponding in the timed logs stored on an hourly basis.

#2 Night Fury76

    Member

  • PipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 300 posts
  • LocationAustralia

Posted 19 April 2016 - 07:52 PM

you mean
"unit":{"id":"81","name":""}

aka the name field is never populated or only sometimes populated?
sorry did go through the whole list

EDIT: ok got my search-fo on and yes its all units

Edited by Night Fury76, 19 April 2016 - 07:55 PM.


#3 Noesis

    Member

  • PipPipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 4,436 posts
  • LocationIn the Lab

Posted 20 April 2016 - 05:15 AM

View PostNight Fury76, on 19 April 2016 - 07:52 PM, said:

you mean
"unit":{"id":"81","name":""}

aka the name field is never populated or only sometimes populated?
sorry did go through the whole list

EDIT: ok got my search-fo on and yes its all units


Yes, prior to phase 3, the unit TAG was being populated as the name for the corresponding unit id.

Edited by Noesis, 20 April 2016 - 05:16 AM.


#4 Night Fury76

    Member

  • PipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 300 posts
  • LocationAustralia

Posted 20 April 2016 - 06:30 PM

Yeah a sent a quick reddit message to shelle to see if her cw stuff cached any of the unit tags, so she could save and build a temp table out of them

#5 Shelle

    Rookie

  • 7 posts
  • LocationUK

Posted 21 April 2016 - 12:45 PM

Nup, mine was all js client site code I'm afraid.

I've changed my Planet Table and Unit Graph so they have the id instead for now lol.

#6 Night Fury76

    Member

  • PipPipPipPipPipPip
  • Ace Of Spades
  • Ace Of Spades
  • 300 posts
  • LocationAustralia

Posted 21 April 2016 - 05:20 PM

Bummer





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users