Search found 10 matches

by davemcdave
Fri Nov 10, 2023 6:03 am
Forum: Bug Reports
Topic: [1.1.94] crash on load depending on a sprites width and height
Replies: 0
Views: 388

[1.1.94] crash on load depending on a sprites width and height

i gave a simple entity a sprite with `width=2048, height=2005` then loading the game gives 'Unexpected error occured'. in changing width or height, some combinations work and others fail. then in removing all the clutter from the mod to leave only the simplest example, whether a combination worked o...
by davemcdave
Sat Aug 12, 2023 12:55 am
Forum: Resolved Problems and Bugs
Topic: [1.1.87] Crash when traveling far out: "Trying to make chunk at unreasonable position"
Replies: 3
Views: 2045

Re: [1.1.87] with map width or height greater than 2.1 million, travelling too far crashes to desktop

this is unmodded.
and no cheats.

cant be done on default settings,
but happens using in game settings, with no hacks.
by davemcdave
Sat Aug 12, 2023 12:31 am
Forum: Resolved Problems and Bugs
Topic: [1.1.87] Crash when traveling far out: "Trying to make chunk at unreasonable position"
Replies: 3
Views: 2045

[1.1.87] Crash when traveling far out: "Trying to make chunk at unreasonable position"

log file: https://pastebin.com/1AuwT4gh or https://drive.google.com/file/d/1I0qbgZhT7uqy44b-B3hgThtCap-KPGfI/ save file before walking left the last few chunks: https://drive.google.com/file/d/1aJo4qYmg54kRW2UHdBJPMToa-eu8dk4b/ video: https://youtu.be/ANsLbzsv_04?t=2041 setting map width or height o...
by davemcdave
Mon May 16, 2022 3:20 am
Forum: Modding help
Topic: can armor equiment have no take_result?
Replies: 2
Views: 666

Re: can armor equiment have no take_result?

on_equipment_removed is the way.
thanks :)
by davemcdave
Sun May 15, 2022 9:18 am
Forum: Modding help
Topic: can armor equiment have no take_result?
Replies: 2
Views: 666

can armor equiment have no take_result?

when i set take_result = nil, it defaults to using name of the prototype.

is there a way to have an equipment removed from an armor give no item?
by davemcdave
Sat Jul 28, 2018 10:32 pm
Forum: Modding discussion
Topic: Divorcing behavior from entities
Replies: 21
Views: 7890

Re: Divorcing behavior from entities

with how painlessly straightforward it was to get into modding through the wiki and gangsirs tutorial, where everthing just works, id hoped/imagined something like this would already be the case. as i see it the suggestion asks for a prototype with the bare minimum of mandatory properties and as man...
by davemcdave
Thu Jul 26, 2018 3:44 pm
Forum: Modding discussion
Topic: technology count_formula
Replies: 1
Views: 977

technology count_formula

i'd put a local k in count_formula for one of my infinite techs. the game loads and i can open research tab, then crashes when i look at that technology, "the value of variable k was not specified". feels like shouldve crashed on load, but id feel dumb reporting "game doesnt crash&quo...
by davemcdave
Wed Jul 18, 2018 11:04 pm
Forum: Modding discussion
Topic: Is the 20% minimum energy use on machines modable?
Replies: 2
Views: 1284

Is the 20% minimum energy use on machines modable?

Is the 20% minimum energy use on machines modable? if so, how/ where is it?
by davemcdave
Mon Jun 11, 2018 1:12 am
Forum: Modding help
Topic: Recipe change not put into effect
Replies: 6
Views: 2517

Re: Recipe change not put into effect

MostlyNumbers wrote:You've identified some of the items that get modified under expensive mode. You have to indicate if this is the normal or expensive recipe:

Code: Select all

data.raw.recipe["my-target-recipe"].normal.ingredients = {something}
(For those items only)
that fixed it! tyvm :)
by davemcdave
Sun Jun 10, 2018 1:49 pm
Forum: Modding help
Topic: Recipe change not put into effect
Replies: 6
Views: 2517

Recipe change not put into effect

I'm trying to change vanilla recipes using data-final-fixes.lua but some of the recipes show up unchanged in game. i've tried in data-updates.lua with the same result. i cant see any pattern to why these recipes. is there a common rookie mistake that could cause this? if its something complex then i...

Go to advanced search