GithubHelp home page GithubHelp logo

garveen / quantorio Goto Github PK

View Code? Open in Web Editor NEW
75.0 75.0 6.0 6.78 MB

Factorio Quantizative Tool, which can calculate your factory.

Home Page: http://quantorio.garveen.net

License: GNU General Public License v2.0

JavaScript 31.23% HTML 0.17% Lua 37.15% Vue 31.22% Shell 0.22%

quantorio's People

Contributors

garveen 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quantorio's Issues

readme有错误 误导了

data/base -> factorio/data/base
data/base -> factorio/data/base

我以为只有一个
应该还有一个core

怎么在本地运行?

我把游戏里data/base里的文件复制到quantorio/data/base底下,然后在quantorio目录下运行

npm install
npm run dev

然后出来这个报错信息

D:\github\quantorio>npm run dev

> quantorio@1.0.0 dev D:\github\quantorio
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js

 92% chunk asset optimization
<--- Last few GCs --->

[7332:0000021F6A1FDFB0]    37207 ms: Mark-sweep 1398.3 (1441.0) -> 1398.3 (1444.5) MB, 89.5 / 0.0 ms  (average mu = 0.178, current mu = 0.092) allocation failure scavenge might not succeed
[7332:0000021F6A1FDFB0]    37304 ms: Mark-sweep 1401.9 (1444.5) -> 1402.0 (1444.5) MB, 91.0 / 0.0 ms  (average mu = 0.122, current mu = 0.060) allocation failure scavenge might not succeed


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x021d7b79e6e1 <JSObject>
    0: builtin exit frame: stringify(this=0x021d7b791a19 <Object map = 0000000671F042A9>,0x0155d01826f1 <undefined>,0x0155d01826f1 <undefined>,0x02e5df602229 <Object map = 00000370524AF801>,0x021d7b791a19 <Object map = 0000000671F042A9>)

    1: arguments adaptor frame: 1->3
    2: /* anonymous */(aka /* anonymous */) [0000008C6D8FFB71] [D:\github\quantorio\node_modules\webpack\lib\SourceMapDevT...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF79079ECE5
 2: 00007FF790778196
 3: 00007FF790778BA0
 4: 00007FF790A08D5E
 5: 00007FF790A08C8F
 6: 00007FF790F469D4
 7: 00007FF790F3D137
 8: 00007FF790F3B6AC
 9: 00007FF790F44627
10: 00007FF790F446A6
11: 00007FF790AE73EB
12: 00007FF790AE9EED
13: 00007FF790BCA87B
14: 00007FF790F0E7EF
15: 00007FF790F0A92E
16: 00007FF790F09A8C
17: 00007FF790F0D9AB
18: 00007FF790F0AC3D
19: 00007FF790F07C5C
20: 00007FF790BD76D6
21: 00007FF790BD75CB
22: 000000F68365C721
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! quantorio@1.0.0 dev: `webpack-dev-server --inline --progress --config build/webpack.dev.conf.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the quantorio@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2019-02-28T05_16_00_181Z-debug.log

应该怎样做才能在本地运行根据自己游戏数据的计算?

有没有计划支持高成本配方难度?

现在可以把配方难度系列改成高成本
这样有一个电路板会需要10个铜线电力矿机会是20铁板10齿轮5电路板之类的
这样的话量化就不一样了,而且不是相同比例变高的,没法简单倍增

怎么使用啊

我直接apche环境下打开index.htm,并不行啊..好多东西空白

关于数据源

请问作者这些配方数据是哪里来的啊?是调用某个api还是自己手动输入的?...

初次打开时,火箭组件的原料计算错误

初次打开时,计算火箭组件的原料是错误的,是要50铜。删除需求,再次添加火箭组件,结果正确。或者在下面随便点几个“>”,不知道点到了哪个,结果就好了。
还有关于石化的部分很不好用。如果我想加入其中完善,但是我的js的水平很菜,可能能够实现功能,但可能不合各种规范。可否给出一定建议。比如变量的命名规范。
此外,我对网页的设计很差。设想是否把石油化工部分单独一个部分,自动把需要的石油气、轻油、重油放入页面下部的另一个计算器中,在下面单独设定何种方式。比如轻油裂化等

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.