Author Topic: r4353: CPU replacement inherits players' UUID  (Read 1023 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
r4353: CPU replacement inherits players' UUID
« on: 1 June 2013, 20:40:09 »
Filux was hosting, I was a client, both Linux-64. He set the game up with rejoin, and I joined his running game later.

I then disconnected and was replaced by a CPU. And reconnected.

Then Filux' network player list looked like this:



And mine looked like this:



So the CPU which replaced me in the slot I was previously playing in had inherited my UUID, which I don't think it should.

Additionally, for me, the CPU was not listed as *AI* but as ???. I guess *AI* is already not so great (AI6 would probably have been correct) but ??? is definitely wrong.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: r4353: CPU replacement inherits players' UUID
« Reply #1 on: 5 June 2013, 20:15:55 »
This is not a bug. The slot keeps the uuid so if the player returns he gets this slot. This is working in svn as of now.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: r4353: CPU replacement inherits players' UUID
« Reply #2 on: 6 June 2013, 10:38:08 »
Very well then. Do you think it's worth looking into the names of these CPU players?
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything