Code Monkey home page Code Monkey logo

autotorio's People

Contributors

brodo97 avatar chemizt avatar cyberboss avatar demipixel avatar dependabot[bot] avatar innocen3 avatar markkano avatar suixinlei avatar th0m4s avatar trumank avatar werfra 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

autotorio's Issues

Error: Could not create path for all pipes!

I don't understand what I'm supposed to do when this error happens.
Do I just rotate all pumpjacks?

0eNqVl91ugzAMhd/F1zDVTgKUV5mmqT9Rl62lCOi0quLdR9slTCqoJ1dAFT6c+hzbudB6f7J146qOygu5zbFqqXy9UOt21Wp//a0715ZKcp09UELV6nB9qk+H+nO1+aI+IVdt7Q+V3L8lZKvOdc7eGbeH83t1OqxtMyx4fDuh+tgOLxyr65cGiNYvJqEzlaka7vo+eaAIQBH2FCmmKQqhhFgkGygJbV1jN/cFeoKpAaYqAlMjTAMwzbhbgzAzJM6RqRBmjuQ2i2MWSJwmMBlhLpH/UwXmAmHyAoF6Ji8hJkcliQsIingnlQDNp73DiHnyQIF0zjpKQCAUcU86Qhcz+82i8otpBjEMcyQUcYyMmYEcw4hllIqDCmKZdOmhM0VcRpO0XbNyu48uHS77CZTJ/kiTHMwXoR3M+EIQX6RsnmE0hAmNxMxgIPFfhXXHzLXbLMbsUP+RPEqmGLOAdhtkqmZ2i4idgy4FCU1BWg+qgJyuoPbg48TClJitQ/VXIYbw5RcasRTiDZYopIkpRVCfVVkMkrH05DG9DGQipvEFgqGZTSEGSn0lZcjbGjGQL4fYZKAR//jue5uDniOhg0lIECQkrSIShA3VGnKQr0YC6UibmGFGTTCHk+PtfFn+O44m9G2b9rYgK3KRgpeLXPr+F9G+stM=

Flipping Blueprints with Curving Rail Segments Doesn't Behave Well

Hello,

This makes some sense, the entire curving section gets flipped about its midpoint, but this doesn't translate to a flipped blueprint. See the following original blueprint;

Original Blueprint

Turns into this blueprint when flipped along the Y axis

Flipped Blueprint

Just a heads up, this may not be worth fixing in the near term but it is good to catalog issues nonetheless.

Modded walls

Sorry if this has been post somewhere before i did look first, i am running space exploration mod and it has custom walls is there a way to use those custom walls to create a blue print, the mod takes out the normal wall that is required.

Issue with China DNS

@Suixinlei I set a CNAME Record on namecheap with Host cn and Value autotorio.kouka.tech. (the trailing period is necessary), but the site doesn't appear on cn.autotorio.com as it does on autotorio.kouka.tech... Any ideas?

Incomplete radar coverage

First off, thank you for your app. It's very useful!
So I've been using it on a rail world map but I've noticed that when adding a radar to a very large ore patch, the radar coverage doesn't fully cover the mining outpost. Could it be possible to add an option that it adds a radar on each corner when the radar coverage is smaller than the mining outpost?
Also, by default, the radar seems to be at the opposite corner of where the ore is leaving the mining outpost. Could it be possible to bring out closer to where the ore leaves? For example, it should be next to the balancer, where all the belts are leading to.

Here's a blueprint I've used that display the issue:
Blueprint String
Blueprint preview

Support for bobs mods

Hey!

I tried generating an oil outpost using bobs pumpjacks but it didn't work.
For reference, here is the string I used:
0eNqdl9uO2jAQht9lruOK8SEJeZVVVXGwWLcQoiSsFqG8ewOsnUpNtP9wBUHmiw/zzYxvtD1efNOGuqfqRmF3rjuq3m7UhUO9Od5/66+Np4pC70+UUb053Z+2561qLqfm92b3RzENGYV67z+p4uFnRr7uQx/8k/R4uP6qL6etb8cBS4yMmnM3/u1c3986oqz94TK6UqXM+G0Ysv9YGmZpjixdzrMMzkrz0vnIymgfWr97DrAzZAuTTZnIFiE7mOym9TuEnONznsgGIRf4+ecyconP2SUyI+Q1vs8mkVcImVc4OpJ5DZH5hSPkEkLj3imd0MW8d4yLVyQWZAfbF0INROPmqQm9WtiB/IUYwKILl41ZiMZt09O5QbYxrpsxMrTGdVPriF4oGHoSrOvbTTi892r8OM6gXP5FmuVIbEqlZ8Emjduk2H0HswJYKl1uASZQ5h6CT9hS4c/lSQOqe7p4IawxcilYfwprs7B+XBFOcayRaRqBISl+oIxhBAUpzhmbspZvBpTlDS5TTPJQQ2hwr1iLwE6e3qCKb3I5mLHDK+SVFCTjwsV0w1CfaXD5VMzXDOUIi8sX0y3Wr1jcvdgHPPq178GCK1g6PijkrBEfH3ZNsAL7YobTUMRZJ2+3zAx5vEE/btvVP5fzjD582z0G5GWhdcnrVaGH4S9S7gFI

The error is Error: bob_pumpjack_1 does not exist! You can add it by putting it into entityData..

It would be nice to be able to choose exactly what entities are generated. For example, I would prefer using Bob's fluid tanks mk3 instead of the vanilla ones. Same for turrets and so on.
What about defining some kind of alias where (advanced) users can define entity data for custom objects/mods?

For example, I could write the json file defining all Bob's pumpjacks and make it public or even give it to you so that you can incorporate it inside Autotorio.

Add a Readme (with installation instructions)

Hi,

I really like the site you've set up, and would love to tinker with it myself. Unfortunately, I am not quite sure how to integrate everything into actually getting a testing environment configured.

Could you please add a Readme (with your preferred license choice), and include some basic instructions for those of us who are unfamiliar with your setup.

Wrong hint under the dropdown for modules

It is related to oil generator.

There is a wrong hint under the dropdown for modules, instead of If chosen, inserts 3 of the selected module in each pumpjack, should be 2, because pumpjack allows only two modules.

Does not account for rail grid snapping

As per title, it ignores rail grid snapping. In (very) rare cases, this can make it so that you cannot line up the miners with the ore patch properly. Maybe add a checkbox for moving the miners one block down/right/both (or up/left/both)? Or, you could always allow the player to drop a rail segment onto the ore patch in the input blueprint, and use that to align the miners, but that'd be more work on your part.

Creates impossible blueprints, No turret Power

Input string:

0eNqNj8EKwjAQRP9lzluwoRaaXxGRVhdZSDelSdVS8u821YOgB4+zzLydWdC5iYdRNMIukLPXAHtYEOSqrcu3OA8MC4ncg6Btn1WIXrm4t84hEUQv/IAt05HAGiUKvyibmE869R2Pq+FXnjD4sEa85m8ZYwgzbFGalOiLYf5iFG9IZqyltvL2YyvhxmPY/HVVmf2uaUxdpfQE499ZXg==

Using these settings here:

http://www.autotorio.com/?belt_type=Fast%20Transport%20Belt&undergroundBelts=false&trainDirection=Left&minedOreDirection=Up&minerSpace=2&useStackInserters=true&botBased=false&requestItem=Iron%20Ore&turretType=Laser%20Turrets&turretSpacing=2&walls=true&wallThickness=2&wallSpace=9&exitRoute=true&locomotiveCount=2&cargoWagonCount=8&concrete=None&borderConcrete=None&trackConcrete=None

With this balancer I whipped up:

0eNqdl+tqg0AUhN9lf5viXry+Sikll6UsmI3opiQE370aoYQw3XTnl2j0c07OnFn3Jnbd2faD80G0N+H2Jz+K9v0mRvflt91yLVx7K1rhgj2KTPjtcTmzl36w47gJw9aP/WkIm53tgpgy4fzBXkQrp+zfkLHvXAh2eHhcTR+ZsD644Owq6H5y/fTn426+s5WvpGSiP43z4ye/vH9GbkwmrvOhmBZpTziVjlMRnE7H6QjOJOPyCK1IFycjuDIZF/vnqmRaTFudTIu1ofnbuaCfb8WKMggl8xSWjLMk7TYNefww6HmCD26w+/W3EtF1QuV5vHBDOxkXXrBzhnFlQqUqXmnFDhlWVrNT9tRgheANZW0FYzmnrSghT6Zo+3UfZinGyLhMzfYDKzNMB3KIKtgGYGUlG1XytfFURTQEV12zwYKrbshcgTSdk2bBNEkmi3wd9VoxCyZMLE1/UcGB09SEYGXsooGFlazzMI4ZCVxmTfoE62qIpRHqMjm7EYALrZFs3mGcYm2LcZr0GqbRn08YV5AOwbSSTDlMq8iNwEybN6L3bWv7sFXOxLcdxjX4jFFF3jSqnO/9AYoGLUw=

There are impossible/overlapping parts at the corners, which Factorio autoresolves. It also does not put power lines on the east and west walls, and the lines on the north and south do not get placed, as they are supposed to be placed inside the turrets.

Error: buffer error with almost any blueprint

Foe example this blueprint throws aforementioned error:
0eNqdnNtu20YURX+l4LMEcG6cof8hT30sgoKWGYeoRAmU1NYN/O+lI0d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OtXTmE2orsZsIuL8wvQme5kjUqppi7wtZr3sZURWryYuJqvgXw7oyRf6ly/zL2FPIwlUy46GqG64SyCq5XSG7t+SHY00XvIFHEhW+QIOJOvVkoZQd5l8b3y1miHlRtJ+CvsZSSBVdilEalDNirRGwmUbr6jorjj5fAuhpjJLIO1XaHkUbwCefNVGuMhaEMWF6zYSN47GFtVe2Zc4bCP7GrGJxvOUgPQmJ643fdPnxemO5rurK50X1bqbUeaffXrV6W+/n3Q6/+rvftqfJPJ+DkmN8S/l6/86ucyi

Mod Support

I'm receiving the error below, but it isn't clear to me what "entityData" is and where this needs to be put in. A FAQ would help.

logistic_train_stop_output does not exist! You can add it by putting it into entityData.

Explanation

I think there should be an explanation on the page itself on how to use it. I came from reddit, so I know. But if I would send this cool webpage to a friend, he wouldnt know that he needs to place walls or import blueprints in order to use this website.

Not connected belts

The following string contains two belts which are not connected via the placed splitter:
https://pastebin.com/uFeFYnEA
The input string was:
0eNqNkMEKwjAQRP9lzinYWCvmV0Sk1UUC6aYkW7WU/LtNvRQR9DjLzpvZndC6gfpgWWAm2IvnCHOcEO2NG5dnMvYEAyvUQYGbLqsonql4NM4hKVi+0hOmTOqnUULDsfdBipacrMw6nRSIxYqld4VFjGceupbCTP8WrtD7OFs858SM2SqMMEW5T7nNB0P/xSh0tUAyYy61HGBWj1K4U4jLfl1Verc5HHRdpfQCTBVt/A==
I used these settings:
http://www.autotorio.com/outpost?modded=false&belt_type=Fast%20Transport%20Belt&undergroundBelts=false&trainDirection=Right&minedOreDirection=Bottom&minerSpace=0&useStackInserters=true&includeRadar=true&botBased=false&requestItem=Iron%20Ore&turretType=Laser%20Turrets&walls=false&includeTrainStation=true&exitRoute=false&concrete=None&borderConcrete=None&trackConcrete=None

Suggestion - Radars

First off, amazing job with this! It's really helpful for lazy people like me!

I like to place radars in my outposts so I can keep an eye on things from a distance, so it would be neat if the tool could add radars somewhere in the free space.

typo?

typo

Is that intentional? It's in views/footer.html:1

Error when importing blueprint into game

First, I love this tool. Oil outposts are one of the last things that are difficult to automate, and this does a great job.

Second, I posted the issue on reddit: https://www.reddit.com/r/factorio/comments/hlh4hx/error_when_using_autotorio/ but I'll repeat it here for reference.

I'm working on my first city block base, and trying out Autotorio for the first time, since making oil outposts is a pain. This also happened on my first outpost, but I shrugged it off as first time stupid user syndrome. But since it happened on my second it seems suspicious.

Here is a screenshot of the error that pops up in game:
Image showing the errors:
Error while importing string:
Unknown signal type: entity in property tree at ROOT.blueprint.icons[0].signal
Unknown signal type: entity in property tree at ROOT.blueprint.icons[1].signal

The blueprint is 38 pump jacks (rail world settings, so very big patches). Since I'm playing with biters off, and doing a city block, I turned off almost all the options in the tool (no defenses, no train station). All it does is connect up and power the pump jacks.

The blueprint did work, so I'm not sure what the message means.

Input blueprint string:
0eNqVl91ugzAMhd/F11ARm0DhVaZpom3UZWtTBHRaVfHu42dJJ3UXJ1f8f8TxOXZyp93patrOuoHqO9n9xfVUv9ypt0fXnOZ7w601VJMdzJkScs15vmqv5/aj2X/SmJB1B/NNtRpfEzJusIM1K2O5uL2563lnuumF568Tai/99MHFzX+aIPlGJ3SjOuXtRk/sg+3Mfn3OY/KEZACZFoEpCFMApgrIDEHmCDIwFRS6RpghdFUhzAJglgFZIMgSQLKKY26RrOvA1AizigodEpLKkNizAFUQFHERF5FQyEezhlYqJCYlEDTkCVK9QqyUStxANTTQIFJIowrx0lKRfgsJBEXclJZxTMRN7JGY8KuYJEEVlCEv+WFComcFZcjPJhQ5Y0byoUMJYolJOjbMPKLHQeWTEQ/5+pFDxCKqJkGmZMQ/oSJhyId9+qFr7PF9SKfD6ZlbrNLMxv8okGMe+oaEI1mMcLCeJipmBkEmRzUKBclHENdsPRLSuORRfQJbcomOWRtiS0NBrPMoQlC1FMQ6PkUMWUegzuP1OZ8ATMhIPu/8T4qmTcyy1an/7IwS+jJdv7xQlqJUIZXW+Tj+APQOPfg=

Output blueprint string:
0eNqdnM1u3EgShF/F4GUvIsDKrF89wd52gDkuBgtbbhi9I7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S4ens16Hz9yZprP8iXwmtIeTz4T2gqdxeQc/KiRml2J7hbuDBzJt4f0us1kPG9fsUmzr3sHJJ5F7OPfcO362UjL33HuP5p57xw83Suaee8dPVkpmIw7jZotiw3GJUch9Fj9XKWaPYnthBLvN7FGsX1Do4ZHE8aqbPYoNx8tutii2qevghetI4ndMpJDd2B5OdmPxeyJSyW5sZ+Hs7sTQrnZzog5xJXG8cHZvoo4Ma/cm6siwdm+iDfFC4tjvdmeijfY3uzHRRvtboyu7Dv//YTc/3c9fHu6fD5+71p+Zb8G8aVcMZROUzVBWedlLL5EYbaRlQ4SyeLSJlxX0bResmnnVRH8x5k2bZKiaB3e03nRMCJ03n/+IULV5r1mIqdQ3LRYiSqlP1S0OT2XHaB2eqo7R8p7a7t9Tn9DhPVWhKp4Dt6Wo798sDk8tUBaPtninds62G3Spbll8tNOleafz5W0g4ntHvLEaloXzGXhjvb4yR4yWN1bEsni0js3KM1reWLN6hstb6/JKIKwGNWS3UiB2AQ28nWbH1yI18H7anmkMTMIOvLteX7aAFbLK4pdqxJRKcOhGtppQEYdsYUsfFd5RW9MwBEbXYantfhHzlTFxWCrADy3i4Tr8VdnPN6q43YXdL9Wr83YucaQ2t/mZkNLFnasYA2hwrzyXq9TvLC5ZqfrPQMyerdF7IOBKDHVUghV/eBmPlzeXCP9BZ9Xi1sW381WrXykRDtPmPlxTkRUX73GIs0IM7uKV+ba1RvEeBn7RxfOg7vEy9WCM3uqVqQYjb6/RywYas1NH30bqH1fnr9tf//Qx/Kvp9uOn3e3pZ7/vb/785/543O/+8fjhX89PJ82nD/MHrR9+W7+c+Xj67b92D48/5Eo5HSKytpROw/0fBWyg1w==

Copy to Clipboard Button?

It's very handy in Factorio that when you ask it to export a string that there's a handy button to click and copy the string to the clipboard. Perhaps this tool could use the same thing on the blueprint result dialog?

I would have put a pull request out but I was having some serious trouble building this project. Maybe it might be worth adding some CI so at least there's some tested "documentation" on building this? That's another issue. Anyway, I would have looked here to start adding this feature and this little tidbit of code.

document.execCommand("copy");

Error: Cannot find module './router'

When I try to run the project with "node app.js" I get this error message.

I took the following steps to eliminate the error message:

  • I used the "npm install router" command: It didn't change the situation.
  • I deleted line 50 from the app.js file: The page said "Cannot GET /" and I found 2 error messages on the browser console:
  • GET http://127.0.0.1:5000/ 404 (Not Found)
  • Refused to load the image 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABklJREFUeNqsmFtwE1UYx/97Tdqkbei91Gk6IFouYjqjBR3aQTstoM40DD4gOIO++ sL4pr45+q7iu+OMyJMD1RcZAXGEBxiUm0JrKfQiDoVeSEmv2WSP3znJJpt0d1Mgpz3d3bPJnt/+v8v5TqX9X89HGMNZ6iGGdGOZP9a11Riz3bddm4n4tz991Pg+SthkDmVmoPhE2Q5bLxwruIakRVHiJnMo+9s/SZ MULfTW56PRUiuWB8UKjmCrIqNfva+kYPb5vRiYi5/lnuQrsWIOkzyWWixnzjc/K505VUcgN9Ai5qwo1w7duHknFgzoUDU5Ky+z+YrbuW3sajgcjqmsCAnzSBeFLcn06NJSPBoI+CBJMmQZjw1mmmZsbGzsQ3kFUBEopxewb...GUQklGizqDT1Nxc FdnVrlTF6877CtTy7FCACcQV9N6po /cOa9sByZUGFTZ8mfrVDi+u7sLW9eH8Xb3K3lq8aOyvuuD+7Rp2kkLqh+MQrVIZ/xoOo8z69q0nVudkFVa2jc2GNCoDFKogNTIrG3hZqiZxCrZdi7ibNenIyFRKK1iZ+vse5S9R4YPI4Wom015mb23pwqvbinLLuq0T csmVAsqeyzVln5n37GorAZPiFKm0LykYF9vFba1V9GuSYVPV0kxWWzt8lTKZP6SgvH2+r7+h5Ksh/KVMhHtrSSoSrHX1AmKl9tuUNaYXNL/trFUP6+5cmteGqojUkmmU0TnvrWanVJJwZhp/JgOBEoLJm2WeyoIqoKUkkXnUGlBmC cUrzZKCna2f3+/aRoxrlRfTxAvbw0Ks/EuZ0prt1RkV5E2yTEVJW6pVKK/r7fivfbNZeQ4JhnWFFGbTKbyo67Ap6zo5FDUX/tfgAEAQ3WUFGFdgUwAAAAASUVORK5CYII=' because it violates the following Content Security Policy directive: "default-src 'none' '". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

I fixed the 2nd error by running "scripts/postinstall.js", but the 1st is remained here.

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.