Sourcecode would be nice!
Sourcecode would be nice!
nice,
and I wanna ask, is it possible for system to detect what the console/bot shows in our monitor, so we can make a program similiar to yours but depend on what is console/bot shows?
example : I use 2 types of bot, first one is for farming, and the second is for transferring my pokemons (since transfer feature in first bot wasn't too good). Everytime my pokemon inven is full i need to close 1st bot, and open 2nd, when transfer is complete, i close 2nd and open 1st bot again. Is it possible to make a program/script to close the 1st bot when it shows ("PokemonInventoryIsFull") on its window and open the 2nd bot, then close the 2nd bot when it shows (pokestop), and open 1st bot again?
Sorry for my bad english
Bruh, work like a charm! Thanks!
+REP, Great work dude, you're the best, for sure!
thanks it works great
guys i think C:\windows\system32\calc.exe is justa example
What exactly do you mean with "autosize window"? Sorry but i don't get it
It was just an example to show how it works. It works with all kind of applications, even the calculator from windows
Since the process does not end and prompts for a key, it won't restart it. The bot you are using should just end - then it would work.
What do you mean with window resizer?
I will think about it. I would need to make this configurable because i bet some people still like the 1.0 behavior with apps in foreground.
Please share the content of your BotStarter.ini and a screenshot of my application running (the command line output).
In general speaking: Nearly everything is possible in programming
In special: What you need should be possible. Each runner thread needs to be attached to the STDOUT / STDERR (depends) of the target console. So it reads everything and reacts on YX.
But this would take a lot of time and i don't know if it's worth it. I mean your needs are pretty special and you would develop for hours with a result nearly nobody can use.
Already answered such a question one post above yours:
Since the process does not end and prompts for a key, it won't restart it. The bot you are using should just end - then it would work. The detection is if the process ends. Is Spegeli's precompiled or needs to be compiled?
Last edited by PassionSTAR; 07-27-2016 at 04:03 AM.
Then it should be easy to change for your bot If i have time later on, maybe i download your bot and have a look at the code.
I am running PokeFast 2.0 http://www.ownedcore.com/forums/poke...y-version.html ([UPDATED] Pokemon Bot in C# Community Version)
Already done it. Here a small guide how you should bring your bot to exit properly without waiting:
Open the project in Visual Studio as usual
In the topper right project explorer you find 3 different parts
Expand PokemonGo.RocketAPI.Console
Doubleclick Program.cs to edit
At the end of the main function you will find a line "System.Console.ReadLine();"
simply remove it or put a // before it
Recompile it
Now this application does not wait before exit. Have fun!
this is awesome. works perfectly