OutdatedPokeMMO Bot [Beta]

Posts 3145 of 137 · Page 3 of 10
It still moves few steps to the left and stops moving. The bot seems like is still running but there is no movement in the actual game. Also it doesnt seem to detect the party info by itself, i usually fill it manually( actually i only fill the info of my first pokemon "the fighter") I will post here the bot log and the steps settings.

POKEMMOBOT LOG.LOG
[00:52:48] Loaded Bot Settings.ini
[00:52:48] Loaded Game Client Settings.ini
[00:52:48] Loaded Party Info.ini
[00:52:48] Created Chart Table from Type Chart.txt
[00:52:48] Created Pokemon Data Table from Pokemon Data Table.txt
[00:52:48] Created Available Pokemon Array from Available Pokemon.txt
[00:52:48] Loaded Build Beta 09W022811 Version 1.0.0.1
[00:52:48] Refreshing all data. Reason: Refresh
[00:52:48] Setting Pokemon 1 to null
[00:52:48] Setting Pokemon 2 to null
[00:52:48] Setting Pokemon 3 to null
[00:52:48] Setting Pokemon 4 to null
[00:52:48] Setting Pokemon 5 to null
[00:52:48] Setting Pokemon 6 to null
[00:52:53] Close Bot
[00:52:53] Closing PokeMMO::Bot()
[00:54:36] Loaded Bot Settings.ini
[00:54:36] Loaded Game Client Settings.ini
[00:54:36] Loaded Party Info.ini
[00:54:36] Created Chart Table from Type Chart.txt
[00:54:36] Created Pokemon Data Table from Pokemon Data Table.txt
[00:54:36] Created Available Pokemon Array from Available Pokemon.txt
[00:54:36] Loaded Build Beta 09W022811 Version 1.0.0.1
[00:54:36] Refreshing all data. Reason: Refresh
[00:54:36] Setting Pokemon 1 to null
[00:54:36] Setting Pokemon 2 to null
[00:54:36] Setting Pokemon 3 to null
[00:54:36] Setting Pokemon 4 to null
[00:54:36] Setting Pokemon 5 to null
[00:54:36] Setting Pokemon 6 to null
[00:54:41] Select Your PokeMMO Folder
[00:54:41] Set PokeMMO Path
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Setting Pokemon 1 to useable
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Refreshing all data. Reason: Update
[00:55:11] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:13] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:15] Refreshing all data. Reason: Update
[00:55:22] Start Bot
[00:55:22] PokeMMO::Start()
[00:55:22] Checked Pokemon 1 Class
[00:55:23] Found magenta square and made Party widget moveable
[00:55:23] Found Party widget
[00:55:24] Moved Party widget to the top right corner
[00:55:24] Start botting
[00:55:25] Checking info for party
[00:55:25] Getting info for First Pokemon
[00:55:25] Attempting to open Pokemon Info window for First Pokemon
[00:55:25] Reading info for First Pokemon
[00:55:25] Attempting to read name
[00:55:25] Name = Dragonite
[00:55:25] Attempting to read current HP
[00:55:26] Opening Pokemon stats tab
[00:55:26] Health = 1
[00:55:26] Opening Pokemon PP tab
[00:55:26] Attempting to read current PP
[00:55:26] PP for move 1 = 14
[00:55:27] PP for move 2 = 14
[00:55:27] PP for move 3 = 15
[00:55:28] PP for move 4 = 20
[00:55:28] Attempting to read max PP
[00:55:28] Max PP for move 1 = 15
[00:55:29] Max PP for move 2 = 15
[00:55:29] Max PP for move 3 = 15
[00:55:30] Max PP for move 4 = 20
[00:55:30] Attempting to read move types
[00:55:30] Type for Move 1 = Failed
[00:55:30] Type for Move 2 = Failed
[00:55:31] Type for Move 3 = Failed
[00:55:32] Type for Move 4 = Failed
[00:55:32] Attempting to close Pokemon info window
[00:55:33] Read Pokemon Info in 8.39s
[00:55:33] Error(Encountered an error reading data for First Pokemon)
[00:55:33] Botting loop exited
[00:55:33] PokeMMO::Stop()
[00:55:33] Reason: Error reading Party info for First Pokemon
[00:55:33] Botting stopped
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:24] Refreshing all data. Reason: Update
[00:56:26] Start Bot
[00:56:26] PokeMMO::Start()
[00:56:26] Checked Pokemon 1 Class
[00:56:27] Found Party widget
[00:56:27] Start botting
[00:56:27] Checking info for party
[00:56:27] Getting info for First Pokemon
[00:56:27] Attempting to open Pokemon Info window for First Pokemon
[00:56:27] Reading info for First Pokemon
[00:56:27] Attempting to read name
[00:56:27] Name = Dragonite
[00:56:27] Attempting to read current HP
[00:56:27] Opening Pokemon stats tab
[00:56:27] Health = 1
[00:56:28] Opening Pokemon PP tab
[00:56:28] Attempting to read current PP
[00:56:28] PP for move 1 = 14
[00:56:29] PP for move 2 = 14
[00:56:29] PP for move 3 = 15
[00:56:30] PP for move 4 = 20
[00:56:30] Attempting to read max PP
[00:56:30] Max PP for move 1 = 15
[00:56:31] Max PP for move 2 = 15
[00:56:31] Max PP for move 3 = 15
[00:56:31] Max PP for move 4 = 20
[00:56:32] Attempting to read move types
[00:56:32] Type for Move 1 = Failed
[00:56:32] Type for Move 2 = Failed
[00:56:33] Type for Move 3 = Failed
[00:56:34] Type for Move 4 = Failed
[00:56:34] Attempting to close Pokemon info window
[00:56:35] Read Pokemon Info in 8.36s
[00:56:35] Error(Encountered an error reading data for First Pokemon)
[00:56:35] Botting loop exited
[00:56:35] PokeMMO::Stop()
[00:56:35] Reason: Error reading Party info for First Pokemon
[00:56:35] Botting stopped
[00:56:51] Create Pokemon To Battle GUI
[00:56:51] Populate Pokemon To Battle List
[00:56:56] Close Pokemon To Battle GUI
[00:56:56] Saved Battle all Checkbox state
[00:57:01] Opening Game Client Settings.ini
[00:57:01] Open Game Client Settings.ini
[00:57:16] Opening Pokemon to Battle.txt
[00:57:16] Open Pokemon to Battle.txt
[00:57:20] Opening Bot Settings.ini
[00:57:20] Open Bot Settings.ini
[00:57:28] Opening Pokemon to Battle.txt
[00:57:28] Open Pokemon to Battle.txt
[00:57:33] Opening Party Info.ini
[00:57:33] Open Party Info.ini
[00:57:51] Start Bot
[00:57:51] PokeMMO::Start()
[00:57:51] Checked Pokemon 1 Class
[00:57:52] Found Party widget
[00:57:52] Start botting
[00:57:52] Checking info for party
[00:57:52] Getting info for First Pokemon
[00:57:52] Attempting to open Pokemon Info window for First Pokemon
[00:57:52] Reading info for First Pokemon
[00:57:52] Attempting to read name
[00:57:52] Name = Dragonite
[00:57:53] Attempting to read current HP
[00:57:53] Opening Pokemon stats tab
[00:57:53] Health = 1
[00:57:53] Opening Pokemon PP tab
[00:57:53] Attempting to read current PP
[00:57:53] PP for move 1 = 14
[00:57:54] PP for move 2 = 14
[00:57:54] PP for move 3 = 15
[00:57:55] PP for move 4 = 20
[00:57:55] Attempting to read max PP
[00:57:55] Max PP for move 1 = 15
[00:57:56] Max PP for move 2 = 15
[00:57:56] Max PP for move 3 = 15
[00:57:57] Max PP for move 4 = 20
[00:57:57] Attempting to read move types
[00:57:57] Type for Move 1 = Failed
[00:57:57] Type for Move 2 = Failed
[00:57:58] Type for Move 3 = Failed
[00:57:59] Type for Move 4 = Failed
[00:57:59] Attempting to close Pokemon info window
[00:58:00] Read Pokemon Info in 8.38s
[00:58:00] Error(Encountered an error reading data for First Pokemon)
[00:58:00] Botting loop exited
[00:58:00] PokeMMO::Stop()
[00:58:00] Reason: Error reading Party info for First Pokemon
[00:58:00] Botting stopped
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Updating type image 0 for Pokemon 1
[01:00:04] Updating type image 1 for Pokemon 1
[01:00:04] Updating type image 2 for Pokemon 1
[01:00:04] Updating type image 3 for Pokemon 1
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Refreshing all data. Reason: Update
[01:00:04] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:07] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:09] Refreshing all data. Reason: Update
[01:00:17] Start Bot
[01:00:17] PokeMMO::Start()
[01:00:17] Checked Pokemon 1 Class
[01:00:17] Found Party widget
[01:00:17] Start botting
[01:00:17] Checking info for party
[01:00:17] Refreshing all data. Reason: Refresh
[01:00:17] Pokemon in battle: 1
[01:00:17] PokeMMO::SearchForWild()
[01:00:17] Searching for wild Pokemon
[01:00:17] Moving: Left [01:00:18] PokeMMO::StartBattle()
[01:00:18] Battle started
[01:00:25] Stop button Pressed
[01:00:25] Botting loop exited
[01:00:25] PokeMMO::Stop()
[01:00:25] Reason: Stop button pressed
[01:00:25] Botting stopped
[01:00:25] Botting stopped
[01:00:28] Start Bot
[01:00:28] PokeMMO::Start()
[01:00:28] Checked Pokemon 1 Class
[01:00:29] Found Party widget
[01:00:29] Start botting
[01:00:29] Checking info for party
[01:00:29] Refreshing all data. Reason: Refresh
[01:00:29] Pokemon in battle: 1
[01:00:29] PokeMMO::SearchForWild()
[01:00:29] Searching for wild Pokemon
[01:00:29] Moving: Left [01:00:29] PokeMMO::StartBattle()
[01:00:29] Battle started
[01:00:48] Botting loop exited
[01:00:48] PokeMMO::Stop()
[01:00:48] Botting stopped
[01:00:54] Create Pokemon To Battle GUI
[01:00:54] Populate Pokemon To Battle List
[01:00:56] Close Pokemon To Battle GUI
[01:00:56] Saved Battle all Checkbox state
[01:01:02] Opening Game Client Settings.ini
[01:01:02] Open Game Client Settings.ini
[01:03:36] Start Bot
[01:03:36] PokeMMO::Start()
[01:03:36] Checked Pokemon 1 Class
[01:03:37] Found Party widget
[01:03:37] Start botting
[01:03:37] Checking info for party
[01:03:37] Refreshing all data. Reason: Refresh
[01:03:37] Pokemon in battle: 1
[01:03:37] PokeMMO::SearchForWild()
[01:03:37] Searching for wild Pokemon
[01:03:37] Moving: Left [01:03:37] PokeMMO::StartBattle()
[01:03:37] Battle started
[01:03:48] Botting loop exited
[01:03:48] PokeMMO::Stop()
[01:03:48] Botting stopped
[01:04:39] Start Bot
[01:04:39] PokeMMO::Start()
[01:04:39] Checked Pokemon 1 Class
[01:04:40] Found Party widget
[01:04:40] Start botting
[01:04:40] Checking info for party
[01:04:40] Refreshing all data. Reason: Refresh
[01:04:40] Pokemon in battle: 1
[01:04:40] PokeMMO::SearchForWild()
[01:04:40] Searching for wild Pokemon
[01:04:40] Moving: Left [01:04:40] PokeMMO::StartBattle()
[01:04:40] Battle started
[01:04:49] Botting loop exited
[01:04:49] PokeMMO::Stop()
[01:04:49] Botting stopped
[01:04:51] Close Bot
[01:04:51] Closing PokeMMO::Bot()

ErrorLog

[00:55:30] Failed to detemine type for move 12
[00:55:31] Failed to detemine type for move 13
[00:55:32] Failed to detemine type for move 14
[00:55:32] Failed to detemine type for move 15
[00:55:33] Error reading Party info for First Pokemon
[00:56:32] Failed to detemine type for move 12
[00:56:33] Failed to detemine type for move 13
[00:56:34] Failed to detemine type for move 14
[00:56:34] Failed to detemine type for move 15
[00:56:35] Error reading Party info for First Pokemon
[00:57:57] Failed to detemine type for move 12
[00:57:58] Failed to detemine type for move 13
[00:57:59] Failed to detemine type for move 14
[00:57:59] Failed to detemine type for move 15
[00:58:00] Error reading Party info for First Pokemon


BOT SETTINGS.INI

;================================================= ================================
;====== Steps = Number of steps bot takes in each direction ======
;====== Path = Path to take ======
;====== Direction = Direction to move first ======
;================================================= ================================
;====== Path can be: ======
;====== horizontal ======
;====== vertical ======
;====== square ======
;====== Square only goes clockwise (currently) ======
;================================================= ================================

[In Game]
Steps =3
Path =horizontal
Direction =Left
Battle All =1
Speed =195

[Misc]
PokeMMO Path =D:\POKEMMO.EU

;###########################;
; Do not edit below this ;
;###########################;

[Bot Settings]
General Tolerance = 20
Pixel Tolerance = 5
Delay = 250
Walk Delay = 20
Turn Delay = 35
Quote Originally Posted by user123x View Post
It still moves few steps to the left and stops moving. The bot seems like is still running but there is no movement in the actual game. Also it doesnt seem to detect the party info by itself, i usually fill it manually( actually i only fill the info of my first pokemon "the fighter") I will post here the bot log and the steps settings.

POKEMMOBOT LOG.LOG
[01:04:40] Pokemon in battle: 1
[01:04:40] PokeMMO::SearchForWild()
[01:04:40] Searching for wild Pokemon
[01:04:40] Moving: Left
[01:04:40] PokeMMO::StartBattle()
[01:04:40] Battle started
[01:04:49] Botting loop exited
[01:04:49] PokeMMO::Stop()
[01:04:49] Botting stopped
[01:04:51] Close Bot
[01:04:51] Closing PokeMMO::Bot()
There is a 9 second delay between Battle Started and Loop Exited where it does not read the enemy name.

In the code of the bot right after it does the record for "Battle started" it waits until it can start reading the enemy name. In that wait though it's checking to see if the PokeMMO game is the active window (Meaning it checks to make sure the window on top that's selected is the PokeMMO game). If PokeMMO is not active the bot waits for 5 seconds and then stops. I will do some more investigating.

Is anyone else have the same issue?
Quote Originally Posted by InunoTaishou View Post
There is a 9 second delay between Battle Started and Loop Exited where it does not read the enemy name.

In the code of the bot right after it does the record for "Battle started" it waits until it can start reading the enemy name. In that wait though it's checking to see if the PokeMMO game is the active window (Meaning it checks to make sure the window on top that's selected is the PokeMMO game). If PokeMMO is not active the bot waits for 5 seconds and then stops. I will do some more investigating.

Is anyone else have the same issue?
I have had similar issues myself, but I managed to fix them easily, most of them consisted of me just not thinking everything through, hue hue! I do have issues when botting in a cave thought, the bot won't read the Pokémon data, regardless of what sort of pókemon it is. Would you please explain how PokeAI determines the type of the specific move and how the bot determines the Pokémon?
Quote Originally Posted by Cardboard_Cat View Post


I have had similar issues myself, but I managed to fix them easily, most of them consisted of me just not thinking everything through, hue hue! I do have issues when botting in a cave thought, the bot won't read the Pokémon data, regardless of what sort of pókemon it is. Would you please explain how PokeAI determines the type of the specific move and how the bot determines the Pokémon?
What data doesn't it read? And do you mean the enemy data or when it starts up and is reading your Pokemon info?

As for type, it's doing a search for colors in a specific spot on the party info window, where it says the move type. I haven't played in caves but I'll have to try it out myself and see what it does.

What kinds of issues were you having?
The only other thing I can think of is if you don't have Await Key Press checked. If it's not checked it's going to wait indefinitely until it can read the enemy's name.

I put in some more debugging in that part of the script.

Started on Leveling, Leveler, and Switching Pokemon when first one faints. No ETA on the next update. This one seems like it might be a while because I'll have to manage info for multiple Pokemon at the end of the battle. Hoping for the end of the weekend.

Also, I noticed it would not read my Rattata's name when reading info. So I'm going to be reworking that and trying to make it more stable.
If anyone gets a (Failed) message for reading Pokemon info part please post what pokemon it was trying to get stats for and post a screenshot of your Pokemon. (To get technical, all the text in the battle uses 3 pixel spacing, a few characters have some different pixel spacing but it's not dependent on the character next to it. The spacing for the name in the Pokemon Info window is not the same for every character, T next to T overlaps and creates TT not T T, A should have 1 pixel spacing between characters but an A next a T has 0, A next to any character with a flat side has like 2 or 3)
It is checked. Yet it stops moving after 1-3 steps , most of the time it doesnt even find a wild pokemon.. so it just moves 3 steps and stops moving.. its like the bot were not working but in the log it doesnt stop but after a few seconds of being the bot at the top of the pokemmo window .
I also had an issue with it not reading move types properly, I believe it was a dragon move. I'm working on resolving that.

Started working on being able to use Leveling and Leveler classes. It works with the First and Second Pokemon currently but it still needs testing and tweaking.
Worked on making it be able to switch to other Pokemon if current one dies. Still needs testing and tweaking.
Added another GUI just for pathing and controls. This makes it so no one will have to modify files, they can just use the program to do everything.

No ETA on the next release. Working on the other classes is going to take a lot of time and I don't want to push the update until it is working properly.
/Approved. Formatting got a bit messed up for the original post
Quote Originally Posted by Cataclypse View Post
/Approved. Formatting got a bit messed up for the original post
Fortunately I saved that post in a txt file because it was so large, can I pm you a pastbin link of it?

Just to let everyone know, the first post has been updated with the latest version. If you have the 1.0.0.0 version you can download the new one from the bot or on the first post.
Quote Originally Posted by InunoTaishou View Post
Fortunately I saved that post in a txt file because it was so large, can I pm you a pastbin link of it?
Sure thing!
Took a little break from this but I'm going to start working on it again soon.

Want to work on a way for the bot to switch the Party so it will level the first Pokemon x amount of times then swap it with the third and do it again.
Also going to try implementing an EV Training class so it will get a specified amount of Ev's before stopping/switching.
Might throw in a bug reporting option so I can get direct feedback about any problems.

Anyone had any issues with the latest version?
Quote Originally Posted by InunoTaishou View Post
Took a little break from this but I'm going to start working on it again soon.

Want to work on a way for the bot to switch the Party so it will level the first Pokemon x amount of times then swap it with the third and do it again.
Also going to try implementing an EV Training class so it will get a specified amount of Ev's before stopping/switching.
Might throw in a bug reporting option so I can get direct feedback about any problems.

Anyone had any issues with the latest version?
I did have some issues, couldn't get it to work after battle starts. It doesnt seem to press "a" once the battle window pops up, despite i set the "a" and "b" button properly in the bot settings. Also once I manually press a to trigger the battle menu, the bot just moves between the options without clicking on any.

Also would be cool if you could add customizable direction keys in the bot settings, since it took me a great deal of time to figure out my char wasn't moving because my direction keys are W,A,S,D instead of UP, LEFT, DOWN, RIGHT

besides that, the bot interface looks great and appealing, thanks for taking your time doing this
Quote Originally Posted by Foxb0ss View Post
I did have some issues, couldn't get it to work after battle starts. It doesnt seem to press "a" once the battle window pops up, despite i set the "a" and "b" button properly in the bot settings. Also once I manually press a to trigger the battle menu, the bot just moves between the options without clicking on any.

Also would be cool if you could add customizable direction keys in the bot settings, since it took me a great deal of time to figure out my char wasn't moving because my direction keys are W,A,S,D instead of UP, LEFT, DOWN, RIGHT

besides that, the bot interface looks great and appealing, thanks for taking your time doing this
It's moving between options in the battle menu because it doesn't recognize that it's in battle. Can you post your info file in the logs folder?

And please post your log in the (code)(/code) tags (replace () and [])

Made it so you can select your directional keys, it works.
im gettin an error i wana bot so bad..

Error(Could not find Party widget or the Magenta square)

can someone add me on skype? and guide me please. cabalgirl1 is my skype name ty!
Quote Originally Posted by llkooltjg13 View Post
im gettin an error i wana bot so bad..

Error(Could not find Party widget or the Magenta square)

can someone add me on skype? and guide me please. cabalgirl1 is my skype name ty!
Fortunately that is an extremely easy error to fix!

It's because you don't have the proper theme. If you're using the 09W022811 V1.0.0.2 there is a folder called PokeAI Theme in the bot folder. Copy and paste that into your PokeMMO theme folder (Go to your PokeMMO folder, double-click the data folder, double-click the themes folder). In game go to Menu -> Settings and select the PokeAI Theme. Hit save and you can bot! (You will have to restart your game if you want the bot to determine the move type for each move)
Posts 3145 of 137 · Page 3 of 10
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?