jncraton / bwmetaai Goto Github PK
View Code? Open in Web Editor NEWA StarCraft Brood War AI designed to follow the modern 1v1 metagame
License: Other
A StarCraft Brood War AI designed to follow the modern 1v1 metagame
License: Other
I've played against Zerg (1v1) as Protoss and Terran, three times each.
Each time Zerg did not attack me. It has 3-4 hatcheries, many zerglings, but that's all. It doesn't attack (although it actively protects its bases), and it doesn't react to my air units (it only builds spore colonies).
I tried waiting, but the AI doesn't improve its tech and still does not attack.
I play the latest battle.net version of Remastered and the latest release of AI.
Terran and Protoss AIs are ok, and I've not tried ZvZ yet. I also seen Zerg attacking and improving tech in 8-player FFA game.
Can I somehow help with diagnosing the issue?
Leaves no freeze.log or error logs of any kind, tested over 1.16, Remastered, with and without mods and with different mod components (modloaders of any kind seem do to the trick without more needed) - without mods it doesn't permafreeze the game and is not noticeable during playing, but on replays with higher speeds you can see the game freeze for even a good few seconds at a time. Tested with 3 and 7 computer players, sometimes happens earlier than the 30 minutes. Video - https://youtu.be/B3H0V9oTd0E
As you can see im not pausing or doing anything, the game just freezes. Normally if there's too much happening the replay just slows down, I have no idea what can cause a freeze like this - normal causes would be infinite loops (permafreeze) or defenseuse units with 0 force (permafreeze) but both definetly don't happen here, dunno what this is.
Hi,
thank you for your work. I had a lot of fun playing against this AI.
It seems that Terran AI makes too many (I counted 18 and more) Science Vessels against Zerg.
Only Windows?
Thanks in advance.
See: http://www.teamliquid.net/forum/viewpost.php?post_id=26850552
It sounds like the expansion isn't properly defended with a few marines after a BBS rush.
Goliath range upgrade (Charon Boosters) is missing from tech_manager script.
I can play against the AI myself using this method now.
Samase works great for me. Didn't notice any problems. The timings in my custom builds still work. I encourage everyone to give this a try.
- Get Samase
- Get aiscript.bin from BWMetaAI's releases page
- Make the directory layout like this:
StarCraft\x86\StarCraft.exe
StarCraft\x86\sesame.exe
StarCraft\x86_custom_\scripts\aiscript.bin- Make a shortcut to sasame.exe and add custom as a command line parameter.
The name custom can be anything you want. Just make sure the directory and parameter match.
Now however when I try to start a game over either Battle.net or LAN with a friend who also has set up the AI in the way mentioned above, we both get dropped from each others games at the exact time when the AI's first say something in all chat.
We used to play against this AI together (Its very fun on big maps) when all we had to do was replace the patch_rt files on everyone's computers. Everything ran fine, and it was the most enjoyable comp stomps I had ever played (considering it was actually a challenge), but now I am wearing a mild sad face as this is seemingly no long possible D:
In case you are wondering, both me and my friend can individually play against the new AI (the messages appear etc) but just cannot play together.
I hope someone can help! And if not, I'll just have to live with.... Starcraft 2... (Dies a bit inside)
Sometimes (most often when there's a zerg player who is half a supply short of being supply capped or when the AI is 1 supply short of being supply capped but waits for training a 2+ supply unit) farms_notiming makes the AI hang up until it's attacked (loses supply) and not proceed it's script. I would recommend phasing out farms_notiming earlier or not using it at all, handling first supply manually and then adding farms_timing after the few first workers.
During my testing this has happened the most to muta/ling zerg AI
It might be nice to include separate releases for specific play styles (cheese, standard, greedy, etc) in addition to the main release including all builds. This could allow players to practice macro builds without having to worry about getting cheesed.
I spent some time tonight getting samase to pack the ai script. which i did so with success but when i try and run the .exe and select the starcraft executable i get an error saying this:
I tried to run the script in 1.16 and it said that i needed 1.20 or newer. I am on 1.23.3.8211 which was updated 2/12/2020. my buddy is saying there might be a way for you to just update the version in the script? please let me know.
--side note--
if this issue is fixed i will make a legit tutorial on how to pack up the script as it was pretty tricky for a n00b like me. i very briefly got to use this tool last year before they got rid of "patch_rt" support and think its a great tool that deserves to be used by newer players. thanks for making this, i hope its an easy fix!
I have triggers on my map that set shared vision for ally computers (I want to play with this bot as ally), but with this mod it does not work - I have no vision with my allies.
So happy to find this package!
I installed Starcraft: Remastered from Battle.net in MacOS. Does this package work? Or I have to install in windows?
Hi.
I'm trying out several test and build changes.
However, I encountered an unknown error in some parts.
If you know anything about this, please reply.
Thanks.
I have truly been enjoying your AI patch so far.
However after 1.23.0 patch there is no longer patch_rt file.
Is it possible for you to address this issue?
Any help or advice will be much appreciated :)
Hi i can not open the samase.exe even if i add custom as command-line-parameter. Do any other people have the same problem ? i don not have python on my computers, do i have to install it ?
Zerg does not make several tech/upgrades. For example the following are not made:
I checked tech_manager.pyai for Zerg and indeed they are missing. Do you want PR?
Hello, Mr Craton. The AI is awesome for newbie players. Sincere thanks for your work :)
I manage to beat 1 AI consistently but I cannot beat 2 AIs. I would like to implement a smoother difficulty scaling by giving AI money
Currently give_money() in freemoney.pyai does that work. I see 2 issues with current implementation
Solution - I would like to implement a mechanism that gives money proportionate to current workers. The bonus money will scale with game progression and can be negated with harassment and denying expansions
Unfortunately I did not manage to find proper documentation of the API of the game ai scripts. Can you point me to the appropriate resources, if any?
Kind Regards
Since I'm a total beginner I wanted to practice some ZvP, but it seems that the AI can't really handle even just 6 Lings (simple Overpool timing), never scouts or reacts to Mutas (never builds Corsairs unless it picks the Corsair opening). I even started to suspect that the AI wasn't loading properly so I tried loading it on different versions/different maps (1.16.1 and 1.23.10) but the AI's chat message showed up each time.
Am I expecting too much from the AI, or could something be indeed off?
(ps. I didn't experiment much with the other races)
Upgrades seem a little late (gas bank plus late armory) when Terran is meching
Hi. I am not a programmer. But a rather avid broodwar geek.
I find this project fascinating. I have game version 1.23.8
So I am trying to follow the Samase instruction but couldn't get the part about this:
Make the directory layout like this:
StarCraft\x86\StarCraft.exe
StarCraft\x86\sesame.exe
StarCraft\x86\custom\scripts\aiscript.bin
Make a shortcut to sasame.exe and add custom as a command line parameter.
Can someone explain it in more detail. Thanks a lot.
Expansion defense should be adaptive (e.g. build turrets at all bases when the enemy has a spire)
tools\abbrevs.json
339: "Zerg Flyer Caparace"
340: "Flyer Caparace"
tools\Libs\Data\Icons.txt
297: Pneumatized Caparace
298: Zerg Caparace
299: Flyer Caparace
tools\Libs\Data\Upgrades.txt
5: Zerg Flyer Caparace
Carapace.
Hi. thanks for work first of all. I compare triggers from EUD maps 2.3-alpha with 2.3 and 2.4.
They have same number of lines : 37885.
Does it mean that changes you have already done in 2.4 (Added 1 Gate Zealot Dragoon Pressure in PvT) and 2.3(bug fix) are not applied in EUD maps triggers and only can be found in aiscript.bin and tried with samase?
I am checking and testing 'build' related commands.
but still immature.
Where is 'build_start'?
Because 'build_start' is used in many pyai. I really want to find it.
An additional question is, where is the short command?
(Protoss Probe -> Probe, Protoss Cybernetics Core -> Core)
Anyone who knows please let me know.
i've tried this samase method it ran but i doesn't seem to work, idk if i'm doing something wrong or it's not working anymore. What i do:
run samase from power shell like this:
.\samase.exe D:\Victor\Battle.net\Games\StarCraft\x86\custom\scripts
the aiscript is inside this folder.
Hi I am playing the normal starcraft broodwar through battle.net may I know how do make the A.I more harder and effective in the multiplayer game ? thank you
I don't know if I can write this article here.
But something suspicious has gone wrong.
This error occurred while running BWMAI on samase-0.7.31.exe.
The BWMAI version I use is 2.4.
Below is the full text of the error.
─────────────────────────────────────────────────┐
samase
─────────────────────────────────────────────────┤
This mod has crashed.
Crash dump has been stored to
'C:\Users\cctv0(username)\AppData\Local\Temp\samase\2021-09-06-16-34-44'
Note:
Game build is 9713
Loader version is 0.7.31
─────────────────────────────────────────────────┘
(For reference, the BWMAI execution method was followed.)
So far, I have never had an error while approaching dozens of editions, but suddenly an error occurred today.
I turned on BlueStacks 5 while running BWMAI, but I don't know if this is directly related.
Do you know the cause of the error?
If you know, can you tell me?
In PvT I make Stargate only to build few arbiters very late in the game (after 30 mins). At this point of time all of the map is expanded by AI and me, so no new expands are available. The map is Luna (4 starting locations).
This leads to two issues for the Terran AI (in town manager):
I have one quick fix in mind: just put check for citadel of adun in addition to "if enemyownsairtech".
Other option is to wait fixed amount of game time passed (against Protoss) and then build comsat and turrets.
Make a shortcut to sasame.exe and add custom as a command line parameter
How to add custom as a command line parameter
?
I want to edit ai can you teach me how to do it? (Windows 10, Starcraft-remastered)
I wish the default environment settings were the detailed way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.