Giter Site home page Giter Site logo

dspfindseed's Issues

无法搜索出双气巨星

我搜索很久都没有一个种子 就用一个确定有双气巨星的种子测试也是无法搜索出来 作者麻烦测试下63星01496426这个种子为确定有双气巨星

能给巨星添加单独条件吗?

您好,我刚发现这工具。
可以多开来搜索效率真的好。可是好像不能像星图工具那样单独给恒星巨星上条件

比如有白巨星,黄巨星作为一个条件

其实我就是想找一找奇观区星种子。

关于UI的几个疑问(1.9)

1.六个可选的星球类型是有顺序的吗?比如我指定从左向右从上向下的第一个选项的类型而其他五个不做指定,条件会是“离恒星最近的行星必须是这个类型”吗?
2."是否写矿物数量"是什么意思?

头一次用Issues,不知道是否可以用作提问,也找不到其他联系作者的方式,如有不当之处还请告知m(_ _)m

使用运行时无关Random

将URandom1类的Next函数改为

        public int Next()
        {
            if (++inext >= 56)
            {
                inext = 1;
            }
            if (++inextp >= 56)
            {
                inextp = 1;
            }
            int num = SeedArray[inext] - SeedArray[inextp];
            if (num < 0)
            {
                num += 2147483647;//int.MaxValue
            }
            SeedArray[inext] = num;

            if (num >= 1073742080)
            {
                if ((num - 1073742080) % 1024 == 0)
                    return num - 1;
            }
            else
            {
                for (int i = 0; i < 8; i++)
                {
                    int d = 536871040 >> i;
                    int e = 1073741824 >> i;
                    if (num >= d)
                    {
                        if (num < e && (num - d) % (512 >> i) == 0)
                            return num - 1;
                        break;
                    }
                }
            }

            return num;
        }

即可
Next(int)和Next(int,int)暂无解决方案,不过本身误差较小。


在Compute Shader中实现Random,运行8,388,608个测试,每个测试调用6次Next,CPU使用原实现,结果无错误。
比较RTX2070-MaxQ i7-9750H, gpu上运行Random加速比可达3.5 12倍。

2.8版本种子详情显示目前仍与游戏内不符

游戏 v0.9.26.13034
种子搜索器 v2.8 (Pre-release)
测试用种子: 29366
星区恒星数: 64
资源倍率: 无限
恒星系: Beta Draconis (O型恒星)
测试条件: 沙盒模式
问题详情: 使用种子搜索器写出单个种子详细,csv文件中列出该星系存在光栅石矿脉,而游戏中实际上不存在;行星种类也存在偏差,csv文件显示该星系V号星(第四行星)为飓风石林,而游戏中为黑石盐滩。
csv
gamestar
gameV

二次筛选时能否直接搜索种子+恒星数

如题,现在的算法好像只会读取csv中的种子ID,如果先初筛然后二次搜索还是会遍历32~64恒星。可不可以在导入csv时直接读种子+恒星数?这样可以加快二次筛选的速度。

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.