PokéAI A PokeMMO Bot

10/11/2015 00:09 ♛Wolf♛#1
I present to you, PokéAI. A one-person show.
he 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!

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
10/11/2015 01:01 Dretim#2
Got the problem Magenta widget... installed the themes.... what to do?
10/11/2015 02:11 PWO#3
Any chance you could make a bot similar to this for pokemon revolution online? Don't think anyone has managed to make a bot for that game.
10/12/2015 01:55 jmentor#4
Does it follow a predefined path or does it use it own ? If it follow it own they good job man i failed at all my atempts at pathfinding <3
10/27/2015 22:41 InunoTaishou#5
Googled my bots name and this post came out, thanks for helping spread it Wolf! :)

It's a bit buggy since a couple of PokeMMO (game itself) updates ago but I haven't gotten a whole lot of people telling me it's broke. At least not completely....

I've got a new version I've been working on for quite a while now (few months) and I need some people to test it. Download it, test it out, let me know any bugs, errors, crashes, problems, or suggestions.

Download from [Only registered and activated users can see links. Click Here To Register...]
10/29/2015 17:02 GoldPhoenix#6
Quote:
Originally Posted by InunoTaishou View Post
Googled my bots name and this post came out, thanks for helping spread it Wolf! :)

It's a bit buggy since a couple of PokeMMO (game itself) updates ago but I haven't gotten a whole lot of people telling me it's broke. At least not completely....

I've got a new version I've been working on for quite a while now (few months) and I need some people to test it. Download it, test it out, let me know any bugs, errors, crashes, problems, or suggestions.

Here's a video for setting up and getting started with this testing version. Hopefully HD is available when people start watching lol. (Sorry if I sound bad, I've never recorded a video before...)

[Only registered and activated users can see links. Click Here To Register...]

Virusl total
[Only registered and activated users can see links. Click Here To Register...]

In your Video you just make a SET UP .. there is no prove that this bot realy works!

I tried. It dont work.


[Only registered and activated users can see links. Click Here To Register...]
10/29/2015 19:55 InunoTaishou#7
Quote:
Originally Posted by GoldPhoenix View Post
In your Video you just make a SET UP .. there is no prove that this bot realy works!

I tried. It dont work.


[Only registered and activated users can see links. Click Here To Register...]
I was just going over setting up the bot. Could you send me your Logs folder so I can see where it encountered the errors? (It's in the Data folder) Rar/Zip it and pm me please.

I've been using this version for the past couple of weeks but the reading location and channel was something that I had got working (working for me) a few days before I posted that. Although I never used it in Pokemon tower, it was only on Route locations and in a couple of caves.
10/29/2015 20:18 GoldPhoenix#8
Quote:
Originally Posted by InunoTaishou View Post
I was just going over setting up the bot. Could you send me your Logs folder so I can see where it encountered the errors? (It's in the Data folder) Rar/Zip it and pm me please.

I've been using this version for the past couple of weeks but the reading location and channel was something that I had got working (working for me) a few days before I posted that. Although I never used it in Pokemon tower, it was only on Route locations and in a couple of caves.
Sure. thx for being helpful.

Here is the Log: [Only registered and activated users can see links. Click Here To Register...]

1. Could you confirm the locations were it works? would be nice, thx.
2. Do i need any kind of fixed resolution or does it work with every res?
3. Which roms do you use?
10/29/2015 22:25 InunoTaishou#9
New testing version updated, getting closer to the point where the Testing version will become the next update. I probably won't finish the Hunter class before I do that but I would like to get Leveling, [PWR] Leveling, and EV Training working properly before I update completely.

YouTube Videos:
The bot in action (Before the last PokeMMO update, the only thing that's changed since then is the theme)
[Only registered and activated users can see links. Click Here To Register...]

Setting up the bot
[Only registered and activated users can see links. Click Here To Register...]

Virus Scans
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
10/29/2015 23:21 GoldPhoenix#10
Quote:
Originally Posted by InunoTaishou View Post
1. Any location where it is Route (I.e., Route 1, 2, 3, 4, 5, etc) the bot has read that location successfully. I've also used it in Diglett's Cave and I think I used it in Mt Moon without any issues.
2. It will work with any resolution. I have my game set to 1280x768 but I've also used it at 1920x1080 and 1024x768 successfully.
3. FireRed, SoulSilver, and Emerald

Is there an Errors folder inside of your Logs folder? If there is are there any files inside the Errors folder?

I fixed a couple of things (That message box with those numbers and a slight bug where it wasn't reading the Pokemon name correctly) so try this one.

Virus Total Scan: [Only registered and activated users can see links. Click Here To Register...]

YouTube Videos:
The bot in action: [Only registered and activated users can see links. Click Here To Register...]

Setting up the bot: [Only registered and activated users can see links. Click Here To Register...]
Ok thx ,now all work fine. But the Fighter option isnt going like it should i think. Because if ive got the 1st pokemon as fighter it not doing anythink. Leveling is working great! thx =) ..

Question: could you build in a shiney catcher or any kind of catcher option? this one would be a great help! :) Good job again and thank you
10/29/2015 23:31 InunoTaishou#11
Quote:
Originally Posted by GoldPhoenix View Post
Ok thx ,now all work fine. But the Fighter option isnt going like it should i think. Because if ive got the 1st pokemon as fighter it not doing anythink. Leveling is working great! thx =) ..

Question: could you build in a shiney catcher or any kind of catcher option? this one would be a great help! :) Good job again and thank you
The fighter class is really just a backup in case all else fails. Like, if a [PWR] Leveling pokemon switches to the Leveler and the Leveler faints. If there are no other Levelers left PokeAI will switch to a Pokemon with a fighter class and the fighter will finish the battle but the [PWR] Leveling Pokemon will be moved out of the first spot (because there are no [PWR] Levelers left).

tl;dr, it's just a class to be used on spot where you have a Pokemon but you don't want it to be Do Nothing.

In the original version there was a hunter (for catching shinies) but it kind of broke during a PokeMMO update. I have a new plan for the Hunter class in this new version but getting it implemented and functional is going to take time. For now I just wanted to get the Leveling and Ev training classes done.

My plans:
PokeAI can catch Pokemon that haven't been caught.
Hunter class can be used to Hunt for Shinies, Catch a specific Pokemon with the desired IV's (Ex., a Zubat with 31 HP, 25+ attack, 20+def, 20+ sp. def., 20+ speed), catch all uncaught Pokemon in the current location, and any other ideas I have for this class.
Actual path finding. (This is something I've experimented with before and got it somewhat working correctly. It will be time consuming.)
Once path finding is worked out being able to heal at the Pokemon center.
10/30/2015 00:27 mateopp#12
Just two questions, is this bot Image search-based?

And if not, then how do you read all values? like actual channel, actual HP, actual level for each pokemon, etc.

I'm coder too, for anothers games i read values just reading his pointers, but PokeMMO is some weird, so..

Greetings.
10/30/2015 00:42 InunoTaishou#13
Quote:
Originally Posted by mateopp View Post
Just two questions, is this bot Image search-based?

And if not, then how do you read all values? like actual channel, actual HP, actual level for each pokemon, etc.

I'm coder too, for anothers games i read values just reading his pointers, but PokeMMO is some weird, so..

Greetings.
It's image based. I spent hours, days even, trying to figure out how to read values from javaw.exe and there just are no pointer in java to read values in memory. It's impossible to do memory reading for PokeMMO/java, So I had to do image searching. Next best thing would be to decompile the game, and I've tried, but I found no methods that I could plainly see that related to receiving or sending information to the PokeMMO servers about your client. I spent a long time going through the .class files for the game and got no where.

As for reading the values, I find a static image near the value I'm trying to read and go one character at a time. In essence, it is actually reading the screen, building the value one character at at ime.
10/30/2015 09:21 GoldPhoenix#14
got this error.... no loggin screen ...

ps.: today we got an update

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
10/30/2015 10:14 InunoTaishou#15
I'll have to open up photoshop and redo my theme today