Search found 17 matches

by SimonFlapse
Mon Oct 28, 2019 3:19 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.74] Game crash when exiting /editor
Replies: 9
Views: 4301

Re: [0.17.74] Game crash when exiting /editor

Steps:
Restart the save
repeat:
{
Type /editor
Move around
}

Oversized GIF showing the steps: https://drive.google.com/open?id=1Q4QqO ... LmGm5FFvIL
MP4 file: https://drive.google.com/open?id=1ltU-5 ... 3Xmq888Oi4
by SimonFlapse
Mon Oct 28, 2019 2:53 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.74] Game crash when exiting /editor
Replies: 9
Views: 4301

Re: [0.17.74] Game crash when exiting /editor

I've given it a quick shot, to narrow it down to a single file (That depends on some other custom scripts) The script is located in map_gen/maps/default.lua I hope this is enough. local Event = require 'utils.event' local Token = require 'utils.token' local Task = require 'utils.task' local delayed_...
by SimonFlapse
Mon Oct 28, 2019 2:33 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.74] Game crash when exiting /editor
Replies: 9
Views: 4301

Re: [0.17.74] Game crash when exiting /editor

I've attached a save that produces the crash. I haven't had time to reproduce it in a freeplay scenario The code that I suspect is part of the crash is located in map_gen/maps/space-race/scenario.lua function at line 210. This function gets called 600 ticks after the condition at line 425 is satisfi...
by SimonFlapse
Sun Oct 27, 2019 2:03 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.74] Game crash when exiting /editor
Replies: 9
Views: 4301

Re: [0.17.74] Game crash when exiting /editor

I don't have a reliable way of reproducing it at the moment. However I believe its happening because I'm entering /editor while my controller isn't a character and when I'm exiting /editor (and the game resumes) the custom scripting creates a character for my player and changes the controller type t...
by SimonFlapse
Sat Oct 26, 2019 10:23 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.74] Game crash when exiting /editor
Replies: 9
Views: 4301

[0.17.74] Game crash when exiting /editor

My game has crashed mulitple times while leaving the scenario editor using the /editor command It seems to have something to do with a mismatch in positions: I can often provoke this crash by trying to walk while the /editor command is restoring my character in a game with less than 60 updates per s...
by SimonFlapse
Wed Oct 23, 2019 1:06 pm
Forum: Modding interface requests
Topic: LuaGameScript.server_settings
Replies: 2
Views: 1021

Re: LuaGameScript.server_settings

Support for writing them would be super cool. I don't need to read them, only set them.
by SimonFlapse
Sat Oct 19, 2019 8:23 pm
Forum: Ideas and Suggestions
Topic: [0.17.72] Server description and word wrapping
Replies: 3
Views: 1261

Re: [0.17.72] Server description and word wrapping

I've managed to do it in text boxes with horizontal_align: 'center' https://user-images.githubusercontent.com/44922798/67150916-25005e80-f2be-11e9-8ec5-6f5ded87d85c.png The string "This section is supposed to be filled out on a per map basis, but now it is word wrapping." has been word wra...
by SimonFlapse
Sat Oct 19, 2019 9:57 am
Forum: Ideas and Suggestions
Topic: [0.17.72] Server description and word wrapping
Replies: 3
Views: 1261

[0.17.72] Server description and word wrapping

In the server browser most server descriptions have their text centered, but if a description causes a word-wrap the centering will break. I think this could be fixed quickly by applying the horizontal_align style and setting it to 'center'. Fixing it would make server descriptions more consistent E...
by SimonFlapse
Fri Oct 18, 2019 12:35 am
Forum: Modding interface requests
Topic: LuaGameScript.server_settings
Replies: 2
Views: 1021

LuaGameScript.server_settings

Right now you can edit most server settings using the /config command

I would like the ability to do the same through the Lua-Api e.g placed in the LuaGameScript class.

This would allow access to changing the server settings directly inside your scenario code, instead of having to do it manually.
by SimonFlapse
Wed Oct 09, 2019 7:53 pm
Forum: Resolved Problems and Bugs
Topic: [posila] [0.17.69] Offshore pumps on shallow water
Replies: 7
Views: 2546

Re: [0.17.69] Offshore pumps on shallow water

I like the idea of shallow water not being landfill-able, it allows me to place some natural obstacles that you can't build on, but you can walk through.
by SimonFlapse
Tue Oct 08, 2019 8:55 pm
Forum: Resolved Problems and Bugs
Topic: [posila] [0.17.69] Offshore pumps on shallow water
Replies: 7
Views: 2546

Re: [0.17.69] Offshore pumps on shallow water

Shallow water doesn't allow landfill:

Image

I don't think it generates in freeplay, and you're placing the offshore pump on the water tile.
by SimonFlapse
Mon Oct 07, 2019 12:15 pm
Forum: Resolved Problems and Bugs
Topic: [posila] [0.17.69] Offshore pumps on shallow water
Replies: 7
Views: 2546

[posila] [0.17.69] Offshore pumps on shallow water

Offshore pumps can be placed on shallow water, when adjacent to water. This seems counter intuitive since you can't connect to the pump. Screenshot of the offshore pump in water (Flying text from trying to place a pipe) https://user-images.githubusercontent.com/44922798/66310486-99c1b900-e90c-11e9-9...
by SimonFlapse
Fri Oct 04, 2019 6:53 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.69] Unexpected Mouse Behavior
Replies: 2
Views: 2622

[0.17.69] Unexpected Mouse Behavior

Hi, I've been experiencing some unusual mouse behavior after running a cutscene in a multiplayer game . The cutscene involves switching the players controller to: defines.controllers.ghost and back to: defines.controllers.cutscene The code is all part of a scenario but executes without any apparent ...
by SimonFlapse
Wed Jul 10, 2019 6:47 pm
Forum: Resolved Problems and Bugs
Topic: [kovarex] [0.17.55] Electric energy interface and accumulator behavior
Replies: 10
Views: 5299

Re: [0.17.55] Electric energy interface and accumulator behavior

I don't think the priority is the problem. It seems the electric energy interface is incompatible with accumulators, as in you can't have both in the same electrical network
by SimonFlapse
Tue Jul 09, 2019 7:21 pm
Forum: Resolved Problems and Bugs
Topic: [kovarex] [0.17.55] Electric energy interface and accumulator behavior
Replies: 10
Views: 5299

Re: [0.17.55] Electric energy interface and accumulator behavior

data.raw["electric-energy-interface"]["electric-energy-interface"].energy_source.usage_priority = "primary-output" I'm trying to avoid manipulating the prototype. I still think that it is a weird behavior for the electric energy interface to outright break regular accu...
by SimonFlapse
Tue Jul 09, 2019 4:35 pm
Forum: Resolved Problems and Bugs
Topic: [kovarex] [0.17.55] Electric energy interface and accumulator behavior
Replies: 10
Views: 5299

[kovarex] [0.17.55] Electric energy interface and accumulator behavior

Creating an electric network containing an electric energy interface and regular accumulators seems to "disable" accumulator behavior. Limiting the electric energy interface to produce and store less energy than needed by consumers should make the consumer draw power from accumulators, th...
by SimonFlapse
Thu Feb 28, 2019 1:27 pm
Forum: Resolved Problems and Bugs
Topic: [0.17.2] word_wrap in LuaGuiElements wrapping aggressively and inconsistently
Replies: 4
Views: 1198

Re: [0.17.2] word_wrap in LuaGuiElements wrapping aggressively and inconsistently

Adding to this. It seems that the wrapping happens as if the textbox's width was 250px: The top textbox is 230px wide and the bottom one is 312px wide. It's clear that the wrapping happens around 250px https://media.discordapp.net/attachments/531733389238075393/550668288498204681/unknown.png The 250...

Go to advanced search