-
Member
-
Member
Code:
val uselessItems = mapOf(
Pair(ItemId.ITEM_REVIVE, 8),
Pair(ItemId.ITEM_MAX_REVIVE, 8),
Pair(ItemId.ITEM_POTION, 5),
Pair(ItemId.ITEM_SUPER_POTION, 5),
Pair(ItemId.ITEM_HYPER_POTION, 5),
Pair(ItemId.ITEM_MAX_POTION, 5),
Pair(ItemId.ITEM_POKE_BALL, 20),
Pair(ItemId.ITEM_GREAT_BALL, 20),
Pair(ItemId.ITEM_ULTRA_BALL, 20),
Pair(ItemId.ITEM_MASTER_BALL, 20)
)
fun dropUselessItems(api: PokemonGo) {
uselessItems.forEach {
val item = api.bag.getItem(it.key)
val count = item.count - it.value
if (count > 0) {
val result = api.bag.removeItem(it.key, count)
if (result == RecycleInventoryItemResponseOuterClass.RecycleInventoryItemResponse.Result.SUCCESS) {
println("Dropped ${count}x ${it.key.name}")
} else {
println("Failed to drop ${count}x ${it.key.name}: ${result}")
}
}
}
}
this is java based, can be converted in c# and add this setting? wuld be great
-
Member
Originally Posted by
lantecer
I got a soft ban now because the bot walked and then I opened nox and then I am at my default location. Would be nice to know where the bot actually is.
You change the location... when you set it up... along with your username and password
-
Member
The bot will now periodically try to transfer and evolve pokemon. Let me know if it works for you.
-
Member
Who has the link to the updated version so i dont have to restart every 30 minutes
-
Private
Originally Posted by
katja
it´s in seconds yes and you need to save it as .bat
but i would rather write shutdown -s -t 00 instead of TASKKILL /F /IM "PokemonGo.RocketAPI.Console.exe"
works better..
so many noobs

Why not shutdown your account instead ecksdee.
Last edited by lootnull; 07-21-2016 at 08:26 AM.
-
Member
Originally Posted by
mcscruff
You change the location... when you set it up... along with your username and password
Yes, but this is just the default location. The bot moves in the background, doesn't it?
Edit: The funny thing is, in Nox, I got the softban, but the bot is still working and farming
-
Member
Originally Posted by
lootnull
Just use this for now.
Code:
@ECHO OFF
:start
timeout /t 780
TASKKILL /F /IM "PokemonGo.RocketAPI.Console.exe"
timeout /t 3
start "PokemonGo.RocketAPI.Console.exe" ""Location Here""
goto start
REM pause
Been using this, botted a new account for 12 hours straight so far.
Attachment 27766
Slow clap for everyone contributing .One soft ban since using the other version (my mistake) been running smooth ,now will leave on all day with this kill script . A+++
-
Member
Stop writing in a huge font and read 2 pages back..
-
Member
If my pokemons are getting away, but im keep gettin xp from pokestops, am i softbaned?
-
Member
How come I crash when I run it with the token added? It doesn't make sense.
The only thing that was changed was the token. The code works perfectly without it...
-
Member
Originally Posted by
jirachidog
Who has the link to the updated version so i dont have to restart every 30 minutes
**** off and read the first ****ing post in this thread.
-
Post Thanks / Like - 2 Thanks
in_debt,
katja (2 members gave Thanks to qweeboi for this useful post)
-
Member
It appears that the bot stops working when I open another bot (with another account)
Can anyone confirm this?
-
Sergeant
Originally Posted by
jirachidog
Who has the link to the updated version so i dont have to restart every 30 minutes
Persistent Google login
To log in for longer than 30 minutes with google and get rid of the device code:
Before you run the bot make sure that google refresh token in app.config has no value <add key="GoogleRefreshToken" value="">
Set your location in App.config and run the code in Visual Studio
In the console window you wil be asked to visit google.com/device and you need to input the key. After you input the right key, The refresh token will be printed in the console window. Right click the upper left most icon of your console window, choose EDIT -> MARK . You will be able to highlight the text inside the console, make sure to highlight the refresh code and then right click on it so it will be copied into your clipboard.
Stop/Exit the bot and go back to App.config -> Paste the refresh token in like this <add key="GoogleRefreshToken" value="1/34UibMdc-Qn5AbewpDR-QZv8w_STqik13RFHqXV_Jd6TA">
Now you don't have to go to google.com/device to register your bot, It will automatically login with your credentials and the bot auto restarts when it crashes.
-
Member
I've been botting for hours before the Bot Update, I use the .bat to restart every 6 mins but it opens a browser window for new update, I went into the code and comment it out but for whatever reason I can't get the code to save? It only works with Visual Studio Opened (Ctrl + F5). But not without it and using the .bat , any ideas?