Search found 947 matches

by prg
Mon Apr 17, 2017 12:03 pm
Forum: Modding help
Topic: Setting up a building for the robot to create?
Replies: 2
Views: 959

Re: Setting up a building for the robot to create?

Code: Select all

surface.create_entity{name="entity-ghost", inner_name="the-actual-entity", ... the usual stuff here ...}
by prg
Sat Apr 15, 2017 5:23 pm
Forum: Technical Help
Topic: Server won't launch
Replies: 3
Views: 1193

Re: Server won't launch

This should still work if you pass one of the --start-server options instead of just "start".
by prg
Thu Apr 13, 2017 8:58 pm
Forum: Technical Help
Topic: Settings up a server ?
Replies: 8
Views: 3441

Re: Settings up a server ?

https://wiki.factorio.com/Web_Authentication_API

Code: Select all

curl https://auth.factorio.com/api-login -d username=$USERNAME -d password=$PASSWORD
or pass @- to the second -d and type password=$PASSWORD into the terminal yourself if you don't want to see your password end up in .bash_history.
by prg
Thu Apr 13, 2017 1:31 pm
Forum: Modding help
Topic: SimpleItemStack to LuaItemStack
Replies: 2
Views: 854

Re: SimpleItemStack to LuaItemStack

If you have a SimpleItemStack, you have a name. You can get at the prototype via game.item_prototypes[item_name].
by prg
Thu Apr 13, 2017 12:59 pm
Forum: Technical Help
Topic: FPS/UPS Show
Replies: 2
Views: 81102

Re: FPS/UPS Show

Hit F4 and tick show_fps on the "always" tab.
by prg
Thu Apr 13, 2017 9:22 am
Forum: Technical Help
Topic: Failing to load map setting [Linux]
Replies: 4
Views: 1662

Re: Failing to load map setting [Linux]

0.010 Error Util.cpp:57: Failed to load mod --map-gen-settings No such node (version) Uh... did you somehow end up with a directory that happens to be named something like --map-gen-settings_1.2.3 in the mods directory that happens to contain an info.json that's not completely empty but is missing ...
by prg
Wed Apr 12, 2017 4:02 pm
Forum: Technical Help
Topic: Ubuntu Linux vs Windows
Replies: 8
Views: 3919

Re: Ubuntu Linux vs Windows

jelle82 wrote:Is this what you mean?
No, it's under GPU, not PowerMizer.
by prg
Tue Apr 11, 2017 6:59 pm
Forum: Technical Help
Topic: Ubuntu Linux vs Windows
Replies: 8
Views: 3919

Re: Ubuntu Linux vs Windows

Check nvidia-settings for GPU/PCIe Bandwidth Utilization.

What GPU is in the other system that is working better?
by prg
Tue Apr 11, 2017 1:27 pm
Forum: Technical Help
Topic: Ubuntu Linux vs Windows
Replies: 8
Views: 3919

Re: Ubuntu Linux vs Windows

Are you actually using your GPU to render the game and not a software renderer? Check the "Initialised OpenGL" line in the log. The game is certainly supposed to be playable on Linux.
by prg
Sun Apr 09, 2017 3:01 pm
Forum: Modding help
Topic: i have a lot of proplems...
Replies: 4
Views: 1157

Re: i have a lot of proplems...

%appdata% isn't the name of a folder but a variable that will be expanded to the right thing for your system. Just paste the literal string

Code: Select all

%appdata%\factorio\mods
into a run dialog/explorer address bar and hit enter.
by prg
Sun Apr 02, 2017 9:06 am
Forum: This Forum
Topic: Upload issues on the Forum
Replies: 5
Views: 2761

Re: Upload issues on the Forum

no.png
no.png (853 Bytes) Viewed 2753 times
by prg
Sat Apr 01, 2017 5:34 pm
Forum: Modding help
Topic: mining tool recipe
Replies: 2
Views: 887

Re: mining tool recipe

Code: Select all

      {"electronic-circuit",},
That line seems to be missing a number.
by prg
Wed Mar 29, 2017 12:47 pm
Forum: Modding help
Topic: Cut off Graphics
Replies: 6
Views: 2208

Re: Cut off Graphics

Can't repro.
rifleman.jpg
rifleman.jpg (17.04 KiB) Viewed 2144 times
Maybe try deleting crop-cache.dat, might help if you were using a different image with the same name previously and now things got confused somehow.
by prg
Sat Mar 25, 2017 5:15 pm
Forum: Modding help
Topic: Help to remove necessary biomes
Replies: 2
Views: 1031

Re: Help to remove necessary biomes

for _, i in pairs{5, 3, 2, 1} do table.remove(data.raw.fire["fire-flame"].burnt_patch_alpha_variations, i) end data.raw.item.landfill.place_as_tile.result = "sand" data.raw.tile.water.allowed_neighbors = { "sand" } data.raw.tile["water-green"].allowed_neighbo...
by prg
Wed Mar 22, 2017 6:14 pm
Forum: Modding help
Topic: Getting rid of every technology
Replies: 8
Views: 2146

Re: Getting rid of every technology

Huh. Surprising. Works just fine for me.
by prg
Tue Mar 21, 2017 7:07 pm
Forum: Modding help
Topic: Getting rid of every technology
Replies: 8
Views: 2146

Re: Getting rid of every technology

Alrighty, good news first: i got rid of every technology. no problems ingame. everything is fine. bad news: except for achievements. all achievements are gone now since i had to =nil them. game crashes when opening the achievement tab. Did you try data.raw.technology = nil data.raw["research-a...
by prg
Mon Mar 20, 2017 4:46 pm
Forum: Modding help
Topic: Getting rid of every technology
Replies: 8
Views: 2146

Re: Getting rid of every technology

Technologies are also referenced by some achievements. Try

Code: Select all

data.raw.technology = nil
data.raw["research-achievement"] = nil
by prg
Sun Mar 19, 2017 3:45 pm
Forum: Modding help
Topic: another error in assign id...
Replies: 2
Views: 1049

Re: another error in assign id...

Code: Select all

Error Util.cpp:57: Error in assignID, item with name 'contruction-robot-powered' does not exist.
s/contruction/construction/ (in a couple of places)
by prg
Thu Mar 16, 2017 11:42 am
Forum: Modding help
Topic: Help? Error: '}' expected (to close '{' at line 1) *Solved
Replies: 4
Views: 1352

Re: Help? Error: '}' expected (to close '{' at line 1)

darkfrei wrote:
DaveMcW wrote:

Code: Select all

electric2 = util.table.deepcopy(data.raw["furnace"]["electric-furnace"])
...
data:extend({electric2})	
Must be electric2 local?
That only makes a difference if the variable lives in a scope it can be local to.
by prg
Wed Mar 01, 2017 9:00 am
Forum: Modding help
Topic: Set tiles
Replies: 10
Views: 3981

Re: Set tiles

Are you sure about that ? /c game.player.surface.set_tiles{{name="grass", position={1,1}}} Works. /c game.player.surface.set_tiles{{"grass", {1,1}}} "Expected field name in tile set item." can_place_entity{name=…, position=…, direction=…, force=…} is just short for can...

Go to advanced search