Is there a way to get correct shipID from WoWs (World of Warships) Game Events?

Hi! I’m not sure if this is a bug or a feature, and I’m actually missing another feature so forgive me if this topic ended up in wrong category.
I have 2 questions regarding part of the documentation of game events for World of warships

https://overwolf.github.io/docs/api/overwolf-games-events-wows#players-note

players note

Each “player” contains the following data:

  • shipId
  • name – player name
  • team – ally/enemy
  • ship – ship name
  • maxHealth – The ship’s max health

Data Example:

  1. What is value from shipId?
    I was thinking that I could use it to some calls to Wargaming/WorldOfWarships API to get ship details but these IDs provided by game events do not match the IDs from Wargaming/WorldOfWarships API
    I guess it is some internal ID. Is this intentional? Can I somehow get true ID of the ship using overwolf?

  2. There seems to be something fishy about ship field as well.
    Game events is returning ship names as “PRSD208_Ognevoi”
    While in Wargaming/WorldOfWarships API the ship name is just “Ognevoi” and that “PRSD208” part is stored in field called ship_id_str. Is this intentional? It’s not a big problem but would be easier if that was in 2 separate fields.

Here is why I’m asking.
I plan submit a proposal for WOWS app
The one part of my app idea was to get player stats on a given ship.
For that I need 2 things, Player ID and Ship ID.
I can get the player ID from player name just fine in 2 calls to Wargaming/WorldOfWarships API (1st call to get the ID, 2nd call to get player details by his Id). Now, if I only could get the correct shipId it would be straight forward single API call. That would save a lot of work and keep the app simple. But to there is no easy way to get ship info without the correct shipId… But because the Ship ID is missing, I need a workaround.
I have 2 workarounds at the moment, both are bad ideas in my opinion.

Workaround 1:

implement some logic that in short would do something like that

  1. Fetch from Wargaming/WorldOfWarships API shipId, name, ship_id_str for all ships in the game. But that would be like 5 or 6 API calls as the API only returns 100 ships per call. Other option would be to hardcode that in the app or do the call once per session and store the data somewhere…
    2.Remove the “{ship_id_str}_” part of ship name from game events ship field

  2. Use the modifified {ship} field from game events to look up true shipID

  3. Make a final call to get the user stats on given ship.

Workaround 2:

The game is creating file tempArenaInfo.json in the game replay directory every time the player starts a match.

And in that file, there is a Json file with all the information regarding that match. It has the player/Ship data in it just like that:

{
“shipId”: 4181636944,
“relation”: 2,
“id”: 269508057,
“name”: “:Pratt:”
},

This shipId is correct and works with Wargaming/WorldOfWarships API

So Instead of using Game Events I can try to detect the creation of said file and scrap the player name and ShipId from It and fetch the data needed for my app.

Best Regards!

Hi. Welcome to our community! I will take a look on that later today and try to help. thanks.

Hi! Thank you for warm welcome.
I decided to have look around World of Warships modAPI documentation and do some debuging.
TL;DR; It looks like there is no bug in game events and I just need diffrent fields from playerInfo to be present in overwolfs game info/events. So we can close this topic or move it to feature request I guess?

Long version with examples below :slight_smile:
Here is the roster object from Game Event/Info, I left only one player entry in it to make things more clear:

Roster object from Game Event/Info
{
	"roster": {
		"players": "[
		...
{\"shipId\":\"961053\",\"name\":\"Informatyk_fanatyk\",\"team\":\"ally\",\"ship\":\"PRSC106_Pr_94_Budeny\",\"maxHealth\":\"30800\",\"nation\":\"Russia\",\"level\":\"6\"},
		...
		]"
	}
}

I went and checked the WoWs modAPI and found that API provides this: battle.getPlayerByVehicleId(shipId)
After closer inspection I figured that Overwolf uses the same function to get player_info.
So I did export whole player_info object:

player_info object from World of Warships ModApi
{
   "crewParams":[
      4293043664L,
      [
         "None",
         "None",
         "None",
         "None"
      ]
   ],
   "isSpectator":False,
   "isLeaver":False,
   "isConnected":True,
   "clanID":500140534,
   "dogTag":[
      4239772592L
   ],
   "teamId":1,
   "shipId":961053,
   "avatarId":961052,
   "id":939903807,
   "prebattleIndex":0,
   "isAbuser":False,
   "realm":"EU",
   "clanColor":14931616,
   "killedBuildingsCount":0,
   "playerMode":"<Dummy>":{
      "fixedDict":{
         "playerModeType":"None",
         "observedTeamId":"None"
      }
   },
   "maxHealth":30800,
   "preBattleSign":0,
   "ttkStatus":False,
   "shipConfig":"<Dummy>":{
      "exteriorSlots":"<Dummy>":{
         "autoBuy":"None",
         "autoAdd":"None",
         "slots":"None",
         "colorSchemes":"None"
      },
      "shipUpgradeInfo":"<Dummy>":{
         "costXP":"None",
         "isOwned":"None",
         "costCR":"None",
         "nextShips":"None",
         "outerLinksInited":"None",
         "prevUserComponents":"None",
         "shipId":"None",
         "previousShips":"None",
         "errors":"None",
         "group":"None",
         "outletComponents":"None",
         "costGold":"None",
         "stock":"None",
         "isPremium":"None",
         "userComponents":"None",
         "costSaleGold":"None",
         "isValid":"None",
         "nation":"None",
         "isExplored":"None",
         "name":"None",
         "subtype":"None",
         "exp":"None"
      },
      "_unitsCount":"None",
      "isOwned":False,
      "name":"PRSC106_Pr_94_Budeny",
      "err":"not initialised",
      "_componentsMap":{
         "airDefense":"None",
         "artillery":"None",
         "atba":"None",
         "hydrophone":"None",
         "flightControl":"None",
         "finders":"None",
         "cameras":"None",
         "underwaterCamera":"None",
         "radars":"None",
         "engine":"None",
         "hull":"None",
         "torpedoes":"None",
         "scout":"None",
         "aiParams":"None",
         "airArmament":"None",
         "pinger":"None",
         "fighter":"None",
         "fireControl":"None",
         "torpedoBomber":"None",
         "directors":"None",
         "diveBomber":"None",
         "auxiliaryPlane":"None",
         "depthCharges":"None"
      },
      "modernizationSlots":"<Dummy>":{
         "autoBuy":"None",
         "autoAdd":"None",
         "slots":"None"
      },
      "isValid":True,
      "level":6,
      "shipParams":"<Dummy>":{
         "pathPreview":"None",
         "pathDeadIcon":"None",
         "subtypeIDS":"None",
         "id":"None",
         "group":"None",
         "pathBigIcon":"None",
         "maxHealth":"None",
         "params":"None",
         "subtype":"None",
         "pathTinyIcon":"None",
         "nation":"None",
         "shortName":"None",
         "pathBigPreview":"None",
         "name":"None",
         "subnation":"None",
         "pathOwnTinyIcon":"None",
         "level":"None",
         "screenPath":"None",
         "pathBigIconBg":"None",
         "pathPreviewDS":"None",
         "nameIDS":"None",
         "shipScreenIDS":"None"
      },
      "ensignSlots":"<Dummy>":{
         "autoBuy":"None",
         "autoAdd":"None",
         "slots":"None"
      },
      "userConfig":{
         "_Artillery":"None",
         "_Torpedoes":"None",
         "_Suo":"None",
         "_Engine":"None",
         "_Hull":"None"
      },
      "allSlotSystems":(<mac5c22bc.ModernizationSlots object at 0x000002722DBBAC18>,
      <mac5c22bc.ExteriorSlots object at 0x000002722DBBAC50>,
      <mac5c22bc.AbilitySlots object at 0x000002722DBBAC88>,
      <mac5c22bc.EnsignSlots object at 0x000002722DBBACC0>),
      "exp":0,
      "shipId":4183733712L,
      "abilitySlots":"<Dummy>":{
         "autoBuy":"None",
         "autoAdd":"None",
         "slots":"None"
      },
      "_activeComponentsMap":"None"
   },
   "clanTag":"u"   "MIRKO",
   "isHidden":False,
   "isTDamager":False,
   "isAlive":True,
   "preBattleIdOnStart":0,
   "prebattleId":0,
   "hTTKStatus":False,
   "accountDBID":531768693,
   "camouflageInfo":"<Dummy>":{

   },
   "isTKiller":False,
   "teammateDamages":{

   },
   "isPreBattleOwner":False,
   "shipParamsId":4183733712L,
   "shipComponents":{
      "airDefense":"B_AirDefense",
      "artillery":"B1_Artillery",
      "atba":"AB_ATBA",
      "hydrophone":"HydrophoneDefault",
      "flightControl":"FlightControlDefault",
      "finders":"AB_Finders",
      "cameras":"Cameras",
      "underwaterCamera":"UnderwaterCamera",
      "radars":"AB_Radars",
      "engine":"AB_Engine",
      "hull":"B_Hull",
      "torpedoes":"B1_Torpedoes",
      "scout":"ScoutTypeDefault",
      "aiParams":"AIParams",
      "airArmament":"B_AirArmament",
      "pinger":"PingerGunDefault",
      "fighter":"FighterTypeDefault",
      "fireControl":"AB2_FireControl",
      "torpedoBomber":"TorpedoBomberTypeDefault",
      "directors":"AB_Directors",
      "diveBomber":"DiveBomberTypeDefault",
      "auxiliaryPlane":"AuxiliaryPlaneTypeDefault",
      "depthCharges":"AB_DepthChargeGuns"
   },
   "name":"Informatyk_fanatyk",
   "shipInfo":"<Dummy>":{
      "pathPreview":"../ship_previews/PRSC106.png",
      "pathDeadIcon":"../ship_dead_icons/PRSC106.png",
      "subtypeIDS":"IDS_CRUISER",
      "id":4183733712L,
      "group":"upgradeable",
      "pathBigIcon":"../ship_bars/PRSC106/h.png",
      "maxHealth":30800,
      "params":"<Dummy>":{
         "permoflages":"None",
         "isPaperShip":"None",
         "battleSignalsModifiersOrder":"None",
         "A_Hull":"None",
         "Cameras":"None",
         "A1_Artillery":"None",
         "steerDist":"None",
         "peculiarity":"None",
         "AIParams":"None",
         "peculiarityEffects":"None",
         "id":"None",
         "steerAngle":"None",
         "index":"None",
         "B_Hull":"None",
         "group":"None",
         "nativePermoflage":"None",
         "AB1_FireControl":"None",
         "B1_Torpedoes":"None",
         "B_AirArmament":"None",
         "A1_Torpedoes":"None",
         "defaultCrew":"None",
         "B_AirDefense":"None",
         "maxEquippedFlags":"None",
         "ShipUpgradeInfo":"None",
         "AB_Directors":"None",
         "peculiarityModels":"None",
         "alternateFlags":"None",
         "tags":"None",
         "needShowProjectYear":"None",
         "deathTimeFactor":"None",
         "UnderwaterCamera":"None",
         "AB_ATBA":"None",
         "AB_Engine":"None",
         "AB_DepthChargeGuns":"None",
         "effects":"None",
         "canEquipCamouflage":"None",
         "A_AirArmament":"None",
         "navalFlag":"None",
         "AB2_FireControl":"None",
         "unpeculiarShip":"None",
         "subnation":"None",
         "groupCustom":"None",
         "B1_Artillery":"None",
         "name":"None",
         "peculiarityFlag":"None",
         "level":"None",
         "A_AirDefense":"None",
         "DockCamera":"None",
         "typeinfo":"None",
         "battleSignalsOrder":"None",
         "ShipAbilities":"None",
         "apDamageLimitCoeff":"None",
         "flagsScale":"None",
         "AB_Finders":"None",
         "nationFlagScale":"None",
         "AB_Radars":"None"
      },
      "subtype":"Cruiser",
      "pathTinyIcon":"../ship_icons/PRSC106.png",
      "nation":"Russia",
      "shortName":"PRSC106",
      "pathBigPreview":"../ship_previews/PRSC106_big.png",
      "name":"PRSC106_Pr_94_Budeny",
      "subnation":"",
      "pathOwnTinyIcon":"../ship_own_icons/PRSC106.png",
      "level":6,
      "screenPath":"../../gui/ship_icons/PRSC106.png",
      "pathBigIconBg":"../ship_bars/PRSC106/h_bg.png",
      "pathPreviewDS":"../ship_previews_ds/PRSC106.png",
      "nameIDS":"IDS_PRSC106",
      "shipScreenIDS":"IDS_PRSC106"
   },
   "shipGameData":"<Dummy>":{
      "buoyancyFromServer":0,
      "yawFromServer":-0.8053789642275206,
      "height":0,
      "teamId":1,
      "pitch":0.0,
      "isMiniMapVisible":True,
      "buoyancy":0,
      "speed":0,
      "healthFromServer":0,
      "yaw":0.0,
      "maxHealth":"None",
      "paramsId":4183733712L,
      "yawServerLerper":"<Dummy>":{
         "lastValue":"None",
         "nextValue":"None",
         "timeSpent":"None",
         "currentValue":"None",
         "delta":"None"
      },
      "health":0,
      "shipConfig":"None",
      "velocityFromServer":"None",
      "velocity":"None",
      "onLowBuoyancyLevelEvent":"<Dummy>":{
         "_Event__delegates":"None",
         "_Event__activeCalls":"None"
      },
      "speedServerLerper":"<Dummy>":{
         "lastValue":"None",
         "nextValue":"None",
         "timeSpent":"None",
         "currentValue":"None",
         "delta":"None"
      },
      "regenerationHealth":0.0,
      "isShipVisible":False,
      "isVisible":True,
      "position":"None",
      "onLowHealthLevelEvent":"<Dummy>":{
         "_Event__delegates":"None",
         "_Event__activeCalls":"None"
      },
      "positionFromServer":"None"
   },
   "isBot":False,
   "fragsCount":0,
   "vehicleParams":"<Dummy>":{
      "airDefense":"<Dummy>":{
         "compName":"None",
         "burstTracerCountMultiplier":"None",
         "sectors":"None",
         "burstTracerScatterMultiplier":"None",
         "burstDuration":"None",
         "components":"None",
         "iteritems":"None",
         "prioritySectorPhases":"None",
         "ownerlessTracesScatterCoefficient":"None",
         "prioritySectorCooldown":"None"
      },
      "artillery":"<Dummy>":{
         "minDistV":"None",
         "sigmaCount":"None",
         "iteritems":"None",
         "targetWeightTypeTable":"None",
         "ammoPool":"None",
         "minDistH":"None",
         "artificialOffset":"None",
         "targetWeightYaw":"None",
         "maxDist":"None",
         "targetWeightMinHealth":"None",
         "targetWeightIncoming":"None",
         "targetWeightHealth":"None",
         "targetWeightAllyAttacker":"None",
         "compName":"None",
         "normalDistribution":"None",
         "targetWeightMyAttacker":"None",
         "targetWeightType":"None",
         "targetTypeIgnore":"None",
         "targetWeightOutcoming":"None",
         "targetWeightMaxDist":"None",
         "targetWeightMinDist":"None",
         "taperDist":"None",
         "targetWeightMaxHealth":"None",
         "components":"None",
         "targetWeightDist":"None"
      },
      "shipInfo":"<Dummy>":{
         "pathPreview":"None",
         "pathDeadIcon":"None",
         "subtypeIDS":"None",
         "id":"None",
         "group":"None",
         "pathBigIcon":"None",
         "maxHealth":"None",
         "params":"None",
         "subtype":"None",
         "pathTinyIcon":"None",
         "nation":"None",
         "shortName":"None",
         "pathBigPreview":"None",
         "name":"None",
         "subnation":"None",
         "pathOwnTinyIcon":"None",
         "level":"None",
         "screenPath":"None",
         "pathBigIconBg":"None",
         "pathPreviewDS":"None",
         "nameIDS":"None",
         "shipScreenIDS":"None"
      },
      "atba":"<Dummy>":{
         "minDistV":"None",
         "sigmaCount":"None",
         "iteritems":"None",
         "targetWeightTypeTable":"None",
         "minDistH":"None",
         "artificialOffset":"None",
         "targetWeightYaw":"None",
         "maxDist":"None",
         "targetWeightMinDist":"None",
         "targetWeightIncoming":"None",
         "targetWeightAllyAttacker":"None",
         "compName":"None",
         "targetWeightMyAttacker":"None",
         "targetWeightType":"None",
         "targetWeightHealth":"None",
         "targetWeightOutcoming":"None",
         "targetWeightMaxDist":"None",
         "targetWeightMinHealth":"None",
         "taperDist":"None",
         "targetWeightMaxHealth":"None",
         "components":"None",
         "targetWeightDist":"None"
      },
      "hydrophone":"<Dummy>":{
         "updateFrequency":"None",
         "compName":"None",
         "components":"None"
      },
      "flightControl":"<Dummy>":{
         "squadrons":"None",
         "compName":"None",
         "isGroundAttackEnabled":"None",
         "consumablePlanesReserve":"None",
         "consumableSquadrons":"None",
         "planesReserveAssignment":"None",
         "prepareTimeFactor":"None",
         "hasConsumablePlanes":"None",
         "components":"None"
      },
      "finders":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "iteritems":"None"
      },
      "cameras":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "iteritems":"None"
      },
      "underwaterCamera":"<Dummy>":{
         "shipWidthCoeff":"None",
         "compName":"None",
         "shipLengthCoeff":"None",
         "shipHeigthCoeff":"None",
         "maxZoomLength":"None",
         "components":"None",
         "iteritems":"None"
      },
      "paramsId":4183733712L,
      "modernization":"<Dummy>":{
         "visibilityFactorInSmoke":"None",
         "speedBoosterWorkTime":"None",
         "damageCoeffTorpedo":"None",
         "burnTime":"None",
         "collisionDamageNerf":"None",
         "airplanesFighterAimingTime":"None",
         "additionalConsumables":"None",
         "airplanesExtraHangarSize":"None",
         "visibilityDistCoeff":"None",
         "GTRepairTime":"None",
         "AAExtraBubbles":"None",
         "airplanesTorpedoBombersHealth":"None",
         "burnChanceFactorSmall":"None",
         "GMMaxDist":"None",
         "squadronVisibilityDistCoeff":"None",
         "GMCritProb":"None",
         "engineBackwardForsagePower":"None",
         "GSMaxDist":"None",
         "trigger6SearchWorkTime":"None",
         "shootShift":"None",
         "floodTime":"None",
         "airplanesSpawnTime":"None",
         "PMCritProb":"None",
         "speedCoef":"None",
         "engineBackwardForsageMaxSpeed":"None",
         "AAOuterDamage":"None",
         "uwCoeffBonus":"None",
         "__module__":"None",
         "collisionDamageApply":"None",
         "airplanesSpeed":"None",
         "guaranteedTorpedoVisibilityDistance":"None",
         "ADMaxHP":"None",
         "SGRudderTime":"None",
         "crewExpFactor":"None",
         "PMDetonationProb":"None",
         "airplanesDiveBombersHealth":"None",
         "hullHealthCoeff":"None",
         "InnerAADefenseDispExtraBubbles":"None",
         "trigger4SearchWorkTime":"None",
         "GMSigmaCount":"None",
         "airplanesFightersHealth":"None",
         "freeExpFactor":"None",
         "visibilityFactor":"None",
         "GTShotDelay":"None",
         "trigger2SearchWorkTime":"None",
         "trigger1SearchWorkTime":"None",
         "airplanesForsageDuration":"None",
         "GTMaxHP":"None",
         "prioritySectorCooldownMultiplier":"None",
         "torpedoSpeedMultiplier":"None",
         "GSShotDelay":"None",
         "torpedoSpeedBonus":"None",
         "visionTorpedoCoeff":"None",
         "engineForwardForsagePower":"None",
         "uwCoeffMultiplier":"None",
         "torpedoRangeCoefficient":"None",
         "engineBackwardUpTime":"None",
         "rlsSearchWorkTime":"None",
         "visionXRayShipCoeff":"None",
         "smokeGeneratorWorkTime":"None",
         "GTRotationSpeed":"None",
         "regenerationPlaneRate":"None",
         "airplanesTorpedoAimingTime":"None",
         "GSMaxHP":"None",
         "GSSigmaCount":"None",
         "SGRepairTime":"None",
         "engineForwardUpTime":"None",
         "trigger3SearchWorkTime":"None",
         "airplanesHealth":"None",
         "__doc__":"None",
         "GSIdealRadius":"None",
         "creditsFactor":"None",
         "AANearDamage":"None",
         "GMMaxHP":"None",
         "GMShotDelay":"None",
         "engineCritProb":"None",
         "engineRepairTime":"None",
         "airplanesEmptyReturnSpeed":"None",
         "healthPerLevel":"None",
         "GMRepairTime":"None",
         "expFactor":"None",
         "GTCritProb":"None",
         "damageCoeffGM":"None",
         "GMIdealRadius":"None",
         "floodChanceFactorPlane":"None",
         "airDefenseDispWorkTime":"None",
         "burnChanceFactorBig":"None",
         "crashCrewWorkTime":"None",
         "floodProb":"None",
         "invulnerableWorkTime":"None",
         "PMRepairTime":"None",
         "airplanesTorpedoSpeedMultiplier":"None",
         "abilReloadTimeFactor":"None",
         "squadronConsumablesWorkTimeMultiplier":"None",
         "afterBattleRepair":"None",
         "airDefenseDispReloadMultiplier":"None",
         "engineForwardForsageMaxSpeed":"None",
         "GMRotationSpeed":"None",
         "allConsumablesWorkTimeMultiplier":"None",
         "smokeGeneratorLifeTime":"None",
         "burnProb":"None",
         "regenerationHPSpeed":"None",
         "shipConsumablesWorkTimeMultiplier":"None",
         "sonarSearchWorkTime":"None",
         "SGCritProb":"None",
         "floodChanceFactor":"None",
         "visibilityFactorByPlane":"None",
         "visionDistCoeff":"None",
         "trigger5SearchWorkTime":"None",
         "scoutWorkTime":"None"
      },
      "currentSkin":4183733712L,
      "hull":"<Dummy>":{
         "turningRadius":"None",
         "visibilityCoeffUnderwaterDepthsByPlane":"None",
         "deathDetonateEffect":"None",
         "effectOnDetonatePowderChamber":"None",
         "tonnage":"None",
         "numOfParts":"None",
         "visibilityCoefPingerByPlane":"None",
         "armourDeck":"None",
         "effectShipCracksAndOilPuddle":"None",
         "batteryRegenOnSpeedCoeff":"None",
         "compName":"None",
         "defaultCamouflage":"None",
         "periscopeRotationSpeed":"None",
         "effects":"None",
         "iteritems":"None",
         "periscopeSectorVision":"None",
         "shipWheelsPresent":"None",
         "foghornEffect":"None",
         "pushingMinRudderAngle":"None",
         "sinkingEffects":"None",
         "enemyEngineEffects":"None",
         "floodLightEffect":"None",
         "baseUnderwaterPitchAngle":"None",
         "pushingMaxRudderAngle":"None",
         "deathUnderWaterBubblesEffects":"None",
         "visibilityCoefFire":"None",
         "crackCoords":"None",
         "deathFoamEffect":"None",
         "maxBuoyancySpeed":"None",
         "maxRudderAngle":"None",
         "deathBubblesEffect":"None",
         "armor":"None",
         "rudderPower":"None",
         "floodEffect":"None",
         "deathFireEffect":"None",
         "unpeculiarCamouflage":"None",
         "underwaterRollEffect":"None",
         "torpedoImpactMassImpulseCoeff":"None",
         "health":"None",
         "sinkStartTime":"None",
         "visibilityCoefGKInSmoke":"None",
         "deathPlaneEffect":"None",
         "boilerExplosionPostDeath":"None",
         "repairingCoeff":"None",
         "visibilityCoefATBA":"None",
         "deathFountainsEffect":"None",
         "visibilityFactor":"None",
         "shipBodySunkDifferenceCoeff":"None",
         "visibilityCoefFireByPlane":"None",
         "batteryPenaltyCapacity":"None",
         "consumablePlaneTypes":"None",
         "finderBase":"None",
         "buoyancyEffects":"None",
         "underwaterMaxRudderAngle":"None",
         "deathPostFireEffect":"None",
         "armourExtremities":"None",
         "sideDragCoef":"None",
         "visibilityFactorInSmoke":"None",
         "visibilityCoefGKByPlane":"None",
         "visibilityCoeffUnderwaterDepths":"None",
         "underwaterNoiseDist":"None",
         "buoyancy":"None",
         "size":"None",
         "smokeScanRadius":"None",
         "deepwaterVisionCoeff":"None",
         "visibilityCoefGK":"None",
         "effectOnDeath":"None",
         "deathTorpedoEffect":"None",
         "batteryStatesRate":"None",
         "burnNodes":"None",
         "draft":"None",
         "deepwaterVisionToPlaneCoeff":"None",
         "batteryRegenRate":"None",
         "effectCauldronExplosion":"None",
         "customMiscs":"None",
         "engineEffect":"None",
         "rudderTime":"None",
         "maxBuoyancyLevel":"None",
         "deathNodes":"None",
         "deckHeight":"None",
         "deathFaultEffect":"None",
         "flagPoleModelName":"None",
         "deathFumingEffect":"None",
         "unpeculiarCamouflageColorSchemeId":"None",
         "shipPartSunkDifferenceCoeff":"None",
         "speedCoef":"None",
         "rollEffect":"None",
         "visibilityCoeff":"None",
         "sinkTime":"None",
         "buoyancyRudderTime":"None",
         "visibilityCoefPinger":"None",
         "propellerEffectReversed":"None",
         "speedEffect":"None",
         "buoyancyStates":"None",
         "armourCit":"None",
         "visibilityCoefATBAByPlane":"None",
         "timeBeforeDeathEffect":"None",
         "mass":"None",
         "dockYOffset":"None",
         "finderHeight":"None",
         "floodNodes":"None",
         "timeBeforeCauldronExplosion":"None",
         "armourCas":"None",
         "shipBodySunkStartMassCoeff":"None",
         "deathShellEffect":"None",
         "regenerationHPSpeed":"None",
         "model":"None",
         "maxSpeed":"None",
         "isBlind":"None",
         "visibilityFactorByPlane":"None",
         "backwardPowerCoef":"None",
         "propellerEffect":"None",
         "batteryCapacity":"None",
         "components":"None",
         "shipPartSunkStartMassCoeff":"None",
         "enginePower":"None",
         "visibilityCoefPingerInSmoke":"None"
      },
      "engine":"<Dummy>":{
         "sound":"None",
         "compName":"None",
         "backwardSpeedOnFlood":"None",
         "backwardEngineForsag":"None",
         "damagedEnginePowerMultiplier":"None",
         "forwardEngineForsagMaxSpeed":"None",
         "backwardEngineForsagMaxSpeed":"None",
         "speedCoef":"None",
         "histEnginePower":"None",
         "forwardEngineForsag":"None",
         "components":"None",
         "iteritems":"None",
         "damagedEnginePowerTimeMultiplier":"None",
         "forwardEngineUpTime":"None",
         "engineType":"None",
         "forwardSpeedOnFlood":"None",
         "backwardEngineUpTime":"None"
      },
      "radars":"<Dummy>":{
         "rangingCoeff":"None",
         "compName":"None",
         "components":"None",
         "iteritems":"None"
      },
      "consumables":"<Dummy>":{
         "airDefenseDisp":"None",
         "scout":"None",
         "crashCrew":"None"
      },
      "torpedoes":"<Dummy>":{
         "useGroups":"None",
         "useOneShot":"None",
         "compName":"None",
         "components":"None",
         "iteritems":"None"
      },
      "scout":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "planeType":"None"
      },
      "aiParams":"<Dummy>":{
         "compName":"None",
         "default_distance":"None",
         "components":"None",
         "iteritems":"None",
         "max_distance":"None",
         "min_distance":"None"
      },
      "airArmament":"<Dummy>":{
         "deckPlaceCount":"None",
         "compName":"None",
         "auraCoeff":"None",
         "planesReserveCapacity":"None",
         "isIndependentLaunchpad":"None",
         "launchpadType":"None",
         "components":"None",
         "iteritems":"None",
         "launchPrepareTime":"None"
      },
      "info":"<Dummy>":{
         "pathPreview":"None",
         "pathDeadIcon":"None",
         "subtypeIDS":"None",
         "id":"None",
         "group":"None",
         "pathBigIcon":"None",
         "maxHealth":"None",
         "params":"None",
         "subtype":"None",
         "pathTinyIcon":"None",
         "nation":"None",
         "shortName":"None",
         "pathBigPreview":"None",
         "name":"None",
         "subnation":"None",
         "pathOwnTinyIcon":"None",
         "level":"None",
         "screenPath":"None",
         "pathBigIconBg":"None",
         "pathPreviewDS":"None",
         "nameIDS":"None",
         "shipScreenIDS":"None"
      },
      "pinger":"<Dummy>":{
         "waveDistance":"None",
         "centerPointRadius":"None",
         "wavesHitLifeTime":"None",
         "bowPointPercDist":"None",
         "bowPointRadius":"None",
         "detectDuration":"None",
         "waveParams":"None",
         "maxWaveHits":"None",
         "components":"None",
         "waveEffectName":"None",
         "waveHitLifeTime":"None",
         "compName":"None",
         "sternPointRadius":"None",
         "sternPointPercDist":"None",
         "waveReloadTime":"None"
      },
      "fighter":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "planeType":"None"
      },
      "level":6,
      "fireControl":"<Dummy>":{
         "sigmaCountCoef":"None",
         "compName":"None",
         "maxDistCoef":"None",
         "components":"None",
         "iteritems":"None"
      },
      "consumableScout":"<Dummy>":{
         "planeType":"None"
      },
      "torpedoBomber":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "planeType":"None"
      },
      "directors":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "iteritems":"None"
      },
      "diveBomber":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "planeType":"None"
      },
      "auxiliaryPlane":"<Dummy>":{
         "compName":"None",
         "components":"None",
         "planeType":"None"
      },
      "depthCharges":"<Dummy>":{
         "compName":"None",
         "reloadTime":"None",
         "shotDelay":"None",
         "numShots":"None",
         "gunsSequence":"None",
         "components":"None",
         "iteritems":"None",
         "maxPacks":"None"
      }
   },
   "skinId":4183733712L,
   "friendlyFireEnabled":True,
   "isClientLoaded":False,
   "invitationsEnabled":True,
   "isOwn":True
}

So:

  • shipId from game events roster is in fact shipId from player info in ModApi of worldof warships
  • The shipId I’m looking for is actually in field shipInfo.id Overwolf is using shipInfo.level already to get the ship level/Tier. Looks like feature request
  • We can discard the part about ship name as this is not that important :slight_smile:

Best Regards!

I will move it to the game events feature request category, and we will discuss it internally and update you. Thanks!