GithubHelp home page GithubHelp logo

Comments (4)

geoffthemedio avatar geoffthemedio commented on June 3, 2024

As far as I recall, the combat system doesn't distinguish between different ships on the same "team" for what is visible. For monsters/neutrals, that means that they all start being able to detect anything that any of them has sufficient detection strength to see.

Possibly the one turn differences could be related to stealth being a meter that's determined before movement, and the new location value not taking effect until the subsequent turn?

from freeorion.

Blue-Award avatar Blue-Award commented on June 3, 2024

In my repro, there's a fight with two planets. one has 60 detection, the other has 20 detection. When ships have 85 stealth, coming from starless system, they are seen. When they have 95 stealth, after they stayed around for a turn, or jumped from a system that had a star not giving penalty, they are not seen.

Similary drone factory, supposedly 10 vision, doesn't see the ships if they come in with 95 stealth, but sees them once they stay around its empty system, having 85 stealth.

It's almost as if neutrals had 90 detection strength

from freeorion.

Blue-Award avatar Blue-Award commented on June 3, 2024

Also generally, fighting other players, I am used to if there's mixed fleet with stealthy and not stealthy ships, the not stealthy ones are seen, but the stealthy are unseed on first bout. Like also happened in mp25 for example fight with 9 of my ships, 7 stealthy enough are mentioned as not detected until they launch their fighters,

from freeorion.

Blue-Award avatar Blue-Award commented on June 3, 2024

I think I found the issue, CombatInfo::GetMonsterDetection looks like monsters are getting detection strenght equal to MY detection (range), instead of monsters' detection. So when I am at empty system, I have 85 range, so that's the strength monsters get, which happens to coincide with me having 85 stealth then. Cause empty system is both bonus to range and malus to stealth. Should be able to prepare a PR fix myself

from freeorion.

Related Issues (20)

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.