Comments (9)
It would be nice if we could adjust those settings in the config.properties file.
from pokemongobot.
In the code you can declare how much of each item you would like to keep.
I agree however that it would be nice to be able to modify this from the config file.
Ill get started on that.
val uselessItems = mapOf(
Pair(ItemId.ITEM_REVIVE, 20),
Pair(ItemId.ITEM_MAX_REVIVE, 10),
Pair(ItemId.ITEM_POTION, 0),
Pair(ItemId.ITEM_SUPER_POTION, 20),
Pair(ItemId.ITEM_HYPER_POTION, 50),
Pair(ItemId.ITEM_MAX_POTION, 50),
Pair(ItemId.ITEM_POKE_BALL, 100),
Pair(ItemId.ITEM_GREAT_BALL, 100),
Pair(ItemId.ITEM_ULTRA_BALL, 100),
Pair(ItemId.ITEM_MASTER_BALL, 10),
Pair(ItemId.ITEM_RAZZ_BERRY, 30)
)
This is how mine is set up currently. Drop all potions, and try to keep at least 100 of each ball.
from pokemongobot.
Config.properties
# Amount of useless items to keep
ITEM_REVIVE=20
ITEM_MAX_REVIVE=0
ITEM_POTION=0
ITEM_SUPER_POTION=20
ITEM_HYPER_POTION=20
ITEM_MAX_POTION=20
ITEM_POKE_BALL=100
ITEM_GREAT_BALL=100
ITEM_ULTRA_BALL=100
ITEM_MASTER_BALL=100
ITEM_RAZZ_BERRY=30
Settings.kt
val uselessItems = mapOf(
Pair(ItemId.ITEM_REVIVE, getPropertyIfSet("Amount of useless items to keep", "ITEM_REVIVE", 20, String::toInt)),
Pair(ItemId.ITEM_MAX_REVIVE, getPropertyIfSet("Amount of useless items to keep", "ITEM_MAX_REVIVE", 10, String::toInt)),
Pair(ItemId.ITEM_POTION, getPropertyIfSet("Amount of useless items to keep", "ITEM_POTION", 0, String::toInt)),
Pair(ItemId.ITEM_SUPER_POTION, getPropertyIfSet("Amount of useless items to keep", "ITEM_SUPER_POTION", 30, String::toInt)),
Pair(ItemId.ITEM_HYPER_POTION, getPropertyIfSet("Amount of useless items to keep", "ITEM_HYPER_POTION", 50, String::toInt)),
Pair(ItemId.ITEM_MAX_POTION, getPropertyIfSet("Amount of useless items to keep", "ITEM_MAX_POTION", 50, String::toInt)),
Pair(ItemId.ITEM_POKE_BALL, getPropertyIfSet("Amount of useless items to keep", "ITEM_POKE_BALL", 50, String::toInt)),
Pair(ItemId.ITEM_GREAT_BALL, getPropertyIfSet("Amount of useless items to keep", "ITEM_GREAT_BALL", 50, String::toInt)),
Pair(ItemId.ITEM_ULTRA_BALL, getPropertyIfSet("Amount of useless items to keep", "ITEM_ULTRA_BALL", 50, String::toInt)),
Pair(ItemId.ITEM_MASTER_BALL, getPropertyIfSet("Amount of useless items to keep", "ITEM_MASTER_BALL", 10, String::toInt)),
Pair(ItemId.ITEM_RAZZ_BERRY, getPropertyIfSet("Amount of useless items to keep", "ITEM_RAZZ_BERRY", 50, String::toInt))
)
from pokemongobot.
working as intended. its set to only keep 20 of them. you can make the change yourself or wait till its changed(someone is working on it).
from pokemongobot.
Has this been implemented/merged with the main branch?
from pokemongobot.
Not yet, waiting for @jabbink approval.
from pokemongobot.
it's just waiting for approval kasagon :)
from pokemongobot.
same idea with mine. try it on.
from pokemongobot.
implemented on master
from pokemongobot.
Related Issues (20)
- Encounter failed with result HOT 3
- run a few hours then get this error message then after that not catch any pokemon HOT 1
- System hangs up HOT 4
- error message popup then the whole night hang there HOT 1
- bot not starting "Exception in Thread default" HOT 1
- [Question] Is it safe to open the bot after the latest update? HOT 9
- Im guessing this bot is dead HOT 2
- [Question] Pokefarmer Hash Service HOT 1
- Bot doing fine, getting this error everytime HOT 4
- Exception in thread "default" HOT 3
- Getting profile data from pogo server..Unexpected response envelope status received: SESSION_INVALIDATED HOT 1
- I cannot find the solution anywhere. Please help HOT 1
- Bot gets stuck in a loop of DOWNLOAD_SETTINGS & GET_INVENTORY HOT 1
- [BUG?] Bot can't get player HOT 1
- ..
- Can't start bot, I think it's a language problem
- Can't start the bot, I think it's a language problem HOT 1
- Can't start the bot
- when getting profile data from pogo server HOT 4
- Stuck on getting profile data
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 pokemongobot.