Admiral-Fish / CitraRNG

GNU General Public License v3.0
4 stars 7 forks source link

can't connect #3

Closed Imaqtpao closed 5 years ago

Imaqtpao commented 5 years ago

can't connect. but when i play Ultra Moon, Moon connects, and vice versa. the only thing working correctly is the Wild Pokemon profile. please help.

Admiral-Fish commented 5 years ago

Have you tried using the latest commit? I have made some changes recently that might have helped with connection stuff.

Also make sure you have the game loaded in Citra before trying to connect.

Imaqtpao commented 5 years ago

okay okay, i'll try dude. thank you. i'll update you, thank you very much.

Imaqtpao commented 5 years ago

cloned the latest commit, but it's still not responding when i connect it with ultra moon. :c help.

Imaqtpao commented 5 years ago

image

bpxhmemcpy commented 5 years ago

This happens when one is not using version v1.2 as specified in the readme. Script is reading bogus initial seed then while currSeed != self.currentSeed goes into infinite loop (needs a counter and check for >= table size).

Addresses differences for v1.0 are:

self.seedAddress = 0x326601C4
self.sfmtStart = 0x330D35CC
self.sfmtIndex = 0x330D3F8C

HTH

Admiral-Fish commented 5 years ago

Readme says 1.2 for a reason. I don't care to add 1.0. I can probably add a check to make sure initial seed isn't garbage.