garveen / quantorio Goto Github PK
View Code? Open in Web Editor NEWFactorio Quantizative Tool, which can calculate your factory.
Home Page: http://quantorio.garveen.net
License: GNU General Public License v2.0
Factorio Quantizative Tool, which can calculate your factory.
Home Page: http://quantorio.garveen.net
License: GNU General Public License v2.0
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的水平很菜,可能能够实现功能,但可能不合各种规范。可否给出一定建议。比如变量的命名规范。
此外,我对网页的设计很差。设想是否把石油化工部分单独一个部分,自动把需要的石油气、轻油、重油放入页面下部的另一个计算器中,在下面单独设定何种方式。比如轻油裂化等
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.