Homebrew PKMN-NTR: Real-time memory editing program for Pokémon games [WIP]

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
28
XP
965
Country
Italy
New version is up: https://github.com/drgoku282/PKMN-NTR/releases/tag/2.0.0-RC1

Critical bugs have started to cease, so the program is almost ready for a stable release, so we enter to the Release Candidate phase. Compared with last beta here are the changes:
  • Breeding bot will use the send to box feature instead of depositing the eggs manually. Now you need to have your party full before starting the bot, it will deposit eggs in the first slot of the selected box.
  • Gen 6 and 7 have separated TSV lists.
  • Added buttons for clearing the Filter constructor, breeding and soft-reset tabs.
  • Fixed reported errors in both soft-reset bots.
  • Gen 7 Wonder trade bot will try to continue on connection error (gray message on bottom screen). Will stop if it finds the power off error.

I can officially say that you fixed the bug which didn't start the Dialog with the blue lady after one softreset in the region changed emuNAND! I tested it in the Jap, Kor and Usa. It works perfectly! It checks if the dialog didn't start and then it starts it witouth any problems! You can remove from the Known issues this line:
  • A report says that the bot doesn't work in a japanese region changed emuNAND using a CIA-installed game. Needs confirmation
Sometimes it still happens to have a bug after 100 softreset, it keep saying trying to check the party, but it didn't start the dialog with the lady yet. And so there is a loop of trying to check the party without any results. But if i start the dialog pressing A, it continue without stopping. Can you add a check that after like 10-15 trying to check the party without any results, it send the command to trigger the dialog pressing A button? In that way it will fix completely the bug i think
 
Last edited by Real.96,

Rick Astley

The real one !
Member
Joined
Apr 1, 2015
Messages
489
Trophies
0
XP
714
Country
Hey !
Don't know if this has been reported, but i'm using the last version for Sun / Moon and everytime a egg match the filters, i've the classic bug error with "An error occured : continue / quit"
I didn't copy / paste the message because it was late for me, but got it EVERYTIME that I had a matching egg.

Don't know if it's me or everybody.
Thanks o/
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
New preview version is available: https://github.com/drgoku282/PKMN-NTR/releases/tag/1.99.1.2

Changes compared with last beta:
  • All bots should be faster when sending commands to the game
  • Update checking. If a new stable version is found you'll be prompted with a message box with a link to GitHub, if the new version is a beta, it just will be indicated in the NTR log tab, next to the Last RAM read box. Either way if an update is found you can also click on the label to download the new version.
  • When the 3DS losses connection with the application the controls will be disabled automatically (indicated by "Server disconnected" in the log).
  • Also it tries to fix the gen 6 soft-reset bot issue and let's see if error/finishing messages are fixed.
 
Last edited by drgoku282,

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
28
XP
965
Country
Italy
New preview version is available: https://github.com/drgoku282/PKMN-NTR/releases/tag/1.99.1.2

Changes compared with last beta:
  • All bots should be faster when sending commands to the game
  • Update checking. If a new stable version is found you'll be prompted with a message box with a link to GitHub, if the new version is a beta, it just will be indicated in the NTR log tab, next to the Last RAM read box. Either way if an update is found you can also click on the label to download the new version.
  • When the 3DS losses connection with the application the controls will be disabled automatically (indicated by "Server disconnected" in the log).
  • Also it tries to fix the gen 6 soft-reset bot issue and let's see if error/finishing messages are fixed.
Wow, I'm testing the softreset bot in 6 gen and it is so fast :O Amazing!
 

RustInPeace

Samurai Cop
Member
Joined
Oct 13, 2014
Messages
5,944
Trophies
1
Age
31
XP
5,187
Country
United States
New version doesn't connect on first try, it would give the message of making sure your IP is correct and such. Second try, the program connects.
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,631
Country
Germany
The bot still crashes every once in a while though, I guess that's because of connection hiccups and can't be fixed very easily? I'm asking because I'm planning to do a shiny living dex and would love to be able to just let my 3DS breed during the night.
 

RustInPeace

Samurai Cop
Member
Joined
Oct 13, 2014
Messages
5,944
Trophies
1
Age
31
XP
5,187
Country
United States
I didn't have this problem >.<

I think it's just first ever connection attempt with the IP address, subsequent times it always connects. Maybe it was a problem unrelated to the program, but instead my internet, not sure. A selfish request, a bot that just presses the A button. Set up in-game of course, specifically SOS chaining Ditto with the Memento mon/Adrenaline Orb trick where when that's all set up, just keep pressing A until you want to stop.
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,631
Country
Germany
The bot still crashes every once in a while though, I guess that's because of connection hiccups and can't be fixed very easily? I'm asking because I'm planning to do a shiny living dex and would love to be able to just let my 3DS breed during the night.
Something I've noticed about the crashes: They always occur at the same part of the dialog. That's a bit weird isn't it, if the crashes were really just because of the connection ?
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,631
Country
Germany
Do you have the log?
Not right now, I just changed the source code so that it just completely ignores any connection errors, rather dirty solution but at least I've got over 200 SRs without any crashes, I couldn't get more than 10-15 before.

What I know is that the crashes always happened when the bot checked if the dialog is still running, so basically somewhere in here:
Code:
case (int)srbotStates.testdialog2:
                        Report("Test if dialog has finished");
                        waitTaskbool = Program.helper.memoryinrange(dialogOff, dialogOut, 0x01);
                        if (await waitTaskbool)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.readparty;
                        }
                        else if (Program.helper.lastRead == 0x0F || Program.helper.lastRead == 0x03)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.exitdialog;
                        }
                        else if (Program.helper.lastRead == 0x11)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.nickname;
                        }
                        else
                        {
                            attempts++;
                            botresult = 3;
                            botState = (int)srbotStates.continuedialog;
                        }
                        break;
What I said before about it always crashing at a specific part of the dialog was wrong though, it just always happens sometime during the dialog.
I don't really understand how you determine wether a dialog is still active or not so I don't know what the problem is, but I do guess that it has something to do with the fact that the dialog when receiving Type:Null is very long compared to the dialog for an event Pokemon.
 
Last edited by MichiS97,

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Not right now, I just changed the source code so that it just completely ignores any connection errors, rather dirty solution but at least I've got over 200 SRs without any crashes, I couldn't get more than 10-15 before.

What I know is that the crashes always happened when the bot checked if the dialog is still running, so basically somewhere in here:
Code:
case (int)srbotStates.testdialog2:
                        Report("Test if dialog has finished");
                        waitTaskbool = Program.helper.memoryinrange(dialogOff, dialogOut, 0x01);
                        if (await waitTaskbool)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.readparty;
                        }
                        else if (Program.helper.lastRead == 0x0F || Program.helper.lastRead == 0x03)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.exitdialog;
                        }
                        else if (Program.helper.lastRead == 0x11)
                        {
                            attempts = 0;
                            botState = (int)srbotStates.nickname;
                        }
                        else
                        {
                            attempts++;
                            botresult = 3;
                            botState = (int)srbotStates.continuedialog;
                        }
                        break;
What I said before about it always crashing at a specific part of the dialog was wrong though, it just always happens sometime during the dialog.
I don't really understand how you determine wether a dialog is still active or not so I don't know what the problem is, but I do guess that it has something to do with the fact that the dialog when receiving Type:Null is very long compared to the dialog for an event Pokemon.

It just happens with Type:Null? I don't know how long is the Type:Null dialog but if it is very long, then the error result is expected, the program thinks that it got stuck on dialog and sends an error.
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,631
Country
Germany
It just happens with Type:Null? I don't know how long is the Type:Null dialog but if it is very long, then the error result is expected, the program thinks that it got stuck on dialog and sends an error.
I honestly never tried anything else but I can do so tomorrow. But yes, the dialog is pretty long so I do believe that it's just a matter of choosing the right parameters so that the bot doesn't think it got stuck.
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
I honestly never tried anything else but I can do so tomorrow. But yes, the dialog is pretty long so I do believe that it's just a matter of choosing the right parameters so that the bot doesn't think it got stuck.

Can you count how many button presses are needed to get Type:Null? I've already received it on my game, and it will take some time until I can edit my save to get it again to test.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/FdYTKAVSsXY?si=9E-2AU0JN-4hRZi3