2020-02-17

游戏填充问题

  • 每一时刻都被填充的状态

    • 存活状态下
      • playerid
      • ***alive or dead
      • ***hp
      • ***sheild
      • x
      • y
      • rotation
      • bullets
      • deathBy
      • crystal
    • 死亡状态下
      • playerId
      • x
      • y
      • rotation
      • bullet
      • death
      • death_by
      • crtstal
  • 不是每一刻都被填充的状态

    • 视野和瞄准

      • enemy_in_sight(补0)
      • enemy_in_shoot(补0)
      • zombie_in_sight(补0)
      • zombie_in_shoot(补0)
    • 受到伤害

      • hurt
      • hurt_x
      • hurt_y
      • hurt_id
    • 死亡和击杀

      • kill(补0)
      • death(补0)
    • 其他

      • player_role(?)
      • hp_pack(补0)
      • stand(补0)

待沟通问题

  • hurt有时不对
  • hp_pack的问题

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 344, 'x': -86.8686294555664, 'y': -8.768817901611328, 'rotation': 188.96006774902344, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurtX': -91.15863800048828, 'hurtY': -35.97608184814453, 'hurtId': -100004, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'crystal': 100, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0, 'kill': 0, 'death': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 185, 'x': -88.74071502685547, 'y': -34.85941696166992, 'rotation': 40.137794494628906, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurt': 1, 'hurtX': -86.7630615234375, 'hurtY': -32.3853874206543, 'hurtId': -100010, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'crystal': 100, 'playerRole': 0, 'shield': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'kill': 0, 'death': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 9, 'x': -88.45399475097656, 'y': -33.54106521606445, 'rotation': 52.73005676269531, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurt': 1, 'hurtX': -86.7630615234375, 'hurtY': -32.3853874206543, 'hurtId': -100010, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'crystal': 100, 'playerRole': 0, 'shield': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'kill': 0, 'death': 0}

{'playerId': -100001, 'x': -88.20670318603516, 'y': -32.89285659790039, 'rotation': 65.26170349121094, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurt': 1, 'hurtX': -86.7630615234375, 'hurtY': -32.3853874206543, 'hurtId': -100010, 'death': 1, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 1], 'crystal': 40, 'playerRole': 0, 'aliveOrDead': 0, 'hp': 0, 'shield': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'kill': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 441, 'x': 144.51528930664062, 'y': 93.4818115234375, 'rotation': 11.606001853942871, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurt': 1, 'hurtX': 145.13832092285156, 'hurtY': 96.51537322998047, 'hurtId': -100007, 'kill': 1, 'death': 1, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 1], 'crystal': 65, 'playerRole': 0, 'shield': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 174, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurtX': -135.12916564941406, 'hurtY': 101.10057830810547, 'hurtId': -100009, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0}
{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 174, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0, 'hurtX': 0, 'hurtY': 0, 'hurtId': 0}
{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 121, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurtX': -135.12916564941406, 'hurtY': 101.10057830810547, 'hurtId': -100009, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 121, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0, 'hurtX': 0, 'hurtY': 0, 'hurtId': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 70, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurtX': -135.12916564941406, 'hurtY': 101.10057830810547, 'hurtId': -100009, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 70, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0, 'hurtX': 0, 'hurtY': 0, 'hurtId': 0}

{'playerId': -100001, 'aliveOrDead': 1, 'hp': 800, 'shield': 13, 'x': -131.76564025878906, 'y': 97.6402359008789, 'rotation': 315.8128662109375, 'bullets': 30, 'enemyInSight': 1, 'enemyInShoot': 1, 'hurtX': -135.12916564941406, 'hurtY': 101.10057830810547, 'hurtId': -100009, 'kill': 1, 'death': 2, 'deathBy': [0, 0, 0, 0, 0, 0, 0, 0, 0, 2], 'crystal': 36, 'playerRole': 0, 'hpPacks': 0, 'standOrSquat': 0, 'zombieInSight': 0, 'zombieInShoot': 0, 'hurt': 0}

你可能感兴趣的:(2020-02-17)