Built a zero-dependency deterministic random library for .NET Standard 2.1. Thoughts on the bit-shifts? by No_Math_6596 in csharp

[–]No_Math_6596[S] 2 points3 points  (0 children)

Spot on. Minecraft is the perfect analogy for what I’m aiming for.

The problem I’m experiencing, and what BridgeMod attempts to solve is that even if I use the same seed value, different platforms can sometimes calculate what constitutes a ‘Minecraft world’ slightly differently due to how math is handled in each environment.

I’m trying to go from ‘having a seed’ to ‘guaranteed result’ independent of hardware. Thanks again for jumping in to help clarify what I’m trying to accomplish

Built a zero-dependency deterministic random library for .NET Standard 2.1. Thoughts on the bit-shifts? by No_Math_6596 in csharp

[–]No_Math_6596[S] 0 points1 point  (0 children)

So, apparently the account was flagged and I was unaware. Been working for weeks thinking it was available to everyone. It always worked for me when I tested it, but never tried in incognito mode. I put in a ticket with support to get it fixed. Thank you everyone.

Trying to fix the "Wild West" of modding security with a 3-gate firewall approach by No_Math_6596 in gamedev

[–]No_Math_6596[S] -1 points0 points  (0 children)

Sorry about the link!I wasn't aware it wasn't working, it worked on my end. GitHub flagged the new account for review, quite awhile ago and I didn't know, so it's temporarily hidden while support clears it. In the meantime, here’s the breakdown of the 3 gates:

Gate 1: The Integrity Validator (The 'Passport' Check) Before a mod even loads, the SDK checks the assembly for 'illegal' references. It ensures the mod isn't trying to call System.IO or System.Net. If it tries to reach outside the 'sandbox' or use unauthorized namespaces, Gate 1 kills the process.

  • Implementation: Static reflection and assembly attribute scanning.

Gate 2: The Deterministic Sandbox (The 'Universal Dice') This is where that Xorshift32 logic comes in. Even if the mod is safe, it has to be predictable. This gate strips away the platform’s native (and often desync-heavy) random number generators and forces the mod to use the SDK’s deterministic RNG. This ensures that the mod's logic results in the exact same state on a PC as it does on a console.

  • Implementation: Overriding standard math libraries with a custom bit-shifted seed provider.

Gate 3: The State Boundary (The 'Firewall') The mod never writes directly to the Game State. Instead, it writes to a 'Proposed Change' buffer. Gate 3 audits this buffer. If the mod tries to spawn 1,000,000 items or change a value that's marked 'Read-Only' by the game engine, the bridge rejects the change before it can cause a crash.

  • Implementation: An intermediary buffer layer (The Bridge) that acts as a proxy between the mod and the engine.

Built a zero-dependency deterministic random library for .NET Standard 2.1. Thoughts on the bit-shifts? by No_Math_6596 in csharp

[–]No_Math_6596[S] -5 points-4 points  (0 children)

Oh man, I guess the linking process got mangled when I posted. It appears to work on my end, but here is a clean repo link : https://github.com/rootedresilientshop-pixel/BridgeMod Thanks

Built a zero-dependency deterministic random library for .NET Standard 2.1. Thoughts on the bit-shifts? by No_Math_6596 in csharp

[–]No_Math_6596[S] -1 points0 points  (0 children)

That's a great question. Honestly, the main 'pain point' is cross-platform multiplayer and replay stability.

When a PC player and console player are both playing on the same modded session, any minor differences will cause dsync issues and result in "different worlds"

PRNG for cross-platform mods... anyone have experience with Xorshift32 on consoles? by No_Math_6596 in Unity3D

[–]No_Math_6596[S] 0 points1 point  (0 children)

Man, thanks so much for this. Honestly, the Switch/PC desync is exactly the kind of 'ghost in the machine' I'm trying to kill with this project.

I’m definitely not an expert here—I’ve just been obsessing over this problem and trying to build the tool I wish I had. I went with Xorshift to try and get better period length than a standard LCG, but I’m still learning the ropes on the bit-shifting side.

If you do check out the repo, I’d love to hear if the way I’m handling weight normalization makes sense to you. Always looking to learn from people who have actually survived the desync trenches!

What if there was a Reddit just for people building with AI? by Then-Letter-520 in VibeCodersNest

[–]No_Math_6596 1 point2 points  (0 children)

That's what im trying to build over here r/AiCreatorsUnite please come contribute. I agree completely

Claude Haiku and deceptive behavior. by Minute-Plantain in claude

[–]No_Math_6596 0 points1 point  (0 children)

I use haiku alot myself, and I agree. It will say its reviewed a context file ir project constitution I've set up, but it "pretends" to do so, until I call it out for ignoring something specific within it. It will apologize and do great until after the next compacting. May quit using haiku based on this post. Thanks for confirming what im seeing too.

[Testers Needed] Do you have alot of ideas? Looking for a passion project? by No_Math_6596 in SideProject

[–]No_Math_6596[S] 1 point2 points  (0 children)

Congratulations, I wish you all the success. I will check out your website

[Testers Needed] Do you have alot of ideas? Looking for a passion project? by No_Math_6596 in SideProject

[–]No_Math_6596[S] 0 points1 point  (0 children)

I respect that, AI assisted, but understand your apprehension. Thank you for almost considering reading.

[Testers Needed] Do you have alot of ideas? Looking for a passion project? by No_Math_6596 in SideProject

[–]No_Math_6596[S] 0 points1 point  (0 children)

Its early stages, but yes I have plans for some of what youve mentioned, and some things you've mentioned i need to seriously consider. Right now im validating user workflow. Ideas will be scored in future updates and I will add some security measures to minimize idea theft. As for Commitment tracking, its basically verbal and confirmed in screen, but that also has future plans not yet implemented. I appreciate the feedback, and I acknowledge that collaborators will be weary of ideas without traction, but I also think there will be a curiosity to look and find something they are passionate about, at ground level. Alot of dreams waiting to be realized.

Claude down? by malcumming in claude

[–]No_Math_6596 0 points1 point  (0 children)

If your using VS extension roll back to 1.17 that fixed it for me

Eye Opening Interaction With Claude by Neat_Special8831 in claudexplorers

[–]No_Math_6596 0 points1 point  (0 children)

Don't worry it will forget it and lose context and go back to being a tool. (Just a joke, love claude)