robertkirkman / sm64ex-coop

SM64 online co-op mod, forked from https://github.com/sm64pc/sm64ex, changes for Android and other open-source UNIX-like platforms
43 stars 14 forks source link

RNG being different between PC and Mobile #18

Open Blockyyy opened 1 month ago

Blockyyy commented 1 month ago

It seems Mobile users and PC users have different RNG, which could break mods that use RNG

  1. Make a mod
  2. Set a seed
  3. use math.random
  4. compare between devices
robertkirkman commented 1 month ago

Hi Blocky could you please post a complete and functioning .lua mod file that shows an example of what you mean? That will show a Minimal Reproducible Example that I can use to ensure I see the same results you're seeing.

robertkirkman commented 1 month ago

(What would also be great is an example of an actual "mod broken because of it using RNG")