Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Franchise Hockey Manager 12 > FHM Mods

FHM Mods This is the place to check for mods for both FHM12 and previous versions.

Reply
 
Thread Tools
Old 03-08-2026, 03:58 AM   #1
Vlaandeerfeld
Bat Boy
 
Join Date: May 2023
Posts: 16
FHM11 Automation

I created a program I call simbot that will help simulate play in FHM11. I spent a long time trying to make it perfect and universal so it would work for any league/team combination. It's not there yet but works very well for top level league. Most suitable to a standard game playing in the NHL. I also wanted to tailor it to big game servers with like 20 people but it's actually better suited to small servers played with friends.

https://youtu.be/7OHhwiHNZxQ

This is a sped up example where it cycles through importing a save file, saves and exits, launches, sims the current day games, takes screenshots of results, sims to next day, takes screenshots of lines, uploads and then exports csv.

I created a discord bot that takes commands such as /simday or /showlines that controls the bot and the pictures it takes it posts to the appropriate server channel.

It works with an SQL server to deliver stats with custom commands like /goalie_report

I've been playing a game with 3 people in total and we have gone 7 years and all I have to manually do is draft and trades. Throughout the day we just sim through discord as we go.

I was pretty happy with it so thank you if you read all that.
Attached Images
Image Image Image 

Last edited by Vlaandeerfeld; 03-08-2026 at 04:00 AM.
Vlaandeerfeld is offline   Reply With Quote
Old 03-08-2026, 10:57 AM   #2
landru22
Major Leagues
 
Join Date: Jul 2010
Posts: 472
This looks incredible! I'm not sure I would use it, but I appreciate the work you must have put into this.
landru22 is offline   Reply With Quote
Old 03-14-2026, 06:08 AM   #3
tomkmb
All Star Starter
 
tomkmb's Avatar
 
Join Date: Jan 2021
Posts: 1,752
Awesome, I love to see projects like this. I think I actually followed you on Github when I was searching for FHM related repo's, I recognised the username.

I'd be interested to know a little bit more about the tech behind it and how's it working if you were ever inclined to share, just from a personal curiosity standpoint.

Either way, thanks for taking the time to make and share it!
tomkmb is offline   Reply With Quote
Old 04-20-2026, 06:27 PM   #4
Vlaandeerfeld
Bat Boy
 
Join Date: May 2023
Posts: 16
It's more tedious than complicated. I noticed that the FHM layout is very static so a lot of the program started as just a point to location and let python click through.

self.LeagueStatsGoalieLeadersButton = (250, 222)
self.LeagueStatsMoreButton = (410, 222)
self.LeagueStatsTeamsButton = (720, 222)
self.LeagueScheduleButton = (525, 110)
self.LeagueSchedulePreviousDayButton = (1280, 260)
self.LeagueScheduleNextDayButton = (1550, 260)
self.LeagueTransactionsButton = (525, 130)
self.LeagueTransactionsWaiverButton = (540, 225)
self.LeagueTransactionsWaiverAttributeButton = (1770, 260)
self.LeagueTransactionsWaiverAttributeContractButt on = (1770, 325)

Then I needed some variableness so I used computer vision libraries that uses AI to match images. I would just screenshot in game images like please wait when simming. When it can't find please wait it knows it's done simming and then can continue clicking.

A relatively fancy feature was finding variable images. For example before every sim it looks for injured players in the line up. The game uses qt5 and python has a library pygt5. I looked through the skin file and found the font used and background colour. I get the players for the team from the csvs and generate an image that cv then looks for in game.

I also changed the skin to be easier for the program. I took away things like changing colour when hovering and alternating colour in a list so that the program can find the image easier.

I've been too busy to program proper so I've been using AI to program a lot. A big improvement I made was a website. I was inspired by some of the websites I saw here. An improvement I made though was to tie the website into the automation. So you can make trades and lineup changes through the site and then it will apply it in game.
Attached Images
Image 
Vlaandeerfeld is offline   Reply With Quote
Old 04-22-2026, 10:25 AM   #5
tomkmb
All Star Starter
 
tomkmb's Avatar
 
Join Date: Jan 2021
Posts: 1,752
That's really interesting, not to mention impressive. Thanks a lot for sharing!
tomkmb is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:18 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments