Comments (7)
Maybe just make a small PHP file, seeing as the information is pretty static, so you don't have the overhead of DB queries. I might even do a pull request once I figure that out ... :)
from pokemongoapi-php.
The required exp can be found in the GAME_MASTER.protobuf file and is not returned by the server.
It would have been nice with a sqlite database where we could store game-specific information.
TemplateId: "PLAYER_LEVEL_SETTINGS"
PlayerLevel {
RankNum: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
RequiredExp: [0, 1000, 3000, 6000, 10000, 15000, 21000, 28000, 36000, 45000, 55000, 65000, 75000, 85000, 100000, 120000, 140000, 160000, 185000, 210000, 260000, 335000, 435000, 560000, 710000, 900000, 1100000, 1350000, 1650000, 2000000, 2500000, 3000000, 3750000, 4750000, 6000000, 7500000, 9500000, 12000000, 15000000, 20000000]
CpMultiplier: [0.094, 0.166398, 0.215732, 0.25572, 0.29025, 0.321088, 0.349213, 0.375236, 0.399567, 0.4225, 0.443108, 0.462798, 0.481685, 0.499858, 0.517394, 0.534354, 0.550793, 0.566755, 0.582279, 0.5974, 0.612157, 0.626567, 0.640653, 0.654436, 0.667934, 0.681165, 0.694144, 0.706884, 0.719399, 0.7317, 0.737769, 0.743789, 0.749761, 0.755686, 0.761564, 0.767397, 0.773187, 0.778933, 0.784637, 0.7903]
MaxEggPlayerLevel: 20
MaxEncounterPlayerLevel: 30
}
from pokemongoapi-php.
I made a quick and dirty port of https://github.com/Grover-c13/PokeGOAPI-Java/blob/Development/library/src/main/java/com/pokegoapi/api/pokemon/PokemonMetaRegistry.java
It will have to do for now, doesn't include required exp thought...
from pokemongoapi-php.
But that looks fine for now? ;)
from pokemongoapi-php.
It will suffice for now :D #hides
from pokemongoapi-php.
Well, it doesn't solve the XP thingy, so might still try and do that ;)
from pokemongoapi-php.
Resolved by Ni42.
from pokemongoapi-php.
Related Issues (20)
- Exception about reading the full length HOT 1
- Call to a member function getOptions() on null HOT 5
- Fatal error: Call to a member function getType() on null HOT 15
- Update vendor/nicklasw/pkm-go-api/src/Api/Pokemon/Data/PokemonMetaRegistry.php HOT 6
- Where did getType1String() go? HOT 2
- More problems with move sets and pokemon types. HOT 9
- Pokémon Go 0.51.2 API using public hashing server HOT 2
- User Profile Details HOT 4
- When retrieving pokedex new baby eggs are missing HOT 2
- Authentification Exception (sometimes) HOT 3
- Hashing Server HOT 5
- language problem HOT 3
- Fatal error: Uncaught Exception: Retrieved a unknown status code 100 HOT 22
- Retrieved a invalid response. Response code: '403' HOT 2
- Slack and Status update? HOT 2
- Composer not run HOT 4
- Laravel begginer problem HOT 1
- Even after installing composer I'm getting the same error
- 403 Forbidden
- api credentials HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemongoapi-php.