URL:
  <http://gna.org/bugs/?19142>

                 Summary: attacks can be simulated between units (for which
this shouldn't be possible)
                 Project: Battle for Wesnoth
            Submitted by: anonymissimus
            Submitted on: Do 08 Dez 2011 22:34:27 GMT
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Whiteboard
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: trunk r52196
        Operating System: win xp

    _______________________________________________________

Details:

I think I hit the bug mentioned here
http://forum.wesnoth.org/viewtopic.php?p=511144#p511144
and got a backtrace so posting it.
++
Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c05b62 in msvcrt!_assert () from E:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c05b62 in msvcrt!_assert () from E:\WINDOWS\system32\msvcrt.dll
#1  0x00a09a77 in wb::manager::save_temp_attack (this=0x140077c8,
    attacker_loc=..., defender_loc=..., weapon_choice=1)
    at C:\wesnoth\src\whiteboard\manager.cpp:747
#2  0x007e1fcc in events::mouse_handler::save_whiteboard_attack (
    this=0x22b3b4, attacker_loc=..., defender_loc=..., weapon_choice=1)
    at C:\wesnoth\src\mouse_events.cpp:750
#3  0x007e00ab in events::mouse_handler::left_click (this=0x22b3b4, x=601,
    y=601, browse=true) at C:\wesnoth\src\mouse_events.cpp:512
#4  0x007e70d6 in events::mouse_handler_base::mouse_press (this=0x22b3b4,
    event=..., browse=true) at C:\wesnoth\src\mouse_handler_base.cpp:143
#5  0x007df5b4 in events::mouse_handler::mouse_press (this=0x22b3b4,
    event=..., browse=true) at C:\wesnoth\src\mouse_events.cpp:402
#6  0x0054b22e in controller_base::handle_event (this=0x22b34c, event=...)
    at C:\wesnoth\src\controller_base.cpp:91
#7  0x005949f6 in events::pump () at C:\wesnoth\src\events.cpp:380
#8  0x0054ba5a in controller_base::play_slice (this=0x22b34c,
    is_delay_enabled=true) at C:\wesnoth\src\controller_base.cpp:197
#9  0x00881514 in playmp_controller::play_network_turn (this=0x22b34c)
    at C:\wesnoth\src\playmp_controller.cpp:496
#10 0x0087ef10 in playmp_controller::play_side (this=0x22b34c,
side_number=1,
    save=true) at C:\wesnoth\src\playmp_controller.cpp:134
#11 0x00886c2d in playsingle_controller::play_turn (this=0x22b34c,
save=true)
    at C:\wesnoth\src\playsingle_controller.cpp:591
#12 0x00884b9f in playsingle_controller::play_scenario (this=0x22b34c,
    story=..., skip_replay=false)
    at C:\wesnoth\src\playsingle_controller.cpp:391
#13 0x0087427c in playmp_scenario (game_config=..., level=0x22bdb4,
disp=...,
    state_of_game=..., story=..., skip_replay=false, io_type=@0x22c7bc,
    end_level=...) at C:\wesnoth\src\playcampaign.cpp:166
#14 0x008770fb in play_game (disp=..., gamestate=..., game_config=...,
    io_type=IO_CLIENT, skip_replay=false)
    at C:\wesnoth\src\playcampaign.cpp:369
#15 0x007f0dfd in enter_wait_mode (disp=..., game_config=..., chat=...,
    gamelist=..., observe=false) at C:\wesnoth\src\multiplayer.cpp:454
#16 0x007f2313 in enter_lobby_mode (disp=..., game_config=..., chat=...,
    gamelist=...) at C:\wesnoth\src\multiplayer.cpp:624
#17 0x007f3280 in mp::start_client (disp=..., game_config=..., host=...)
    at C:\wesnoth\src\multiplayer.cpp:697
#18 0x005f31c8 in game_controller::play_multiplayer (this=0xe67ebd8)
    at C:\wesnoth\src\game_controller.cpp:1034
#19 0x005de981 in do_gameloop (argc=2, argv=0xe676138)
    at C:\wesnoth\src\game.cpp:536
#20 0x005df574 in SDL_main (argc=2, argv=0xe676138)
    at C:\wesnoth\src\game.cpp:636
#21 0x00a441cb in console_main (argc=2, argv=0xe676138)
    at ./src/main/win32/SDL_win32_main.c:315
#22 0x00a44288 in WinMain (hInst=0x400000, hPrev=0x0,
    szCmdLine=0x241eff "-d", sw=10) at ./src/main/win32/SDL_win32_main.c:398
#23 0x00a43946 in main ()
--

As for how-to-reproduce, I don't quite know. Try simulating attacks between
units of an opponent side with a client which has the wb enabled and while it
is the turn of the side whose units you try to make to attack each other.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19142>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to