Homebrew [WIP] PKMN NTR - Pokémon Gen 6 Memory Editor

  • Thread starter fadx
  • Start date
  • Views 113,290
  • Replies 1,081
  • Likes 32
Status
Not open for further replies.

hacksn5s4

Banned!
Banned
Joined
Aug 12, 2015
Messages
4,332
Trophies
0
XP
1,322
Country
After testing not really, when the character is running it performs a test to check if an egg is available, the time that the test takes it's enough to make the character run the entire up/down distance most of the time, with the bike, you'll have larger dead times. Also the bike messes up with map coordinates, because you can end in middle of two spaces. I can dismount and walk to fix this, but that need additional tests, in the long run, it makes the bike actually slower since I'm moving short distances.



It's not a good idea, because the bot could just loop forever between two states with no warning to the user. Also that kind of errors doesn't happen often anymore, the most common error is the black screen issue, which is not related to touch/button errors.
well eggs don't need to be checked that offen make it check when the bike is touching the day care man then it goes back and forth a few times then check the egg again like the eggs are being checked way to offen like the best potion to bot the bike is having the bike face the side of the day care man on the bike then it hits the beach then waits 1 sec then hits the day care man then checks if theres an egg
 
Last edited by hacksn5s4,

drgoku282

Well-Known Member
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
well heres how the bike would work you put it in between the day care man and the beach on the battle resort and it keeps moving untill it hits the end of the beach then it keeps moving until it hits the day care man and you don't need to do egg checking that offen

That would make the bot even slower than just using the bike and going up and down, I need to check often to make the bot as fast as possible and pick the egg as soon is available. And remember, using the bike messes up with map coordinates, to correctly check them I need to dismount, walk one step and then do the test, that adds more time.
 

drgoku282

Well-Known Member
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
@hacksn5s4: I'll test bike again later, I think I can handle the problem with other methods, but not going to change up and down movement, the main reason is because code wouldn't need to be changed for the other two daycares.

So I noticed you added Party View function. Any chance you'll get around to being able edit them?

I can write party with no problems but I disabled the feature for safety and for the noobs that will not read warnings, as discussed before the game handles party data in a weird manner, I think I got how it is done, let's call the in-game party the team slots and the memory party the ram slots:
  • At boot or reset, the game loads the party data properly, the team slots matches the ram slots.
  • The problem starts when you start changing your party, if you switch party members, their position their team slots will change, but the ram slots will remain the same.
  • When you deposit pokémon in the PC, their ram slot is cleared, and the team slots will change accordingly, but the ram slots for the other pokes will remain the same.
  • When you withdraw pokémon I think it goes to the first available slot in the ram, but it doesn't necessarily matches its team slot (haven't tested it but after reset the first poke always goes to ram slot 2 from the event soft-reset).
  • When you write a poke in an empty ram slot, it doesn't get properly recognized by the game.
And that's pretty much it, if you want party editing, I can easily enable the feature and add a huge warning.
 

hacksn5s4

Banned!
Banned
Joined
Aug 12, 2015
Messages
4,332
Trophies
0
XP
1,322
Country
you could also just do running for collecting the eggs then hatch them with the bike
@hacksn5s4: I'll test bike again later, I think I can handle the problem with other methods, but not going to change up and down movement, the main reason is because code wouldn't need to be changed for the other two daycares.



I can write party with no problems but I disabled the feature for safety and for the noobs that will not read warnings, as discussed before the game handles party data in a weird manner, I think I got how it is done, let's call the in-game party the team slots and the memory party the ram slots:
  • At boot or reset, the game loads the party data properly, the team slots matches the ram slots.
  • The problem starts when you start changing your party, if you switch party members, their position their team slots will change, but the ram slots will remain the same.
  • When you deposit pokémon in the PC, their ram slot is cleared, and the team slots will change accordingly, but the ram slots for the other pokes will remain the same.
  • When you withdraw pokémon I think it goes to the first available slot in the ram, but it doesn't necessarily matches its team slot (haven't tested it but after reset the first poke always goes to ram slot 2 from the event soft-reset).
  • When you write a poke in an empty ram slot, it doesn't get properly recognized by the game.
And that's pretty much it, if you want party editing, I can easily enable the feature and add a huge warning.
 

Apache Thunder

I have cameras in your head!
Member
Joined
Oct 7, 2007
Messages
4,426
Trophies
3
Age
36
Location
Levelland, Texas
Website
www.mariopc.co.nr
XP
6,790
Country
United States
@hacksn5s4: I'll test bike again later, I think I can handle the problem with other methods, but not going to change up and down movement, the main reason is because code wouldn't need to be changed for the other two daycares.



I can write party with no problems but I disabled the feature for safety and for the noobs that will not read warnings, as discussed before the game handles party data in a weird manner, I think I got how it is done, let's call the in-game party the team slots and the memory party the ram slots:
  • At boot or reset, the game loads the party data properly, the team slots matches the ram slots.
  • The problem starts when you start changing your party, if you switch party members, their position their team slots will change, but the ram slots will remain the same.
  • When you deposit pokémon in the PC, their ram slot is cleared, and the team slots will change accordingly, but the ram slots for the other pokes will remain the same.
  • When you withdraw pokémon I think it goes to the first available slot in the ram, but it doesn't necessarily matches its team slot (haven't tested it but after reset the first poke always goes to ram slot 2 from the event soft-reset).
  • When you write a poke in an empty ram slot, it doesn't get properly recognized by the game.
And that's pretty much it, if you want party editing, I can easily enable the feature and add a huge warning.

Yes add a warning. Or better yet add it in the code and have those who know what they're doing enable it in the code by just uncommenting a line and compiling it (plus the big warning). I have the program needed to compile this and can compile this along with PkHeX and other things...Unless you added a new depedency to this fork. But it looks like it doesn't. (haven't tried to compile it yet since I didn't have a reason to. I can compile the main fork just fine however)

you could also just do running for collecting the eggs then hatch them with the bike

He's not doing the bike idea. Just drop it please. Besides walking back and forth really quickly is just as fast. The bike is only faster for us humans because using the D-Pad can tire out our fingers more. Do you think a bot would care about that? No. It has no fingers and it won't get tired, so walking back and forth is just as fast and more pratical coding wise.

The bike seems faster, but it just isn't if you are interfacing with the game with a program instead. Keep it to the current method. That works. No need to add unnecessary complexity to the system that will only slow it down.
 
Last edited by Apache Thunder,

drgoku282

Well-Known Member
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
you could also just do running for collecting the eggs then hatch them with the bike

Egg hatching will not supported by the breeding bot. It will just deposit the eggs in the PC, because many people just hoard them for ESV/TSV purposes. A hatching bot is on the plans.

Yes add a warning. Or better yet add it in the code and have those who know what they're doing enable it in the code by just uncommenting a line and compiling it (plus the big warning). I have the program needed to compile this and can compile this along with PkHeX and other things...Unless you added a new depedency to this fork. But it looks like it doesn't. (haven't tried to compile it yet since I didn't have a reason to. I can compile the main fork just fine however)

Will do, IIRC, I haven't added other dependencies, if you can compile the other forks, this one shouldn't be different.

Also this is the last update of today, on latest commit, all day cares are supported, working on the multiple filter feature.
 
  • Like
Reactions: Apache Thunder

Sakiisa

Active Member
Newcomer
Joined
Sep 17, 2016
Messages
38
Trophies
0
Age
30
XP
83
Country
Malaysia
  • Any chance of Star sapphire and rutile ruby support i nthe mean time? I'm assuming it's difficult to pin point all the memory points :c
 

proflayton123

The Temp Loaf'
Member
Joined
Jan 11, 2016
Messages
6,032
Trophies
1
Age
24
Location
日本
Website
www.facebook.com
XP
3,211
Country
Japan

evo25.1

Well-Known Member
Newcomer
Joined
Nov 1, 2012
Messages
96
Trophies
0
Age
36
Location
united kingdom
XP
343
Country
United Kingdom
weird using the latest release SRing another Legend got to 234 SR's but then as it SoftReset this happens 1st time iv seen it over the last 3/4days and nothing in the log that says what happened
Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
Server disconnected.
Server connected.
rtRecvSocket failed: 00000000pid: 0x00000000, pname: fs, tid: 0000000000000000, kpobj: fff75820
pid: 0x00000001, pname: loader, tid: 0000000000000000, kpobj: fff75a88
pid: 0x00000002, pname: pm, tid: 0000000000000000, kpobj: fff75cf0
pid: 0x00000003, pname: sm, tid: 0000000000000000, kpobj: fff75f58
pid: 0x00000004, pname: pxi, tid: 0000000000000000, kpobj: fff761c0
pid: 0x00000005, pname: ns, tid: 0004013000008002, kpobj: fff76428
pid: 0x00000006, pname: ptm, tid: 0004013000002202, kpobj: fff76690
pid: 0x00000007, pname: cfg, tid: 0004013000001702, kpobj: fff768f8
pid: 0x00000008, pname: gpio, tid: 0004013000001b02, kpobj: fff76b60
pid: 0x00000009, pname: i2c, tid: 0004013000001e02, kpobj: fff76dc8
pid: 0x0000000a, pname: mcu, tid: 0004013000001f02, kpobj: fff77030
pid: 0x0000000b, pname: pdn, tid: 0004013000002102, kpobj: fff77298
pid: 0x0000000c, pname: spi, tid: 0004013000002302, kpobj: fff77500
pid: 0x0000000d, pname: ps, tid: 0004013000003102, kpobj: fff77768
pid: 0x0000000e, pname: ErrDisp, tid: 0004003000008a02, kpobj: fff779d0
pid: 0x0000000f, pname: menu, tid: 0004003000009802, kpobj: fff77c38
pid: 0x00000010, pname: hid, tid: 0004013000001d02, kpobj: fff77ea0
pid: 0x00000011, pname: codec, tid: 0004013000001802, kpobj: fff78108
pid: 0x00000012, pname: dsp, tid: 0004013000001a02, kpobj: fff78370
pid: 0x00000013, pname: am, tid: 0004013000001502, kpobj: fff785d8
pid: 0x00000014, pname: gsp, tid: 0004013000001c02, kpobj: fff78840
pid: 0x00000015, pname: csnd, tid: 0004013000002702, kpobj: fff78aa8
pid: 0x00000016, pname: camera, tid: 0004013000001602, kpobj: fff78d10
pid: 0x00000017, pname: mic, tid: 0004013000002002, kpobj: fff78f78
pid: 0x00000018, pname: ir, tid: 0004013000003302, kpobj: fff791e0
pid: 0x00000019, pname: nwm, tid: 0004013000002d02, kpobj: fff79448
pid: 0x0000001a, pname: socket, tid: 0004013000002e02, kpobj: fff796b0
pid: 0x0000001b, pname: http, tid: 0004013000002902, kpobj: fff79918
pid: 0x0000001c, pname: ssl, tid: 0004013000002f02, kpobj: fff79b80
pid: 0x0000001d, pname: cecd, tid: 0004013000002602, kpobj: fff79de8
pid: 0x0000001e, pname: friends, tid: 0004013000003202, kpobj: fff7a050
pid: 0x0000001f, pname: ac, tid: 0004013000002402, kpobj: fff7a2b8
pid: 0x00000020, pname: boss, tid: 0004013000003402, kpobj: fff7a520
pid: 0x00000021, pname: act, tid: 0004013000003802, kpobj: fff7a788
pid: 0x00000022, pname: news, tid: 0004013000003502, kpobj: fff7a9f0
pid: 0x00000023, pname: ndm, tid: 0004013000002b02, kpobj: fff7ac58
pid: 0x00000024, pname: nim, tid: 0004013000002c02, kpobj: fff7aec0
pid: 0x00000025, pname: dlp, tid: 0004013000002802, kpobj: fff7b128
pid: 0x000005dc, pname: sango-2, tid: 000400000011c500, kpobj: fff7b390
pid: 0x000005dd, pname: ro, tid: 0004013000003702, kpobj: fff7b5f8
end of process list.
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 2
packet: cmd = 9, dataLen = 2
packet: cmd = 9, dataLen = 24
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 1
packet: cmd = 9, dataLen = 2960
finishedfinishedfinishedfinishedfinishedfinishedfinishedfinishedfinished
Start dialog
finished
finished
Continue dialog (A mysterious ring...)
finished
finished
Continue dialog (Would you like...)
finished
finished
Select yes
finished
finished
Try to read opponent
packet: cmd = 9, dataLen = 131071
finished
Analyze pokémon
Shiny: FAIL
Sof-reset #234
finishedpatching smdh
finishedpatching smdh
starting app: 000400000011c500
FSUSER_OpenDirectory failed, ret=c8804478FSUSER_OpenDirectory failed, ret=c8804478patching smdh
patching smdh
Skip intro cutscene
finished
finished
Skip title screen
finished
finished
Start game
finished
finished
Reconnect
Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
Server disconnected.
Server connected.
Server disconnected.
Bot stop
 

Attachments

  • cf4f66d5fd95dae3f7b767612e64f16b.png
    cf4f66d5fd95dae3f7b767612e64f16b.png
    9.6 KB · Views: 106

RustInPeace

Samurai Cop
Member
Joined
Oct 13, 2014
Messages
5,942
Trophies
1
Age
31
XP
5,147
Country
United States
^That message does appear sometimes, regardless of version. It's essentially the same issue, NTR breaking. What firmware are you on by the way? I'm wondering if being on 11.2 means less SRs.
 

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
weird using the latest release SRing another Legend got to 234 SR's but then as it SoftReset this happens 1st time iv seen it over the last 3/4days and nothing in the log that says what happened
Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
Server disconnected.
Server connected.
rtRecvSocket failed: 00000000pid: 0x00000000, pname: fs, tid: 0000000000000000, kpobj: fff75820
pid: 0x00000001, pname: loader, tid: 0000000000000000, kpobj: fff75a88
pid: 0x00000002, pname: pm, tid: 0000000000000000, kpobj: fff75cf0
pid: 0x00000003, pname: sm, tid: 0000000000000000, kpobj: fff75f58
pid: 0x00000004, pname: pxi, tid: 0000000000000000, kpobj: fff761c0
pid: 0x00000005, pname: ns, tid: 0004013000008002, kpobj: fff76428
pid: 0x00000006, pname: ptm, tid: 0004013000002202, kpobj: fff76690
pid: 0x00000007, pname: cfg, tid: 0004013000001702, kpobj: fff768f8
pid: 0x00000008, pname: gpio, tid: 0004013000001b02, kpobj: fff76b60
pid: 0x00000009, pname: i2c, tid: 0004013000001e02, kpobj: fff76dc8
pid: 0x0000000a, pname: mcu, tid: 0004013000001f02, kpobj: fff77030
pid: 0x0000000b, pname: pdn, tid: 0004013000002102, kpobj: fff77298
pid: 0x0000000c, pname: spi, tid: 0004013000002302, kpobj: fff77500
pid: 0x0000000d, pname: ps, tid: 0004013000003102, kpobj: fff77768
pid: 0x0000000e, pname: ErrDisp, tid: 0004003000008a02, kpobj: fff779d0
pid: 0x0000000f, pname: menu, tid: 0004003000009802, kpobj: fff77c38
pid: 0x00000010, pname: hid, tid: 0004013000001d02, kpobj: fff77ea0
pid: 0x00000011, pname: codec, tid: 0004013000001802, kpobj: fff78108
pid: 0x00000012, pname: dsp, tid: 0004013000001a02, kpobj: fff78370
pid: 0x00000013, pname: am, tid: 0004013000001502, kpobj: fff785d8
pid: 0x00000014, pname: gsp, tid: 0004013000001c02, kpobj: fff78840
pid: 0x00000015, pname: csnd, tid: 0004013000002702, kpobj: fff78aa8
pid: 0x00000016, pname: camera, tid: 0004013000001602, kpobj: fff78d10
pid: 0x00000017, pname: mic, tid: 0004013000002002, kpobj: fff78f78
pid: 0x00000018, pname: ir, tid: 0004013000003302, kpobj: fff791e0
pid: 0x00000019, pname: nwm, tid: 0004013000002d02, kpobj: fff79448
pid: 0x0000001a, pname: socket, tid: 0004013000002e02, kpobj: fff796b0
pid: 0x0000001b, pname: http, tid: 0004013000002902, kpobj: fff79918
pid: 0x0000001c, pname: ssl, tid: 0004013000002f02, kpobj: fff79b80
pid: 0x0000001d, pname: cecd, tid: 0004013000002602, kpobj: fff79de8
pid: 0x0000001e, pname: friends, tid: 0004013000003202, kpobj: fff7a050
pid: 0x0000001f, pname: ac, tid: 0004013000002402, kpobj: fff7a2b8
pid: 0x00000020, pname: boss, tid: 0004013000003402, kpobj: fff7a520
pid: 0x00000021, pname: act, tid: 0004013000003802, kpobj: fff7a788
pid: 0x00000022, pname: news, tid: 0004013000003502, kpobj: fff7a9f0
pid: 0x00000023, pname: ndm, tid: 0004013000002b02, kpobj: fff7ac58
pid: 0x00000024, pname: nim, tid: 0004013000002c02, kpobj: fff7aec0
pid: 0x00000025, pname: dlp, tid: 0004013000002802, kpobj: fff7b128
pid: 0x000005dc, pname: sango-2, tid: 000400000011c500, kpobj: fff7b390
pid: 0x000005dd, pname: ro, tid: 0004013000003702, kpobj: fff7b5f8
end of process list.
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 2
packet: cmd = 9, dataLen = 2
packet: cmd = 9, dataLen = 24
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 4
packet: cmd = 9, dataLen = 1
packet: cmd = 9, dataLen = 2960
finishedfinishedfinishedfinishedfinishedfinishedfinishedfinishedfinished
Start dialog
finished
finished
Continue dialog (A mysterious ring...)
finished
finished
Continue dialog (Would you like...)
finished
finished
Select yes
finished
finished
Try to read opponent
packet: cmd = 9, dataLen = 131071
finished
Analyze pokémon
Shiny: FAIL
Sof-reset #234
finishedpatching smdh
finishedpatching smdh
starting app: 000400000011c500
FSUSER_OpenDirectory failed, ret=c8804478FSUSER_OpenDirectory failed, ret=c8804478patching smdh
patching smdh
Skip intro cutscene
finished
finished
Skip title screen
finished
finished
Start game
finished
finished
Reconnect
Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
Server disconnected.
Server connected.
Server disconnected.
Bot stop
Never got his screen....
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: b