[MOD 0.12.11+] Blueprint String

Topics and discussion about specific mods
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Version 2.3.0 has new icons, thanks Roktaal!
Mystery
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Apr 11, 2016 6:15 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Mystery »

Here ist a the localization file for german. Would be nice to have it in the next version:

Code: Select all

main-button=Blaupause
save=Speichern
save-all=Alle Speichern
save-as=Speichern als...
save-as-2=Speichern als:
cancel=Abbrechen
load-string=String laden
textbox-caption=Blaupausen String:
blueprints-saved=__1__ blaupause(n) wurde in 'script-output/blueprint-string' gespeichert
blueprint-saved-as=__1__.txt wurde in 'script-output/blueprint-string' gespeichert
blueprints-not-saved=Konnte keine Blaupausen zum speichern finden
no-empty-blueprint=Du hast keine leeren Blaupausen in deinem Inventar
unknown-format=Das ist kein gültiger Blaupausen String
no-string=Bitte füge den Blaupause String in das Eingabefeld ein
no-filename=Bitte einen Dateinamen für die Blaupause angeben
no-blueprint-in-hand=Bitte diesen Knopf nur drücken, wenn du eine Blaupause in der Hand hast
blueprint-api-error=Blaupausen Fehler: __1__
blueprint-icon-error=Blaupausen Icon Fehler: __1__
Last edited by Mystery on Thu Apr 14, 2016 8:06 pm, edited 1 time in total.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Danke. Added to version 2.3.1.
User avatar
Cruel-Viper
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat Apr 23, 2016 12:33 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Cruel-Viper »

Eerm...I have opend every folder of my Factorio, but I can't find the 'mods folder' to drop this mod. :!:
I have installed it with Steam.
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by daniel34 »

Cruel-Viper wrote:Eerm...I have opend every folder of my Factorio, but I can't find the 'mods folder' to drop this mod. :!:
I have installed it with Steam.
It's in %appdata%\Factorio (usually C:\Users\<username>\AppData\Roaming\Factorio)
If you can't find it, just open the run dialog with Win+R and enter %appdata%\Factorio
quick links: log file | graphical issues | wiki
Vas
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Tue Apr 12, 2016 11:02 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Vas »

Why is the string cut every 121 characters? Why not just one single line string? Would it still work if you remove all the extra lines to make it a single line?
You can get my mods by clicking here, and use discussions there or PMs here to suggest or report issues.
Want some blueprints made by me? Click here then!
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Spaces and line breaks are ignored. The default length was picked to look good on the forum, but you can change it to whatever you want in control.lua. LINE_LENGTH = 0 means no line breaks.
bob51zhang
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu May 05, 2016 5:27 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by bob51zhang »

Can this mod be used on vanilla servers?
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by daniel34 »

bob51zhang wrote:Can this mod be used on vanilla servers?
You can only use this mod (or any other mod, for that matter) if the host/server and everyone else has the same mod installed.
quick links: log file | graphical issues | wiki
Vas
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Tue Apr 12, 2016 11:02 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Vas »

This mod causes my game client to freeze entirely every time I try to use it only while on my server. I can use it on small dumb stuff like a drawing I made out of walls. But if I try to use it with something else like an 8 way track intersection I made and then exported and then tried to import to another blueprint, it just freezes. It works if I save the game, and run the same map in single player and then click import.
You can get my mods by clicking here, and use discussions there or PMs here to suggest or report issues.
Want some blueprints made by me? Click here then!
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Does it freeze when you paste the string, or when you click import?

Can you give me the string?
Vas
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Tue Apr 12, 2016 11:02 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Vas »

Its pretty much any string the server owner hasn't imported first. Maybe even some he has. It happens only after I click import.

I tried with this one, it works in single player and even in the same map on single player:
http://factorioblueprints.com/view/Y28zhgC7sGEqN2XEs

I tested by saving the game, trying to import in the server, freeze, end game through task manager, load save into single player, import, works, load server, import, freezes again.
You can get my mods by clicking here, and use discussions there or PMs here to suggest or report issues.
Want some blueprints made by me? Click here then!
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Well, that blueprint was made on an old version of Factorio, it won't work correctly even if you manage to import it. But I have no idea why it would make the server freeze.

Here is the upgraded blueprint, does this freeze too?
Big Numbers
LeisureLex
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun May 08, 2016 12:16 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by LeisureLex »

https://www.dropbox.com/s/0wfwkwaf5xjdd ... 9.png?dl=0

Any ideas to solve this?

No mater what sting i use, rails always get messed up
User avatar
Lutz_Scheiter
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sun May 08, 2016 11:27 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Lutz_Scheiter »

Preview looks good, but the construction is failed.. (imported strings ,different strings tested - seems to happen with combinators in string)

Image
http://factorioblueprints.com/view/2WTswjqywk8628Sfg
Image
Vas
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Tue Apr 12, 2016 11:02 pm
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Vas »

Its not related to the version of the game it was made. It doesn't work regardless of game version. I exported a blueprint I made then tried to import it immediately after on both this version of the game and the previous version too. My client freezes, all except for the UI. The UI is frozen but I can still click buttons, just nothing happens.
https://www.dropbox.com/s/j1kusa0qaf9ri ... 7.png?dl=0
You can get my mods by clicking here, and use discussions there or PMs here to suggest or report issues.
Want some blueprints made by me? Click here then!
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

LeisureLex wrote:No mater what sting i use, rails always get messed up
Lutz_Scheiter wrote:Preview looks good, but the construction is failed.. (imported strings ,different strings tested - seems to happen with combinators in string)
Thanks, I added an upgrade button in version 2.4.0 that should fix this.
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Vas wrote:Its not related to the version of the game it was made. It doesn't work regardless of game version. I exported a blueprint I made then tried to import it immediately after on both this version of the game and the previous version too. My client freezes, all except for the UI. The UI is frozen but I can still click buttons, just nothing happens.
https://www.dropbox.com/s/j1kusa0qaf9ri ... 7.png?dl=0
I can't reproduce it. Are you sure both client and server are using the exact same mod?
User avatar
Oceanel
Burner Inserter
Burner Inserter
Posts: 12
Joined: Tue Aug 12, 2014 9:58 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by Oceanel »

My russian translation (ru) fo this one of the best mods:
Attachments
blueprint-string-locale-ru.zip
(712 Bytes) Downloaded 192 times
User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3717
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: [MOD 0.12.11+] Blueprint String

Post by DaveMcW »

Спасибо. Added to version 2.4.1.
Post Reply

Return to “Mods”