Hello! recently, after porting and working on my mod in 2.0, i've been noticing an issue with the error messages that appear - what they show appears to be off by one. The most recent example (and what prompted this bug report) is where a subgroup that no longer exists is attached to an item, but the error message claims the subgroup belongs to the item above it?
This is the example im talking about, and here is the actual code:
This has only occured when using 2.0, and if i remeber correctly only past 2.0.10? however that might be off, as my memory is terrible
I'm not sure what causes this to occur, and it happens sporadicaly and not very often at that - however some things are of note:
* It seems to happen most often when i push something to this mods github repo, which could be concidence?
* The first time this happened, deleting a .zip file of the same x.x.x version seemed to have fixed the issue - but this again could have been a concidence.
I have a .zip file that can repoduce this error, however i could not include the original .zip file where this comes from due to it not uploading correctly, but which'll be included in this post :]
[Rseding91] [2.0.1X] Error message values shown are "off-by-one"
-
- Inserter
- Posts: 39
- Joined: Sat Aug 05, 2023 1:20 am
- Contact:
[Rseding91] [2.0.1X] Error message values shown are "off-by-one"
- Attachments
-
- test-mod_0.0.0.zip
- the test.zip
- (814 Bytes) Downloaded 4 times
coder? i hardly know her!
Re: [Rseding91] [2.0.1X] Error message values shown are "off-by-one"
Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 39
- Joined: Sat Aug 05, 2023 1:20 am
- Contact:
Re: [Rseding91] [2.0.1X] Error message values shown are "off-by-one"
thank you! im surprised it was able to be fixed so quickly :]
If im allowed to ask, just because it was such a random bug, what was causing it?
If im allowed to ask, just because it was such a random bug, what was causing it?
coder? i hardly know her!
Re: [Rseding91] [2.0.1X] Error message values shown are "off-by-one"
The logic that was setting which prototype to associate was being done slightly too late for some specific values (group, subgroup specifically).
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 39
- Joined: Sat Aug 05, 2023 1:20 am
- Contact:
Re: [Rseding91] [2.0.1X] Error message values shown are "off-by-one"
hm, neat, thank you
coder? i hardly know her!