Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwired teleport can be safely entered when an entirely blocked wired teleport network is after it in reading order #44

Open
ncrecc opened this issue Feb 24, 2021 · 0 comments
Labels
bug Something isn't working compat: cc2 Compatibility issue with Steam/CC2 hell problem i have no idea what to do about this oh god

Comments

@ncrecc
Copy link

ncrecc commented Feb 24, 2021

teleport1
Moving right crashes CC2, and could be used as a (terrible) hazard in a user-made level. Emulate crashes as a special type of death?

Per bitbusters wiki:

Usually, unwired blue teleports function together as one network; however, due to a glitch, it is possible for an unwired teleport to send objects to a wired teleport. When the teleport search reaches the top left corner of the level, it "remembers" all teleport networks it has seen since the last unwired teleport, including all wires attached to those networks, but not the fact that it is looking for an unwired teleport. Consequently, the search always assumes that, after restarting from the bottom right, the network of the first teleport it sees (wires do not count this time) that isn't on one of the remembered networks is the current network. If this network has only one teleport, then the movable object will either exit that teleport if it is uncovered (even if the exit direction is blocked) or fail to teleport otherwise. If the network has more than one teleport, then the object will teleport normally as if it entered a teleport on that network, unless all such teleports are blocked or covered, in which case the game freezes and crashes.

And the obscure CC2 behaviours document says this is because the game will "get stuck in an infinite loop looking for an unblocked teleport"

@eevee eevee added bug Something isn't working compat: cc2 Compatibility issue with Steam/CC2 hell problem i have no idea what to do about this oh god labels Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compat: cc2 Compatibility issue with Steam/CC2 hell problem i have no idea what to do about this oh god
Projects
None yet
Development

No branches or pull requests

2 participants