Author Topic: r4529: Value not found in listbox name: [listBoxFactions1] value: *Observer*  (Read 757 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
While setting up a game, after activating the option to allow observers, I ran into this:

Code: [Select]
megaglest v3.8.0-beta2
Compiled using: GNUC: 40703 [64bit] on: Sep 12 2013 12:42:09 platform: Linux-X64 endianness: little
SVN: [Rev: 4529M] - using STREFLOP [SSE] - [no-denormals]
...
[] *ERROR* In [components.cpp::setSelectedItem Line: 457]
instanceName [listBoxFactions1] idx = 0 items[idx] = [Natulka]
[] *ERROR* In [components.cpp::setSelectedItem Line: 457]
instanceName [listBoxFactions1] idx = 1 items[idx] = [*Random*]
[] *ERROR* In [menu_state_custom_game.cpp::switchSetupForSlots Line: 2158] Error [Value not found in listbox name: [listBoxFactions1] value: *Observer*
Stack Trace:
./megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xa35ab2] line: 237
./megaglest:Glest::Game::GraphicListBox::setSelectedItem(std::string, bool)address [0x55bfce] line: 462
./megaglest:Glest::Game::MenuStateCustomGame::switchSetupForSlots(Glest::Game::SwitchSetupRequest**, Glest::Game::ServerInterface*&, int, int, bool)address [0x76195e] line: 2140
./megaglest:Glest::Game::MenuStateCustomGame::update()address [0x77e92e] line: 2309
./megaglest:Glest::Game::Program::loopWorker()address [0x6b7a30] line: 459
./megaglest:Glest::Game::glestMain(int, char**)address [0x69b9b7] line: 5379
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x69f576] line: 5626
./megaglest:Glest::Game::glestMainWrapper(int, char**)address [0x69f70e] line: 5698
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f053216dea5] line: 0
./megaglest() [0x516b69]address [0x516b69]
]

The game keeps working there, but I think this error should be fixed nonetheless. It's an old bug, I've run into it before but it doesn't seem to have been reported, yet (I guess I forgot).
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
Do you have specific steps to reproduce this? Were you host or client, headless server, and steps taken?

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Quote
<filux>   I never seen that bug, how do you trigger it?
<tomreyn>   setup a custom game (maybe it must be with network players and published on masterserver, not sure) with Prax. click on "advanced options", then click on "allow observers", (then maybe have a network player connect, and maybe this network player must have a different UI language set, too), then change your player slot to *observer*
<tomreyn>   i.e. i'm not exactly sure :)

... and later I tried and failed to reproduce this.

 

anything