René's URL Explorer Experiment


Title: Make JBWAPI ready to connect as fast as possible by dgant · Pull Request #97 · JavaBWAPI/JBWAPI · GitHub

Open Graph Title: Make JBWAPI ready to connect as fast as possible by dgant · Pull Request #97 · JavaBWAPI/JBWAPI

X Title: Make JBWAPI ready to connect as fast as possible by dgant · Pull Request #97 · JavaBWAPI/JBWAPI

Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not even an obviously good way to do this. Instead they just launch the client bot, wait a few seconds, then launch StarCraft and pray the client is ready. This usually works, but when it doesn't, the bot fails to connect. The game is ruined. This pull request aims to prevent failed connections by reducing the time required for client bots to be ready for connection: Don't allocate the asynchronous frame buffer until after connection. Don't bind the whole Kernel32 interface, just the functions we need: OpenFileMapping and MapViewOfFile. These changes were vibecoded but have undergone several rounds of iteration and testing.

Open Graph Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not eve...

X Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's...

Opengraph URL: https://github.com/JavaBWAPI/JBWAPI/pull/97

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9ff7d838-4d98-a351-809f-35671103a391
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE24:3AABA8:72B36F:9861DF:6B062A03
html-safe-nonce7233be0763a7b91074531ac79f5522bc1989618a3ffdc36130ec26857ea18a87
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTI0OjNBQUJBODo3MkIzNkY6OTg2MURGOjZCMDYyQTAzIiwidmlzaXRvcl9pZCI6IjM2NzIwMjM1NjYxNDY0ODA2NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfed8873931aaeced7f435dde0ba3fca7557676fcc0975a20ea3606fdbd3ab1ae
hovercard-subject-tagpull_request:5056334737
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JavaBWAPI/JBWAPI/pull/97/files
twitter:imagehttps://avatars.githubusercontent.com/u/116363?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/116363?s=400&v=4
og:image:altMost software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not eve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JavaBWAPI/JBWAPI git https://github.com/JavaBWAPI/JBWAPI.git
octolytics-dimension-user_id46279254
octolytics-dimension-user_loginJavaBWAPI
octolytics-dimension-repository_id149718845
octolytics-dimension-repository_nwoJavaBWAPI/JBWAPI
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id149718845
octolytics-dimension-repository_network_root_nwoJavaBWAPI/JBWAPI
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaBWAPI%2FJBWAPI%2Fpull%2F97%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaBWAPI%2FJBWAPI%2Fpull%2F97%2Ffiles
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JavaBWAPI%2FJBWAPI
Reloadhttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Reloadhttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Reloadhttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
JavaBWAPIhttps://redirect.github.com/JavaBWAPI
JBWAPIhttps://redirect.github.com/JavaBWAPI/JBWAPI
Codehttps://redirect.github.com/JavaBWAPI/JBWAPI
Issues11 (11)https://redirect.github.com/JavaBWAPI/JBWAPI/issues
Pull requests4 (4)https://redirect.github.com/JavaBWAPI/JBWAPI/pulls
Actionshttps://redirect.github.com/JavaBWAPI/JBWAPI/actions
Security and qualityhttps://redirect.github.com/JavaBWAPI/JBWAPI/security
Insightshttps://redirect.github.com/JavaBWAPI/JBWAPI/insights
Sign up for GitHub https://redirect.github.com/signup?return_to=%2FJavaBWAPI%2FJBWAPI%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2FJavaBWAPI%2FJBWAPI%2Fissues%2Fnew%2Fchoose
JasperGeurtzhttps://redirect.github.com/JasperGeurtz
JavaBWAPI:develophttps://redirect.github.com/JavaBWAPI/JBWAPI/tree/develop
dgant:develophttps://redirect.github.com/dgant/JBWAPI/tree/develop
Conversation 10 https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97
Commits 2 https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/commits
Checks 5 https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/checks
Files changed https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Make JBWAPI ready to connect as fast as possible https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#top
Show all changes 2 commits https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
51a03de Defer frame buffers and metrics until after the BWAPI handshake dgant Nov 5, 2026 https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/commits/51a03de3626d6be300c26e38905076dff4aa1951
f8e3abf Reduce startup work by binding only required Kernel32 functions dgant Nov 5, 2026 https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/commits/f8e3abf0cd1646054d9be164b6405059541d019f
Clear filters https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
maven.yml https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446
BWClient.java https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-6813f986696967f46dd245c823043cec019c9afc049f6412e3061cc7d7c84e29
ClientConnectionW32.java https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
BWClientStartupTest.java https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-cb312142aee653438ae23ef30b83b0ed73db782397640c3274993374fe2f2fe3
MappingKernelTest.java https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-dbcf21382e5faf804164094fba778e7e5ed91eeda8c8c2927ecc8a53ef44bd0d
.github/workflows/maven.ymlhttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446
View file https://redirect.github.com/dgant/JBWAPI/blob/f8e3abf0cd1646054d9be164b6405059541d019f/.github/workflows/maven.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/{{ revealButtonHref }}
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446
src/main/java/bwapi/BWClient.javahttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-6813f986696967f46dd245c823043cec019c9afc049f6412e3061cc7d7c84e29
View file https://redirect.github.com/dgant/JBWAPI/blob/f8e3abf0cd1646054d9be164b6405059541d019f/src/main/java/bwapi/BWClient.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/{{ revealButtonHref }}
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-6813f986696967f46dd245c823043cec019c9afc049f6412e3061cc7d7c84e29
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-6813f986696967f46dd245c823043cec019c9afc049f6412e3061cc7d7c84e29
src/main/java/bwapi/ClientConnectionW32.javahttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
View file https://redirect.github.com/dgant/JBWAPI/blob/f8e3abf0cd1646054d9be164b6405059541d019f/src/main/java/bwapi/ClientConnectionW32.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/{{ revealButtonHref }}
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-8cb3102cc94a881a25f4875b4ec85c4121ee2d95f0c3491b6f99379ea9f88fd7
src/test/java/bwapi/BWClientStartupTest.javahttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-cb312142aee653438ae23ef30b83b0ed73db782397640c3274993374fe2f2fe3
View file https://redirect.github.com/dgant/JBWAPI/blob/f8e3abf0cd1646054d9be164b6405059541d019f/src/test/java/bwapi/BWClientStartupTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/{{ revealButtonHref }}
src/test/java/bwapi/MappingKernelTest.javahttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files#diff-dbcf21382e5faf804164094fba778e7e5ed91eeda8c8c2927ecc8a53ef44bd0d
View file https://redirect.github.com/dgant/JBWAPI/blob/f8e3abf0cd1646054d9be164b6405059541d019f/src/test/java/bwapi/MappingKernelTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/{{ revealButtonHref }}
Please reload this pagehttps://redirect.github.com/JavaBWAPI/JBWAPI/pull/97/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.