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
27
XP
955
Country
Italy
I can't connect to internet in my AS copy. I have the update for the game, download the recent version of this tool and i have the recent version of NTR but nothing. Im on O3DS with Luma.

Do you have any ntr plugin? Did you disabled the PSS?
 

RustInPeace

Samurai Cop
Member
Joined
Oct 13, 2014
Messages
5,940
Trophies
1
Age
31
XP
5,118
Country
United States
I tried the Event bot for the Cosmog encounter in Lake of the Sunne/Moone. It worked 78 times until it got stuck in the nicknaming part. I know the event bot doesn't officially support Cosmog, but I wanted to try it out. Cool thing is Cosmog's nature through Synchronize is 100% guaranteed, for instance my Jolly Abra up front, always a Jolly Cosmog.
 
  • Like
Reactions: Real.96

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
I tested the Gen 6 Event bot, it works great! No errors after 1000+ softreset and it is really fast!
 

Elveman

Just passing by
Member
Joined
Feb 1, 2015
Messages
456
Trophies
0
Age
27
Location
Moscow city
XP
992
Country
Russia
Tested the bot with Tapu Koko. Sometimes (after a big number of tries) the buttons (D-pad and ABXY) appear to be disabled and the bot stops working. What can be the reason for that?
(I'm using it via Wine on Linux. Everything else, like injection, works fine).
By the way, do you know about egg RNG abuse in Sun/Moon? Asking that because of those accepting/rejecting mechanics. Can the support for that be implemented? Something that takes the numbers of eggs to be accepted and rejected as an input and then starts the bot that accepts/rejects those eggs
 

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
Tested the bot with Tapu Koko. Sometimes (after a big number of tries) the buttons (D-pad and ABXY) appear to be disabled and the bot stops working. What can be the reason for that?
(I'm using it via Wine on Linux. Everything else, like injection, works fine).
By the way, do you know about egg RNG abuse in Sun/Moon? Asking that because of those accepting/rejecting mechanics. Can the support for that be implemented? Something that takes the numbers of eggs to be accepted and rejected as an input and then starts the bot that accepts/rejects those eggs

The rng bot was asked before to drgoku282 many times. Maybe he will add it, but at the moment he is fixing all the other errors
 
  • Like
Reactions: Elveman

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
About last few posts

@dotarice It's on plans but I haven't got somebody to trade at the right time to test such function. You can disable the communications with guests as workaround (keep in mind you can't get FC after a trade if guest communication is disabled).

About the "an item with that key..." error it seems to be related to the new read method, I'll probably revert it to the old one. Decided to make the change as the error has never happened to me and was a lot faster.

@Elveman, it happens sometimes, NTR just refuses to accept more commands, then the bot tries to reconnect to fix that error, if it reconnects a set number of times it stops. eggRNG is on plans but it will be after a stable release.
 

drgoku282

Well-Known Member
OP
Member
Joined
Oct 16, 2014
Messages
427
Trophies
0
Age
31
XP
724
Country
Mexico
Last commit reverted to old memory read method, I need help testing all the bots, notice that timing might be a bit off but I can't fix it until the weekend because the internet connection I use during the week has some lag. I leave the compiled version.
 

Attachments

  • PKMN NTR.zip
    1.5 MB · Views: 221
  • Like
Reactions: RustInPeace

RustInPeace

Samurai Cop
Member
Joined
Oct 13, 2014
Messages
5,940
Trophies
1
Age
31
XP
5,118
Country
United States
I was looking at the log during the UB bot, and it doesn't display the filter checks. For instance.

Filter: Analyze pokémon using filter # 1
Filter: Shiny - Don't care
Filter: Nature - FAIL
Filter: Ability - PASS
Filter: Hidden Power - PASS
Filter: Gender - PASS
Filter: Hit Points IV - FAIL
Filter: Attack IV - FAIL
Filter: Defense IV - FAIL
Filter: Special Attack IV - PASS
Filter: Special Defense IV - PASS
Filter: Speed IV - PASS
Filter: Perfect IVs - FAIL

It would escape and then the pokemon's info is dumped, displayed on the program, which makes me assume it escapes before reading the data. I tried out a simple filter, 3IV minimum, meaning the bot should've stopped immediately when Nihilego appeared. It didn't, kept going. Same goes for the Wild Pokemon bot. Not sure if I'm doing something wrong. You can see by a full log it doesn't mention filters.


Bot: START Gen 7 Soft-reset bot
Bot: Give 999 honey
NTR: Write value 0x000F9C5E at address 0x330D5934
NTR: Write sucessful
Bot: Open Menu
NTR: Send button command 0xBFF
NTR: Button command sent correctly
Bot: Test if the menu is open
NTR: Read data at address 0x0067496C during 5000 ms
NTR: Expected value 0x80000000 to 0x8FFFFFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x80000000
NTR: Value in range: YES
Bot: Open Bag
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if the bag is open
NTR: Read data at address 0x006747F8 during 5000 ms
NTR: Expected value 0x41280000 to 0x4128FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Command timed out
NTR: Read failed, try again
NTR: Read failed or outside of range
Bot: Open Bag
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if the bag is open
NTR: Read data at address 0x006747F8 during 5000 ms
NTR: Expected value 0x41280000 to 0x4128FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: YES
Bot: Select Honey
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Trigger battle #1
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if battle is triggered
NTR: Read data at address 0x006747F8 during 10000 ms
NTR: Expected value 0x00000000 to 0x0000FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: YES
Bot: Test if data is available
NTR: Read data at address 0x006747D8 during 20000 ms
NTR: Expected value 0x40400000 to 0x4040FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: YES
Bot: Try to read opponent
NTR: Read pokémon data at offset 0x3254F4AC
packet: cmd = 9, dataLen = 232
NTR: Read sucessful - PID 0x73449782
Bot: Run from battle
NTR: Send button command 0xF7F
NTR: Button command sent correctly
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test out from battle
NTR: Read data at address 0x006747D8 during 10000 ms
NTR: Expected value 0x00000000 to 0x0000FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: YES
Bot: Open Menu
NTR: Send button command 0xBFF
NTR: Button command sent correctly
Bot: Test if the menu is open
NTR: Read data at address 0x0067496C during 5000 ms
NTR: Expected value 0x80000000 to 0x8FFFFFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x80000000
NTR: Value in range: YES
Bot: Open Bag
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if the bag is open
NTR: Read data at address 0x006747F8 during 5000 ms
NTR: Expected value 0x41280000 to 0x4128FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
NTR: Command timed out
NTR: Read failed or outside of range
Bot: Open Bag
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if the bag is open
NTR: Read data at address 0x006747F8 during 5000 ms
NTR: Expected value 0x41280000 to 0x4128FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: YES
Bot: Select Honey
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Trigger battle #2
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if battle is triggered
NTR: Read data at address 0x006747F8 during 10000 ms
NTR: Expected value 0x00000000 to 0x0000FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x41280000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: YES
Bot: Test if data is available
NTR: Read data at address 0x006747D8 during 20000 ms
NTR: Expected value 0x40400000 to 0x4040FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: YES
Bot: Try to read opponent
NTR: Read pokémon data at offset 0x3254F4AC
packet: cmd = 9, dataLen = 232
NTR: Read sucessful - PID 0xB2ED54D9
Bot: Run from battle
NTR: Send button command 0xF7F
NTR: Button command sent correctly
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test out from battle
NTR: Read data at address 0x006747D8 during 10000 ms
NTR: Expected value 0x00000000 to 0x0000FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40400000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: YES
Bot: Open Menu
NTR: Send button command 0xBFF
NTR: Button command sent correctly
Bot: Test if the menu is open
NTR: Read data at address 0x0067496C during 5000 ms
NTR: Expected value 0x80000000 to 0x8FFFFFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x80000000
NTR: Value in range: YES
Bot: Open Bag
NTR: Send button command 0xFFE
NTR: Button command sent correctly
Bot: Test if the bag is open
NTR: Read data at address 0x006747F8 during 5000 ms
NTR: Expected value 0x41280000 to 0x4128FFFF
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x00000000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
Bot: Stopping bot, please wait
NTR: Value in range: No
packet: cmd = 9, dataLen = 4
NTR: Read sucessful - 0x40C00000
NTR: Command timed out
NTR: Read failed, try again
NTR: Read failed or outside of range
Bot: STOP Soft-reset bot by user command

Edit: never mind, had to make sure the Species box had Nihilego selected. It was, but when restarting the bot or reconnecting the program, you have to input the filters again. I had this problem for days, I might've encountered the right Nihilego and didn't realize >.>.
 
Last edited by RustInPeace,
  • Like
Reactions: Real.96

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,813
Trophies
2
Age
26
Location
Munich
XP
3,569
Country
Germany
Last commit reverted to old memory read method, I need help testing all the bots, notice that timing might be a bit off but I can't fix it until the weekend because the internet connection I use during the week has some lag. I leave the compiled version.
Soft-reset bot seems to be working fine, it also got A LOT quicker, thank you very much :) I'll report back if I should run into any problems, just gonna let it run for a while now.

EDIT: yeah, it works fine :)
 
Last edited by MichiS97,

SkyChotik

Well-known Member
Member
Joined
Mar 22, 2016
Messages
145
Trophies
0
Age
29
XP
136
Country
United States
Wonder trade bot isn't working correctly for me. When it goes to get the FC after the trade, it presses B a bunch of times and then "Command timed out" but never presses A to collect FC and doesn't start another trade.

If I click "OK" after it times out, it will do another trade, after finishing the trade it'll press B a bunch more times and then say "An item with the same key has already been added."

It then will disconnect and reconnect the bot (so I can't really get a log for you.)

EDIT: I'm uploading an unlisted video to youtube to link here.
 
Last edited by SkyChotik,

Real.96

Well-Known Member
Member
Joined
Sep 14, 2015
Messages
1,055
Trophies
0
Age
27
XP
955
Country
Italy
Wonder trade bot isn't working correctly for me. When it goes to get the FC after the trade, it presses B a bunch of times and then "Command timed out" but never presses A to collect FC and doesn't start another trade.

If I click "OK" after it times out, it will do another trade, after finishing the trade it'll press B a bunch more times and then say "An item with the same key has already been added."

It then will disconnect and reconnect the bot (so I can't really get a log for you.)

EDIT: I'm uploading an unlisted video to youtube to link here.

Are you using the last commit or last version?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    maaaaan that's so awesome but I also don't want to fork over a hundo for it
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Leo could not withstand communism.
  • SylverReZ @ SylverReZ:
    Its OUR products to begin with lol.
    SylverReZ @ SylverReZ: Its OUR products to begin with lol.