Need help to find pointer path to Gate B event state
10 months ago
Russia

Autosplitter in it's current state is mostly fine but unable to do Gate B split when event is triggered from OoB. The reason is current Gate B split requirement: player Y position must be between 42 and 42.0781, and these values ~approximately correspond to the trigger location on the hallway down. The main problem is OoB: player can spawn in elevator below the floor level, so player's Y position is already less than 42, making autosplit requirement unreachable.

I tried to box trigger by XYZ coordinates, but this solution is suitable only for seeds having Gate B at the same location. I also did not test this requirement in other circumstances (such as SCP-1499 dimension, Gate A and others), so my conclusion: this is improper solution to problem.

I think the only way to make accurate split at the Gate B event to find game variable that stores Gate B event state. When player touches the trigger, event state changes value from 1 to 2, so there definitely is a way to make accurate split.

But I can't find this variable. I lack experience in working with RAM or programs like CheatEngine, so I rely on community help.

Links:

  1. Github issue: https://github.com/forxandknives/SCP-Autosplitters/issues/3

  2. Exact change to autosplitter (XYZ-method):

vars.gateBEnding = current.xaxis < 65f && current.zaxis < 3f && current.yaxis > 40f && current.deathTimer == 0 ? true : false; 

https://github.com/forxandknives/SCP-Autosplitters/blob/master/Containment_Breach/1.3.11/1.3.11NEW.ASL#L122

  1. Exact line where SCP:CB changes the event state: https://github.com/Regalis11/scpcb/blob/master/UpdateEvents.bb#L9256C28-L9256C28

  2. Demo vid:

Bearbeitet von der Autor 10 months ago
New York City, NY, USA

the event state for gate b is stored on the stack, so you cant read it from livesplit unless you allocate your own block of memory and overwrite the assembly to write the event state value to your memory. you can get a pointer to any door in the game though, so if you get the catwalk door that closes when you finish the game you can read its value of open or locked.

Spielstatistiken
Follower
417
Läufe
698
Spieler
180
Neueste Nachrichten
Small rule changes / Verifier applications are open!

(I guessed the link for this so I hope it works)

Hi! First things first, I'm Amy, the newest Admin / Super Moderator!

Next, a few rules have been changed:

  • All runs must show the version number

  • Set Seed Inbounds and Random Seed Inbounds runs no longer require 008 to be contained.

Lastly

11 days ago