package egoboo-data
found 163629 egoboo/1:2.8.1-1
quit

Mark Purcell <m...@debian.org> writes:

>    * Upstream fixes:
>      - Closes: #163629: egoboo-data: rogue can gain full speed even with ball

Nope, it has not been fixed.
When you pick up the iron ball, it lowers your maximum acceleration:

| Hardware watchpoint 4: $rogue->maxaccel_reset
| 
| Old value = 0.875
| New value = 0.5625
| chr_set_maxaccel (pchr=0x12780d8, new_val=0.5625) at char.c:10091
| (gdb) bt
| #0  chr_set_maxaccel (pchr=0x12780d8, new_val=0.5625) at char.c:10091
| #1  0x000000000045ab09 in enchant_apply_add (ienc=1, value_idx=5, ieve=76) at 
enchant.c:686
| #2  0x000000000045b4af in enc_config_do_init (penc=0x141ba48) at enchant.c:869
| #3  0x000000000045c3b7 in enc_config_init (penc=0x141ba48) at enchant.c:1317
| #4  0x000000000045c2b0 in enc_run_config (penc=0x141ba48) at enchant.c:1259
| #5  0x000000000045bfa3 in enc_config_activate (penc=0x141ba48, 
max_iterations=100) at enchant.c:1146
| #6  0x000000000045cf22 in spawn_one_enchant (owner=125, target=123, 
spawner=125, enc_override=200, modeloptional=256) at enchant.c:1525
| #7  0x00000000004dfb1f in scr_EnchantTarget (pstate=0x7fffffffe0d0, 
pself=0x127a5a8) at script_functions.c:2752
| #8  0x00000000004c94e3 in scr_run_function (pstate=0x7fffffffe0d0, 
pself=0x127a5a8) at script.c:571
| #9  0x00000000004c834f in scr_run_function_call (pstate=0x7fffffffe0d0, 
pself=0x127a5a8) at script.c:316
| #10 0x00000000004c7eb0 in scr_run_chr_script (character=125) at script.c:249
| #11 0x000000000046d364 in let_all_characters_think () at game.c:3600
| #12 0x00000000004632b2 in update_game () at game.c:818
| #13 0x0000000000463dc3 in do_game_proc_running (gproc=0x1723bc0) at 
game.c:1190
| #14 0x0000000000464276 in do_game_proc_run (gproc=0x1723bc0, 
frameDuration=0.033644914627075195) at game.c:1344
| #15 0x0000000000504736 in do_ego_proc_running (eproc=0x195d2c0) at 
egoboo.c:304
| #16 0x0000000000504a05 in SDL_main (argc=1, argv=0x7fffffffe398) at 
egoboo.c:435
| #17 0x00000000005239e9 in main (argc=1, argv=0x7fffffffe398) at 
platform/sys_linux.c:65

When you are stepping into a bear trap, your maximum acceleration
first returns to its original value:

| Hardware watchpoint 4: $rogue->maxaccel_reset
| 
| Old value = 0.5625
| New value = 0.875
| chr_set_maxaccel (pchr=0x12780d8, new_val=0.875) at char.c:10091
| (gdb) bt
| #0  chr_set_maxaccel (pchr=0x12780d8, new_val=0.875) at char.c:10091
| #1  0x000000000045da7c in enchant_remove_add (ienc=1, value_idx=5) at 
enchant.c:1731
| #2  0x0000000000458efd in remove_enchant (ienc=1, enc_parent=0x0) at 
enchant.c:284
| #3  0x0000000000459d8d in enchant_apply_set (ienc=0, value_idx=2, profile=41) 
at enchant.c:463
| #4  0x000000000045b481 in enc_config_do_init (penc=0x141b790) at enchant.c:863
| #5  0x000000000045c3b7 in enc_config_init (penc=0x141b790) at enchant.c:1317
| #6  0x000000000045c2b0 in enc_run_config (penc=0x141b790) at enchant.c:1259
| #7  0x000000000045bfa3 in enc_config_activate (penc=0x141b790, 
max_iterations=100) at enchant.c:1146
| #8  0x000000000045cf22 in spawn_one_enchant (owner=103, target=123, 
spawner=103, enc_override=200, modeloptional=256) at enchant.c:1525
| #9  0x00000000004dfb1f in scr_EnchantTarget (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script_functions.c:2752
| #10 0x00000000004c94e3 in scr_run_function (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script.c:571
| #11 0x00000000004c834f in scr_run_function_call (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script.c:316
| #12 0x00000000004c7eb0 in scr_run_chr_script (character=103) at script.c:249
| #13 0x000000000046d364 in let_all_characters_think () at game.c:3600
| #14 0x00000000004632b2 in update_game () at game.c:818
| #15 0x0000000000463dc3 in do_game_proc_running (gproc=0x1723bc0) at 
game.c:1190
| #16 0x0000000000464276 in do_game_proc_run (gproc=0x1723bc0, 
frameDuration=0.033865928649902344) at game.c:1344
| #17 0x0000000000504736 in do_ego_proc_running (eproc=0x195d2c0) at 
egoboo.c:304
| #18 0x0000000000504a05 in SDL_main (argc=1, argv=0x7fffffffe398) at 
egoboo.c:435
| #19 0x00000000005239e9 in main (argc=1, argv=0x7fffffffe398) at 
platform/sys_linux.c:65

I think the above happens because
basicdat/globalobjects/traps/beartrap.obj/enchant.txt
contains this line:
Remove overridden enchants ( TRUE or FALSE )    : TRUE

Immediately afterwards, the bear trap resets your maximum
acceleration to zero:

| Hardware watchpoint 4: $rogue->maxaccel_reset
| 
| Old value = 0.875
| New value = 0
| chr_set_maxaccel (pchr=0x12780d8, new_val=0) at char.c:10091
| (gdb) bt
| #0  chr_set_maxaccel (pchr=0x12780d8, new_val=0) at char.c:10091
| #1  0x000000000045ab09 in enchant_apply_add (ienc=0, value_idx=5, ieve=41) at 
enchant.c:686
| #2  0x000000000045b4af in enc_config_do_init (penc=0x141b790) at enchant.c:869
| #3  0x000000000045c3b7 in enc_config_init (penc=0x141b790) at enchant.c:1317
| #4  0x000000000045c2b0 in enc_run_config (penc=0x141b790) at enchant.c:1259
| #5  0x000000000045bfa3 in enc_config_activate (penc=0x141b790, 
max_iterations=100) at enchant.c:1146
| #6  0x000000000045cf22 in spawn_one_enchant (owner=103, target=123, 
spawner=103, enc_override=200, modeloptional=256) at enchant.c:1525
| #7  0x00000000004dfb1f in scr_EnchantTarget (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script_functions.c:2752
| #8  0x00000000004c94e3 in scr_run_function (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script.c:571
| #9  0x00000000004c834f in scr_run_function_call (pstate=0x7fffffffe0d0, 
pself=0x1262ad8) at script.c:316
| #10 0x00000000004c7eb0 in scr_run_chr_script (character=103) at script.c:249
| #11 0x000000000046d364 in let_all_characters_think () at game.c:3600
| #12 0x00000000004632b2 in update_game () at game.c:818
| #13 0x0000000000463dc3 in do_game_proc_running (gproc=0x1723bc0) at 
game.c:1190
| #14 0x0000000000464276 in do_game_proc_run (gproc=0x1723bc0, 
frameDuration=0.033865928649902344) at game.c:1344
| #15 0x0000000000504736 in do_ego_proc_running (eproc=0x195d2c0) at 
egoboo.c:304
| #16 0x0000000000504a05 in SDL_main (argc=1, argv=0x7fffffffe398) at 
egoboo.c:435
| #17 0x00000000005239e9 in main (argc=1, argv=0x7fffffffe398) at 
platform/sys_linux.c:65

In five seconds, the enchantment from the bear trap times out:

| Hardware watchpoint 4: $rogue->maxaccel_reset
| 
| Old value = 0
| New value = 0.875
| chr_set_maxaccel (pchr=0x12780d8, new_val=0.875) at char.c:10091
| (gdb) bt
| #0  chr_set_maxaccel (pchr=0x12780d8, new_val=0.875) at char.c:10091
| #1  0x000000000045da7c in enchant_remove_add (ienc=1, value_idx=5) at 
enchant.c:1731
| #2  0x0000000000458efd in remove_enchant (ienc=1, enc_parent=0x0) at 
enchant.c:284
| #3  0x000000000045e754 in cleanup_all_enchants () at enchant.c:1986
| #4  0x0000000000462a42 in cleanup_all_objects () at game.c:619
| #5  0x0000000000462a86 in finalize_all_objects () at game.c:651
| #6  0x00000000004632e4 in update_game () at game.c:829
| #7  0x0000000000463dc3 in do_game_proc_running (gproc=0x1723bc0) at 
game.c:1190
| #8  0x0000000000464276 in do_game_proc_run (gproc=0x1723bc0, 
frameDuration=0.040483951568603516) at game.c:1344
| #9  0x0000000000504736 in do_ego_proc_running (eproc=0x195d2c0) at 
egoboo.c:304
| #10 0x0000000000504a05 in SDL_main (argc=1, argv=0x7fffffffe398) at 
egoboo.c:435
| #11 0x00000000005239e9 in main (argc=1, argv=0x7fffffffe398) at 
platform/sys_linux.c:65

The enchantment from the iron ball is not reapplied, even though
you're still holding the ball.

Attachment: pgp8tGfZ6Xibc.pgp
Description: PGP signature

Reply via email to