Code Monkey home page Code Monkey logo

bwmetaai's People

Contributors

duran55 avatar hansroh avatar jncraton avatar meiszy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bwmetaai's Issues

Zerg is too passive

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?

Game micro-freezes after ~30 game minutes, permafreezes with any mods

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.

Terran AI makes too many SV against Zerg

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.

Cannot play with friends against BWMetaAi

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.

  1. Get Samase
  2. Get aiscript.bin from BWMetaAI's releases page
  3. Make the directory layout like this:
    StarCraft\x86\StarCraft.exe
    StarCraft\x86\sesame.exe
    StarCraft\x86_custom_\scripts\aiscript.bin
  4. 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)

farms_notiming supply blocks the AI forever in specific cases

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

Separate releases for different play styles

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.

error running script *too new* version 1.23.3

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:
starcraft error

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!

Shared vision does not work

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.

The default source does not use 'tech_manager'.

Hi.
I'm trying out several test and build changes.
However, I encountered an unknown error in some parts.

  1. AI ​​doesn't upgrade. The default source does not use 'tech_manager'.
  2. build -> 'upgrade(1, Protoss Ground Weapons, 30)' not working.
  3. I cannot make more than 30 'probe'. It also stops at the build order.
  4. AI cannot use more than 3 gases. It seems to recognize only three.

If you know anything about this, please reply.
Thanks.

cannot find patch_rt file after patch 1.23.0

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

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 upgrades

Zerg does not make several tech/upgrades. For example the following are not made:

  • overlord: speed, capacity, vision
  • hydra: speed, range
  • burrowing
  • air units: attack and armor

I checked tech_manager.pyai for Zerg and indeed they are missing. Do you want PR?

Difficulty scaling - give money proportionate to workers

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

  • give_money() tops minerals to 2000. This can be a massive advantage early game but not so late game
  • a very hard AI using this method has no use of expansions and workers

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

Protoss AI seems very weak vs. Zerg?

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)

Hi. How to install game [newbie here]

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.

I found the wrong word.

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.

EUD MAPS (last release triggers)

     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?

Where is 'build_start' defined?

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.

Does this still work?

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.

Add more dynamic TvZ build

TvZ is a little stale and doesn't match the modern meta well currently. It is basically all bio builds, with 2 port wraith thrown in very rarely. It would be good to have mech and fake mech/1-1-1 included.

starcraft broodwar patch 1.23.0

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

unexpected error

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?

No comsat and turrets agianst protoss

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):

  • no single comsat build against the arbiters
  • no turrets in main and expands to protect the base/mines from observers

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.

question about README

Make a shortcut to sasame.exe and add custom as a command line parameter

How to add custom as a command line parameter?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.