Fixed messages 32 bytes or longer producing incorrect hashes.
This was due to the SRB2 Lua API's unintuitive bitshifting behavior.
In SRB2's Lua, x >> y actually acts more like x >> (y % 32).
This is what I like to call a "bruh moment," and it should be fixed.
This Lua script implements the SHA-256 cryptographic hash function.
SHA-256 can be used to implement checksums, for example.
local hash = sha2("")
print(hash) --> e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SOC++ implements what could be best described as assembly code encoded into SOC Actions.
It has several features, including:
Up to 8GB read-write dynamic memory per object (2^31 32-bit numbers)
Conditional jumping, unconditional and conditional branching.
Addition, Subtraction, Multiplication...
[10:56 PM] Jimita: NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
[10:58 PM] Tatsuru: Do you wanna play god? Is that what you want?
[11:04 PM] Kitoko: golden this is illegal The name is pretty self-explanatory. This Lua rotates the sprites of players against the angle of the slope they're on. Note that...
1. Pagoda Park by Rogerregorroger
2. Foliage Furnace Zone by Kanna/Kwiin
3. Knothole Coast by Apollyon
4. Emerald Aether Zone by Krabs
5. Hakuryu Dojo by Zaxel
6. Gate Garden Zone by Ruberjig
7. Overgrown Heights Zone act 2 by InferNOr
8. Square City Zone by Riolucariolu
9. Galactic Facility...
I've updated the script to version 9!
Changelog: - Hopefully slightly more consistent mods support.
---------- Post added at 04:40 PM ---------- Previous post was at 04:32 PM ----------
I've updated the script to version 9.1 (bruhpdate)!
Changelog: - bruh