GithubHelp home page GithubHelp logo

admiral-fish / raidfinder Goto Github PK

View Code? Open in Web Editor NEW
179.0 20.0 54.0 2.79 MB

Crossplatform RNG tool for Pokemon Sword/Shield raids

License: GNU General Public License v3.0

C++ 98.99% Python 0.70% Shell 0.07% CMake 0.24%
rng pokemon switch

raidfinder's People

Contributors

abu-zaydabdullah avatar admiral-fish avatar ca1e avatar carlos-maestre avatar cscorpion-h avatar easyworld avatar gjfkkk avatar ich73 avatar qhq avatar real96 avatar stevecooktu avatar waynechang65 avatar wwwwwwzx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raidfinder's Issues

RaidFinder is missing Tyranitar in Den 79

double checked and it's missing for some reason. Other edition specific mons are in it though.
Both rare and normal are missing it. I know that the data is pulled from the game but it's missing.

User Profile - Trainer ID

image

image

The Profile won't let me enter all 6 digits for the Trainer ID. (Is it because I started a new save in v1.1.0?)

option to select sword/shield

I was hunting for shiny gengar and could not find the correct den ID because the list of pokemons in dens are for the sword version (and I'm on shield).

Ex : in the den 60, raid finder says there's machamp, but in fact, in shield, it's gengar.

it did not affect the number of frames to skip to shiny fortunately.

Syntax Error

Getting the following error when trying to run raid_solver:

File "/Users/Home/Downloads/RaidFinder-1.0.0/raid_solver.py", line 123
print(f"Raid seed: {hex(seed)}")
^
SyntaxError: invalid syntax

Any help appreciated.

App crashes after seed is apparently not found

Hey, I was trying out the Seed Search on an Event Den (hence using the 3IV guaranteed as first mon method).
This time around after the estimated 3hrs of time are elapsed the app crashes, possibly as the result of not finding any seed.

Here are my settings:

Day 4 (1st) | Lapras | 3* | 5 | 31 | 1 | 10 | 31 | 31 | Lax | Shell Armor |  Somewhat vain
Day 4 (2nd) | Lapras | 4* | 9 | 31 | 31 | 15 | 31 | 31 | Bold | Shell Armor | Somewhat vain
Day 5 | Lapras | 3* | 31 | 31 | 2 | 12 | 31 | 8 | Quiet | Shell Armor | Takes plenty
Day 6 | Milcery | 3* | 31 | 17 | 31 | 2 | 15 | 31 | Bashful | Sweet Veil | Capable of

Raid Finder version is 2.2.0, running on Ubuntu 18.04.

This is all I could find in the logs:

Feb  2 22:40:02 $user raidfinder.desktop[29922]: pure virtual method called
Feb  2 22:40:02 $user raidfinder.desktop[29922]: pure virtual method called
Feb  2 22:40:02  $user  raidfinder.desktop[29922]: terminate called recursively
Feb  2 22:40:02  $user  raidfinder.desktop[29922]: terminate called without an active exception

is loto RNG predictable ?

is it possible to know all the numbers that will come up in the lottery every day ?
(in order to farm master balls)

is the number drawn when you're opening to the computer ?
or is it computed on day change ?

Button to Send IVs to Seed Calculator

This issue was created to be a reminder for the idea of either buttons to send the IVs directly from the IV calculator to the Seed Calculator or a method to copy/paste the IVs to the Seed Calculator mentioned on Discord. Thank you for all your hard work Fish.

PC version crashes when selecting Event den

Installed RaidFinder-win32 on February 1st. Only event data downloaded: Milcery and Toxtricity. Selected restart, reopen Raid Finder, select Event den from dropdown, Raid Finder crashes.

Thanks for your time! Hope you have a great day. :)

Save seed when close

I can choose to save the current seed when closing
Convenient to open repeated seed search next time

[Suggestion] Obtaining raid seed through trade screen

  1. Raid host catches raid pokemon
  2. Raid host does not save, initiates trade with a cfw'd player
  3. Raid host shows the pokemon on the trade screen
  4. CFW player dumps the pokemon from RAM (the full ek8 is in RAM at that time)
  5. CFW player uses raid_solver.py to get the seed

The game doesn't save until the trade is concluded, so the Raid host can reset the game without losing the den/seed.
Only thing needed for this would be the CFW player having a sysmodule to dump the pokemon at HEAP+0xAC843F68 and send it via wifi to the pc. This method would take a lot of load from the cfw'd player, as they don't have to take part in the raids anymore.

TID

Can't enter the full TID of 6 numbers only 5 in Profiles

Blank Spaces in Mac OS

On the Mac OS version the first selection in the drop down menus are huge blank spaces. This becomes more of an issue when you download the raid data and you're unable to see/select the event den.

Missing HA for specific Pokemon

Test Data
App Version: 2.4.0
Version: Sword
Pokemon: Luxray

Steps to Reproduce

  1. Open RaidFinder 2.4.0
  2. Select "Encounter LookUp" in Tools
  3. Search for Luxray in Isle of Armor for Pokemon Sword
  4. See that is listed in Fields of Honor Den #8. In both with Hidden Ability
    (Which is #105 and #106 in Serebii)
    lookup
  5. Go to the main window of RaidFinder
  6. Select "Isle Of Armor" in Location Dropdown
  7. Select the Fields Of Honor 8 Den.
  8. Select Normal or Rare in Rarity Dropdown
  9. Select Luxray in the Species dropdown (is in both, Normal and Rare)
    10 Check The Ability Dropdown

Expected Results
Rivalry, Intimidate and Guts (HA) are listed there

Actual Results
Only Rivalry and Intimidate are listed. See attachment.
luxray

Notes
I havent go thru the list of all pokemon to check the abilities, my guess is that there is a bug in how the application reads the hidden abilities specifically.

[Seed Checker not working properly]

Hi, the current seed checker when opened has a default value of INVALID. when tried adding a valid IV from the IV calculator it always display invalid on the 1st 4th frame on 1st column.

Being able to get old promotional raid data ?

Hi boi

I think some people (like me) did backup of old events in case for the future. That way we can still use them.

It'd be cool if we could have an "Old event" category or idk and that way we could fill up with old data.

PS : Can we have a PID Blacklist ?

<3

Seed Searcher returns no results or crashes after 99%

Hello, I'm having issues using the Seed Finder tool. I've used the xoroshiroinverse program before and it took many hours to find a seed, though successfully, but I'm not getting any results with the Seed Searcher.

I've made several attempts, but I will only mention the last two. The crash happened after I updated from 2.2.0 to 2.2.1, before I downloaded new event data - though Idk if that would be related at all. But the next attempt didn't crash and still nothing shows up.

This is the data I compiled from the Den (date exploit) before I input into both xoroshiro and Seed Searcher:
D4(3* - 3IV) - Ditto - Hasty - Limber - 26/31/31/23/31/5 - It's somewhat vain! (VALID IVS) EC_0 = 1
D4(5* - 4IV) - Ditto - Gentle - Limber - 3/31/31/26/31/31 - It's alert to sounds!

D5(3* - 3IV) - Ditto - Naive - Limber - 16/31/14/31/23/31 - It likes to thrash about!
D6(3* - 3IV) - Ditto - Bashful - Limber - 29/31/16/5/31/31 - It likes to thrash about

I got the correct seed "686198eacecb4774" from xoroshiro, but nothing from Seed Searcher.

This is what my setup looks like before pressing Search:
SeedSearcherSetup

I'm using the Win64 build.

Note that I used IV Deviation 0-0. Perhaps I didn't understand what that parameter does?

Download Event Data | Naming Not Intuitive

Hello Fish,

The majority of the people RNG-ing for Pokémon are in the post game. The naming convention of the very first encounter (which is always a One Star Raid) is often a Pokémon no one remembers. (I was legit scratching my head trying to figure out what event "Krabby" was.)

image

It would be fabulous and make the program far more user-friendly if the drop-down names matched the ones used on Serebii.net's:

image

The parallel to Serebii's list would also make it far easier for players are RNG-ing older event downloads.

Thanks

Encounter Tables Are Duplicates Between Sword/Shield

For example, I was looking at the encounter table where you encounter G-Max Gengar/Machamp (Stony Wilderness 60). It seems that the encounter tables between the games are duplicates, whereas Sword should have Machamp and Shield should have Gengar, among other version exclusives.

MAC OS no event den

Screen Shot 2020-02-08 at 1 41 13 PM
After downloading the new raidfinder, the event den option has disappeared. I'm working on Mac OS, and it was working before the download.

the problem in den map

the den map in pkhex_raid_plugin added den 17 watchtower lair.would you like to change yours too?

Event den not available for 2.2.0

I am using 2.2.0 (mac). However, event den is not available under the drop down menu of den in both raid finder and seed calculator.

Seed Searcher Crashes After Reaching 100%

I've seen this bug reported a few times by others and closed (with the author providing a seed). However, I haven't noticed any updates to the software to prevent future occurrences or address the underlying issues causing these crashes. Therefore, I pulled a few crash logs from Mac OS to hopefully contribute additional information to this topic that can result in more stable future releases.

Attached is a screenshot of Den 78. The monster data is complete and verified as accurate. Also attached are two crash logs (the first occurred without "Stop after first result" ticked and the second occurred with it ticked).

This is a specific case of a common problem I've had in my time using RaidFinder 2.1, 2.2, and 2.21 on Mac OS. I am 100% certain that acceptable Day 4 (1st) and accurate subsequent catches are being found in my trials, resulting in accurate input data. However, the seed searcher crashes about 90% of the time without reporting a seed.

The patterns are not entirely clear. Sometimes it runs 30 minutes, sometimes 120. I have had successes and crashes, both quickly and after a long wait. I have tried several dens and even tried multiple acceptable monsters within dens. While I have used the software to successful find the seed of some dens, the most common outcome by far is a crash like this one.

Thanks for your efforts on this project.

RaidFinder_Den78Rare_SeedSearch

RaidFinder_20200211_CrashLog_01.txt

RaidFinder_20200211_CrashLog_02_StopAfterFirst.txt

d

sorry mistake

Downloading Event Den

I need help with how openssl works and setting it up to get the current event den. Cant find any help anywhere.

IV Filters

Is it possible to add an option to use IV Judge ratings for filters rather than/in addition to having to type in the intervals that those ratings represent? I think this would be a huge QoL feature

Buttons dont work on 2.4.0 on Mojave (QDarkStyle)

All of the buttons, the Generate button, the Manage button for the profiles and other buttons don't do anything/work. The drop downs work, but i'm unable to use the buttons to do anything. They worked before the update to 2.4.0

Can't use the RaidFinder.exe

I got everything set up with CaptureSight and got my seed. I got the RaidFinder for win64 and I am just unsure how to use it. Whenever I use the RaidFinder.exe it tells me:

"The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem."

I tried to look for other instructions but was unable to find anything else.

How should I be using RaidFinder?

"Search settings are invalid" in Seed Calculator

I'm using the 2.1.0 version. I started a rare den, saved and from there am advancing 3 times to get to 4th frame. I calculated IV's using the built-in calculator (here is a screenshot for an example: https://i.gyazo.com/e0cce187bf71824797981e6f29ed9f72.png), filled out the form, but when I proceed to try and calculate the seed I receive the "Search settings are invalid" error message.

I'm 100% sure that the IVs are correct, in fact I've managed to get the exact same 3 pokemon again after resetting for day 4 and day 5 on another try, with IVs and natures being exactly the same. This is how my search looks like: https://i.gyazo.com/24ce285fbf506cfeb4554d6c16c983d5.png

Square Shiny calculation

Using the seed fd47022ebac416e8 on Sword I progressed to the first shiny listed (frame 509). The shiny was a "square" shiny and not the "star" shiny as listed in RaidFinder. All other data EC/PID/IVs came out correct though. Thanks again for the great tool!

Cannot Add TID

The Text Input inside the profile manager does not allow you to add any TIDs that are over 5 digits. I presume this is due to the TID being stored in a u16 which caps at 65,535.

AttributeError Z3 'Solver'

Hi there.

First of all thanks for all your work, it really helps me, and I am sure lots of people :-).

I am opening an issue ticket regarding an AttributeError following the use of raid_solver.py.

I have installed Python on my computer, then in Windows cmd, launched the following:
1/ py -m pip install z3
2/ py raid.py

Then I have entered the value of the Pokemon find in den, value as follow: (first Pokemon of the rare den 69, Linoone)

  • EC: 0x12d60415
  • PID: 0x134071ce
  • IVs(x.x.x.x.x.x): 27.14.28.31.29.31

As a result, I have the following:
Traceback (most recent call last):
File "raid.py.py", line 179, in
if main() == False:
File "raid.py.py", line 174, in main
return searchInput()
File "raid.py.py", line 170, in searchInput
return search(ec, pid, ivs)
File "raid.py.py", line 137, in search
seeds = find_seeds(ec, pid)
File "raid.py.py", line 89, in find_seeds
solver = z3.Solver()
AttributeError: module 'z3' has no attribute 'Solver'

Did I, or am I doing something wrong there?

Please note that this is the first time for me to use Python, as such I'm not familiar with the tool. If I did something wrong, could you please tell me step by step what I have to do?

Thanks in advance for your support.

VCRUNTIME140_1.dll was not found

I downloaded RaidFinder 1.3.3 Windows 64 bit version and unzipped the folder. When I select the RaidFinder.exe a window pops up that states the followin:

"The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem."

I reinstalled the program and it still fails. :(

Python Script.

Everytime I try to open the Py script nfrom the main directory it instantly closes. I then ran it through IDLE as a Python Shell, input the code from the raid_solver.py file. It then gives me Syntax Errors. I somehow managed to get it to work once and it gave me the "Main False" error and since then I get SyntaxErrors.
I'm really new to this so any help is appreciated. Is there also any way of contacting you personally to make things go smoother if you're able to help out further. Thanks

Resources\Text\en\locations_en.txt

Resources\Text\en\locations_en.txt
I can only find the location name here now. If the location can be more detailed, the nest option can be better adapted to other versions. For example:
Rolling Fields 1
Rolling Fields 2
Rolling Fields 3
Rolling Fields 4
Rolling Fields 5
snipaste20200310_130017
snipaste20200310_130701

Seed Calculator doesn't return any result

Hi Admiral Fish,
me and @armisael have tested the newly added Seed Calculator with information we already know produced a seed according to 1sss by rusted-coil.
However when having it run on Raid Finder's Seed Calculator no result is returned. The seed is supposed to appear in the "Search Results", correct?

Thank you for your time, and thanks once again for the great work.

Can't find correct den?

I've checked every Dappled Groove den on RaidFinder and none of them match Rare Den 79. Two of the dens with Flapple are close, but the Whimsicott line isn't supposed to be on either off the Flapple dens. Neither of the two Flapple dens are marked GMax as well.

I am having the same problem with the PK HeX Raid Plugin so I am not sure if I goofed something up, but the list on serebii matches with what I'm getting in-game. Any help would be appreciated.

Thank you.

Den info on Serebii: https://www.serebii.net/swordshield/maxraidbattles/den79.shtml

image image

image
image

image

6 digit TID

I found that when entering my TID mine was 6 digits and the maximum was 5

Raid Finder Crashes When Searching Event Dens

Ever since the latest event update (adding toxtricity), I've downloaded the event data for that event. However, when trying to switch to event dens, the program (windows, 64 bit version) crashes instead of giving the option to generate frames for that den.

My best guess is the downloaded event data is formatted incorrectly since it was working when using raidfinder with older event dens.

Event Den Data OSx

Event den is never present in the den drop down Selection. Downloading event data doesn’t help. Using program on latest Mac OSx

Shiny Type Calculation Problem

I've been in the process of calculation den seeds, and noticed that after targeting Den #49 (in tool) #82 (on serebii), the seed that was retrieved had shiny results appear correctly in version 1.3.2.

However after updating to 1.3.3 the seed was input again, and there were no shiny results at all.

The seed in question: 0xCFA738978AFDFB33

Here are some images taken from the listed versions containing the information as well as inputs to show it is not user error:

Version 1.3.2:
Version 1.3.2

Version 1.3.3:
Version 1.3.3

The inputs didn't change, they were exactly the same. I do believe either the Den contents were updated in recent commits and weren't noted, or the shiny type calculation broke with recent changes.

Pasting seeds in 0x hex format cuts off the seed

Copying a seed like "0xd1e5c3c462464174" and pasting it into the seed field will result in a seed value of "0D1E5C3C4624641" being pasted into the field (the x removed, the last 2 characters cut off).

It would be nice if pasting a 0x formatted seed would result in the correct seed being pasted into the field.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.