Labs Not Working

Bugs that are actually features.
Quxzcover
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Oct 29, 2015 3:29 am
Contact:

Labs Not Working

Post by Quxzcover »

I Recently created a map that i thought would be the optimal set up for the type of factories i like to build. after about 15 minuets after setting up a steady power supply i placed a lab, one of which i placed in the map to start with along with 20 red science packs. the problem is that it wont research. im trying to research automation but its just sitting there doing nothing. there is 20 red science packs in it and it says its taking full power of 60 kw or whatever measurement but when i open up the power panel it says its only taking 2 kw. as you probably already know research is pivital to factorio. some things that might affect this are:
I created the map but i couldn't find how to place a player and it ended up just having a flying invisible person that can place anywhere so i put in this text: /c game.players[1].character = game.createentity({name="player", position={0,0}})
on the map the buildings show up as red dots like enemies instead of its usual blue.
please tell me the hotkey to take screenshot and i will gladley post. as for the save file cant find where my saves are lcated and yes ive tried appdata but there not there.
Any help would be greatly appreciated.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Labs Not Working

Post by prg »

Created entities by default belong to the enemy force, try something like

Code: Select all

/c game.local_player.force="player"
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Labs Not Working

Post by posila »

If you used "createentity" and not "create_entity" then you are probably on version 0.11.22 and "game.local_player" won't work. So use "game.players[1]" as you did in your first command instead. Anyway, this doesn't seem like a bug (even thought having to create a player through command seems kind of suspicious).

@prg, thank you for quick response :)
Quxzcover
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Oct 29, 2015 3:29 am
Contact:

Re: Labs Not Working

Post by Quxzcover »

for some reason in a earlier version i could place a player to play as but the option in place entities disappeared after a update so when i tried creating my new map it spawned me in a a creative mode thing. so i looked up how to fix it and came upon that string of words to put in. thanks for your replies, ill try it when i get home. also i am using 0.11.22 but thats what it updated to the last time i played and yes i did buy the game off the website. i reply again if i still have problems.
Post Reply

Return to “Not a bug”