You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
press R repeatedly to be promoted to the highest level
select Maelstrom mission and complete it. Now 3 extra balls would appear in the playfield
repeat 3). Each time repeating 3) the ball count in the playfield would +3 (1->4->7->...). Repeat until there are 19 balls in the playfield (note that we have enabled bmax so would not lose any balls)
now repeat 3) another time. The game will crash after the mission is completed.
v2.1.0 flatpak version. ubuntu 24.04.
The text was updated successfully, but these errors were encountered:
I think this behaviour matches the original. If you enable hidden test and press b, it spawns another ball. Or at least it's supposed to in the original? I don't think 3DPB supports multiple balls on screen at all.
Regardless, if you press b about 20 times the game will crash.
Unhandled exception at 0x010048c5 in PINBALL.EXE: 0xC0000005: Access violation writing location 0x00000000.
And doing the same in the decomp (where it actually spawns more balls on screen):
SpaceCadetPinball: /home/randomno/SpaceCadetPinball/SpaceCadetPinball/TSink.cpp:84: static void TSink::TimerExpired(int, void*): Assertion ((void)"Failure to create ball in sink", ball)' failed.
EDIT: Okay, thanks to another comment in this repo I learned you can enable cheats in Full Tilt with "hidden[tab]test". Spamming B crashes with Assertion Failed: ball != NULL && "Failure to create ball in sink" in file Common\Src\pbctrl.cpp, at line 3717
V2.1.0 closely follows FT code for the ball, so this behavior is as designed.
There is a hard limit of 20 on number of balls in play, mostly imposed by the renderer.
New ball fails to spawn when this limit is reached.
Game crashes because there is no code for handling failed ball spawns.
Weirdly enough, the ‘b’ cheat itself has all the safeguards; crashes happen in the rest of game logic, such as TSink.
Ball slot exhaustion can never happen in game; at most three balls can be active at once during multi-ball event.
Now the question is – does altering this behavior makes sense?
I theory, crashing the game should be impossible, even with dev tools.
However, this bug seems very niche, and fixing it will not improve main game loop (unless we make an alt table with more than 20 active balls)).
How to reproduce:
v2.1.0 flatpak version. ubuntu 24.04.
The text was updated successfully, but these errors were encountered: