OutdatedPokéAI A PokeMMO Bot

Posts 115 of 395 · Page 1 of 27
PokéAI A PokeMMO Bot
I present to you, PokéAI.
~A one-person show.




The user has complete control over what the bot does. After each battle the bot will check that the first Pokemon has reached their desired: EV Stats or gained Levels. Upon reaching desired stat that Pokemon will be switched to the next one that needs to be trained!

Users have the option to set Alert Emails. The Bot will email you when: A Pokemon gains a level, Pokemon reaches the desired level, Pokemon reaches the desired EV stats, Pokemon faints. The bot will also email the user if it ever encounters a Shiny Pokemon. The user has the options to set the bot to go into an Anti-Idle state or try to use Poke Balls to capture the enemy!

Features Include
  • Automatic EV Training
  • Automatic Leveling
  • Roams anywhere (Swim, cave, grass, bike, run, walk)
  • Works on any resolution
  • Power level any Pokemon
  • Get Email Alerts from the bot[1]
  • Supports switching in battle, and running away, if a Pokemon faints
  • Hunt shiny Pokemon
  • And much more!


Classes
  • Fighter[2]: A Party Pokemon that does nothing but battle enemies. In the event your first slot Pokemon faints, a Fighter will be sent into battle. It will either run from battle or continue to fight. (It only fights if it has been set to level up).
  • EV Train: A Party Pokemon that you set how many EV's you want it to gain in battle.
  • Leveling: A Party Pokemon that does no actual battling, but will be sent out first in a battle. Upon battle start, the Pokemon will be switched to the Leveler.
  • Leveler[2]: A Party Pokemon who's primary goal is to do all the battling for the Leveling Pokemon.
  • Hunter[3]: A party Pokemon who, if is the first slot, will only look for shiny Pokemon. It will run away from any other Pokemon.


The GUI Explained
  • Menu:
    • Bot: Start, Stop, and close the Bot
    • File: Opens the designated file. If user edits any files pressing the Reload from Files menu item will refresh the bot to re-load all data from files.
    • PokeMMO: Users can force close PokeMMO (Much quicker than closing in game). Upon setting the PokeMMO folder path users can start PokeMMO.
    • Configuration: Configure the bot. Setting Alert Emails, Party data, which Pokemon to fight, and set bot settings (i.e., in game controls).
    • Help: Version and build display, check and download any new updates, and contact the developer directly.

  • PokéAI Controls[4]:
    • Start Botting: Starts the bot.
    • Stop Botting: Stops the bot.
    • Party Info: Edit Party data.
    • Pkmn to Battle: Select which Pokemon the bot will fight.
    • Bot Settings: Set the necessary bot settings.

  • Pathing[5]:
    • Set the direction and path user would like the bot to take.
    • Set the transportation the in-game character will be using. (i.e., running, walking, riding a bike, or swimming).



A note to users:
There is currently no Anti-bot checking supported for this bot. Users have been banned for using it. I do have plans to implement an Anti-Bot check system that will detect if a GM checks the bot while roaming.
If you have any problems, issues, feedback, you can send an email directly to me under the Help menu (Contact Developer).
There are still some bugs in this bot. It will run and work properly but there are thousands of lines of code, hundreds of functions, a shit ton of error checking, and stuff I wrote months ago and didn't comment to myself. If you do encounter a crash or a bug please email me so I can get it fixed~!
I will reply to this post whenever I push an update.


[1]Anti-Bot detected email is not currently implemented. No anti-bot checking has been added.
[2]If all Levelers die while a Leveling Pokemon has been in battle, a Fighter will be sent out to continue the battle or run away.
[3]Hunter class is currently incomplete. It can hunt and detect Shiny Pokemon. currently users will get a "Not yet Implemented" option in their email. That option will eventually be an option to use a specified attack. I also plan on adding an option to switch to a designated Party Pokemon.
[4]PokéAI Controls will eventually be removed or redesigned to better fit with the main GUI of the bot.
[5]Pathing will eventually be completely removed. I plan on adding Anti-Bot checking where it checks tiles around the in-game character after each battle. Upon figuring that out I will have the basis to determine which direction the bot can walk before walking, ultimately eliminating the need for the user to specify a direction, path to take, and steps to take. (Transportation, which is actually speed, will no longer matter since it can do a check to determine the direction to move).



Virus Total

Jotti

 
Release Version 1.0

[Version 1.0]
[Update 1.0.0.1]
05/25/15 Fixed minor bugs.
05/25/15 Made it so there can be only one instance of the Bot open.
05/25/15 Bot now checks that the email address is valid before trying to send an email.
05/25/15 Changed the way the bot sends emails.
05/24/15 Fixed the label for Pokemon 6 move 4, it was not showing up before.
05/23/15 Fixed a bug where the bot would give the error message "Error(Hunter class selected but no Poke Balls available)" even if the Hunter class wasn't selected.
05/23/15 Completely overhauled the debug box.

[Update 1.0.0.0]
05/22/15 Added a donate option for users who are in a giving mood!
05/10/15 Added some fail safe checking in case bot is unable to determine enemy name.
05/09/15 Bot can use Poke Balls on an enemy and try to capture it.
04/26/15 Bot can get count for Poke Balls, Great Balls, Ultra Balls, and Master Balls.
04/25/15 Added a Feedback option under Help menu. Lets user directly contact bot creator with any bugs found, crashes, or offer feedback.
04/22/15 Added the Anti-idle option for Hunter class.
04/20/15 Added a feature that lets the bot interact with the user based off emails.
04/20/15 Added a feature that lets the bot receive emails.
04/20/15 Added a feature that lets the bot send emails.


PokéAI 1.0.0.1_mpgh.net.rar8.1 MB · 6,910 downloads 12/53 malicious
Noticed a bug the other night when the bot was trying to send an email to myself. I accidently left a debug line of code in there that temporarily stops the bot... Issue has been fixed so all emails will send properly. (Sorry everyone)

1.0.0.2 is available for download, I just won't upload it here. I removed the timeout feature while downloading updates so the download will continue as long as the bot is downloading from the host (no matter how long it takes).

I just want to add, since I am thinking about the updater, eventually I plan on having the bot self extract and re-install itself to the current folder, saving all of the users settings and copying them over to the new version. In case anyone was getting annoyed with having to re-extract and fill out all the data again.
Awesome stuff tho. I need a little bit help here: It keeps spamming me : " Shiny found, sending Alert Email". But there are no shinies around. just the default Pokemon.
Quote Originally Posted by GStarFreak View Post
Awesome stuff tho. I need a little bit help here: It keeps spamming me : " Shiny found, sending Alert Email". But there are no shinies around. just the default Pokemon.
Seems I left another piece of debug code in my script.

That's been fixed now, thanks.

Also fixed a few more minor bugs, not swapping pokemon properly, found another variable error, nothing major.
I'm confused on how this works, I set everything up to bot and it stops because it can't find a magenta party widget?
Place the Theme folder that it comes with into the themes folder of your PokeMMO Game
D:\Program Files (x86)\PokeMMO\data\themes

In the game, select the theme folder, save, restart game.
But it still says that when using your theme
I can't post links so I just attached the png
sdfgsdfgd.png495 KB · 457 downloads
Quote Originally Posted by RexCordium View Post
But it still says that when using your theme
I can't post links so I just attached the png
From the bot, Help -> Contact Dev -> Submit bug. Check both boxes, send report.

It is probably the fastest way to contact me and it is the fastest way for me to get all of the information I need.

Very weird...
I threw in some extra debugging for that part.
Made it so that it tries to search for the magenta square 10 times before it says it failed.
Also made it so that bot will work full screen or windowed mode. (Windowed mode the game has to be at 0,0 and the game resolution must be greater than 1023x767)
me too ... can't find a magenta party widget
GMail reset the password to the email account I was using to send alerts. Had to update the password. This may be a problem in the future so I might have to switch emails to a less secure one, create multiple emails for the bot to use, or figure out some other way to let the bot communicate with the user (tempted to create an app for the phone, but it's very unlikely lol).

Anyways, updated the password and in order for it to work for everyone, everyone needs the new pw!

So 1.0.0.4 is out for download, threw in some debugging for the widget error, also made the bot try 10 times to find the widget (even extended the range for the search).

Also, I know I said I wouldn't do much with this bot anymore but I had a few amazing ideas for the bot to do all my pathing.

Short story: I got it to work, it chooses a random direction (up, left, down, or right) then counts the tiles of grass in that direction, if there's none it checks the opposite direction, continues to do this until it finds a proper patch of grass to walk in. It's slow when it turns to go to a different direction so I'm not going to use it yet.
how do I get it to work? I'm also recieving the magneta error
Quote Originally Posted by regret22 View Post
how do I get it to work? I'm also recieving the magneta error
If you're using the 1.0.0.4 version and still getting an error, please go to Help -> Contact developer and report a bug. It will give me all the information I need on the problem.
keep getting pokemmo is no longer the active window and in full screen it keeps pressing the bag button and then stopping
Posts 115 of 395 · Page 1 of 27
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?