Search found 42 matches

by jan1i3
Thu Jun 10, 2021 8:51 pm
Forum: Bug Reports
Topic: [1.1.34] Smart Belt Dragging placing belts in the wrong location and or direction
Replies: 0
Views: 80

[1.1.34] Smart Belt Dragging placing belts in the wrong location and or direction

There are several cases where smart belt dragging ends up placing belts on the incorrect row or column or the belts are facing the opposite direction. These are just 3 cases i managed to reproduce. Syntax: starting with belts facing north (^) . = start ^ > v < = move cursor one tile in that directio...
by jan1i3
Mon Dec 07, 2020 3:54 am
Forum: Modding discussion
Topic: Wider error notice boxes?
Replies: 6
Views: 402

Re: Wider error notice boxes?

Alright, well it's a mod now: https://mods.factorio.com/mod/WiderNoticeTextBoxes
It being a mod doesn't really achive what i was hoping for, but hey if people like it they can have it now.
If it changes in the game itself i'll just deprecate the mod.
by jan1i3
Fri Dec 04, 2020 12:47 pm
Forum: Modding discussion
Topic: Wider error notice boxes?
Replies: 6
Views: 402

Re: Wider error notice boxes?

I'll just weigh in with my opinion: that box isn't there for us modders. It's there for players to copy the stack trace and send to us. With debugadapter and VSCode you get immediate access to not only the line that broke, but a full stack trace, complete with variables (including up-values) and th...
by jan1i3
Fri Dec 04, 2020 1:15 am
Forum: Modding discussion
Topic: Wider error notice boxes?
Replies: 6
Views: 402

Wider error notice boxes?

Intro You can safely skip to the TL;DR. I just go over details and context. Background So with longer file names or bigger folder structures or function names, it's not uncommon to see error notice boxes like these: Screenshot 2020-12-04 014858.png where the lines start with: __modname__/ 'function...
by jan1i3
Tue Nov 24, 2020 10:21 pm
Forum: Resolved Problems and Bugs
Topic: [kovarex] [1.1.0] Crash while editing blueprint: TransportBeltConnectable::drawEndingPiece
Replies: 5
Views: 747

Re: [1.1.0] Crash while editing blueprint: TransportBeltConnectable::drawEndingPiece

Reproduction: It seems very circumstancial but this is pretty consistent... load into some world, i tried a fresh world and a lab tile world while in the editor with entity update paused, seemed like this difference did not affect it import the bp string open it remove the right belt confirm the fol...
by jan1i3
Wed Nov 04, 2020 6:23 pm
Forum: Resolved Problems and Bugs
Topic: [boskid] [1.0.0] LuaPlayer :: set_active_quick_bar_page crash
Replies: 2
Views: 314

Re: [boskid] [1.0.0] LuaPlayer :: set_active_quick_bar_page crash

LuaPlayer::get_active_quick_bar_page returning nil is correct behavior and is well documented. Oh right, sorry. Always embarrassing when you don't read something that's right in font of your face. Issue was already fixed (for 1.1) by adding a range check for the page_index. If it will be out of acc...
by jan1i3
Sun Nov 01, 2020 10:26 pm
Forum: Resolved Problems and Bugs
Topic: [boskid] [1.0.0] LuaPlayer :: set_active_quick_bar_page crash
Replies: 2
Views: 314

[boskid] [1.0.0] LuaPlayer :: set_active_quick_bar_page crash

The Problem set_active_quick_bar_page seems to not validate the second parameter page_index. This causes it to be setable to 11, which looks like it works, but you actually can't modify that row (only tested by clicking on it) But when setting it to 12 or higher it causes a crash. demonstration.png...
by jan1i3
Wed Jun 10, 2020 12:24 pm
Forum: Releases
Topic: Version 0.18.31
Replies: 56
Views: 15906

Re: Version 0.18.31

Mods can now be loaded from directories with the name of the mod but no version number. cool, finally! but how about, you know, not requiring mods to be in a folder inside of another (zipped) folder at all? i.e. i just can't understand why abc_1.0.0.zip/abc_1.0.0/data.lua which can now become abc_1...
by jan1i3
Fri May 22, 2020 9:05 pm
Forum: Resolved Problems and Bugs
Topic: [0.18.26] LuaEntity.copy_settings copies in the wrong direction when by_player is given
Replies: 1
Views: 183

[0.18.26] LuaEntity.copy_settings copies in the wrong direction when by_player is given

The title says it all, but here's a link to the docs and further clarification just in case: copy_settinsg is supposed to copy the settings from the entity given in the first argument to the entity it is called on. it does so when by_player is not given as a second arg, however does the opposite whe...
by jan1i3
Mon May 11, 2020 4:43 pm
Forum: Mod portal Discussion
Topic: [One Line Suggestions]
Replies: 38
Views: 6257

Re: [One Line Suggestions]

[Mod Portal API] A deprecated flag in Result Entry would be nice. specifically in api/mods endpoint, but Short and Full would also make sense
(i am 95% sure it currently gives deprecated entries but there is no way to tell that they are)
by jan1i3
Sun May 10, 2020 5:54 pm
Forum: Modding discussion
Topic: Re-opened: breaking change/fix: script.raise_event rework
Replies: 26
Views: 2764

Re: Re-opened: breaking change/fix: script.raise_event rework

That's what it's called now? A few years ago we called it "raising awareness to shoddy coding". We don't have to call it that, or see it that way. the thing is that there is potential for people seeing that way, as i'll go over more below PS: not sure how you interpret misuse of informati...
by jan1i3
Sun May 10, 2020 12:13 pm
Forum: Modding discussion
Topic: Re-opened: breaking change/fix: script.raise_event rework
Replies: 26
Views: 2764

Re: Re-opened: breaking change/fix: script.raise_event rework

I thought about it more, and also with some external input i've decided i don't want to post any of this in here. except 2), which is this: 2) total events: 138 40 on_built_entity 6 on_console_chat 1 on_entity_cloned 1 on_entity_died 3 on_entity_settings_pasted 3 on_entity_spawned 2 on_gui_click 1 o...
by jan1i3
Sun May 10, 2020 8:01 am
Forum: Modding discussion
Topic: Re-opened: breaking change/fix: script.raise_event rework
Replies: 26
Views: 2764

Re: Re-opened: breaking change/fix: script.raise_event rework

I have (finally) downloaded all (latest 0.18) mods. I wrote a query to get all raise_event calls with game events (it might miss some if people use weird event systems/handlers) the result is... interesting, but less useful than i was hoping it would be, however if you think it can be useful i can p...
by jan1i3
Sun May 03, 2020 3:44 pm
Forum: Modding discussion
Topic: Re-opened: breaking change/fix: script.raise_event rework
Replies: 26
Views: 2764

Re: Re-opened: breaking change/fix: script.raise_event rework

I'm all for this change. Also means i can remove this disgusting Raise Event Protection mod :D (though it was a fun project) I currently only rely on raising game events for on_entity_settings_pasted , but i can definitely change this to work without it, with just a tiny bit of behavior change if any.
by jan1i3
Wed Apr 22, 2020 12:21 am
Forum: Resolved Problems and Bugs
Topic: [0.18.19] rail duplication when building curved rail with some damaged rail items
Replies: 1
Views: 962

[0.18.19] rail duplication when building curved rail with some damaged rail items

What and How When Having 1 undamaged rail At least 3 damaged rails Using the undamaged rail to build a curved rail Then The undamaged rail is used to place the whole curved rail The damaged rails remain unused Which means 3 undamaged rails got duplicated / created out of nothing. 55ldJb4l25.gif Thi...
by jan1i3
Tue Apr 21, 2020 11:39 pm
Forum: Won't implement
Topic: Make LuaEntity.copy_settings raise events
Replies: 4
Views: 539

Re: Make LuaEntity.copy_settings raise events

With more experience now I'd like to retract this request.
I also now saw that i misread RSed's response, and i totally agree
(or rather have no reason).

I don't think i can close it myself, but i personally see it as closed.
by jan1i3
Fri Mar 27, 2020 1:27 pm
Forum: News
Topic: Friday Facts #340 - Deep desyncs
Replies: 82
Views: 20351

Re: Friday Facts #340 - Deep desyncs

Good Job on finding those desync bugs, desyncs are somehting else.
I'm happy i haven't had to deal with them... yet ;)
by jan1i3
Tue Feb 25, 2020 8:32 pm
Forum: Won't implement
Topic: Make LuaEntity.copy_settings raise events
Replies: 4
Views: 539

Re: Make LuaEntity.copy_settings raise events

To be 100% accurate, i know you can paste using blueprints, but it felt like a very hacky way to copy settings when there is a literal copy_settings function, so i scrapped that idea.
However i am still open to using this approach.

Go to advanced search