[MOD 0.14] Sticky notes - leave notes or signs on the map
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
I added the newest version and when we delete anything we get a desync (role doesn't matter). this is the modpack https://drive.google.com/open?id=0B1vR0 ... k1BNUxKNHc
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
When you say "anything", you mean any object of the game, even if it's not a note ??? or you are talking about the DELETE button on a note ?primedead wrote:I added the newest version and when we delete anything we get a desync (role doesn't matter). this is the modpack https://drive.google.com/open?id=0B1vR0 ... k1BNUxKNHc
It's stange : I tested it with 1 server and 3 clients, and deleting notes does create any problem with me.
My mods on the Factorio Mod Portal
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
It was a problem with another mod added, Latest version seems to work awesome. Thanks!binbinhfr wrote:When you say "anything", you mean any object of the game, even if it's not a note ??? or you are talking about the DELETE button on a note ?primedead wrote:I added the newest version and when we delete anything we get a desync (role doesn't matter). this is the modpack https://drive.google.com/open?id=0B1vR0 ... k1BNUxKNHc
It's stange : I tested it with 1 server and 3 clients, and deleting notes does create any problem with me.
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Would you be willing to add an option to the config file so Map-mark is on by default?
Also, when you use alt-w on an entity, any way that the name you gave the entity can be blueprinted?
Thanks for the great mods you do!
Also, when you use alt-w on an entity, any way that the name you gave the entity can be blueprinted?
Thanks for the great mods you do!
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Also minor bug - Removing Sticky notes mod leaves all sticky notes on the map.
Easiest way around this would be to duplicate the flying-text entity and use that entity for the labels.
Easiest way around this would be to duplicate the flying-text entity and use that entity for the labels.
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Turned out to be very simple to add auto_mapmark = true to the config and control.lua for auto mapmark true or false, also added text_default, so I can change it from the word "text" to what I want for the default text in the config, which is then used in the control.lua.charmead wrote:Would you be willing to add an option to the config file so Map-mark is on by default?
Also, when you use alt-w on an entity, any way that the name you gave the entity can be blueprinted?
Now if the blueprints would keep the text.
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
This blueprint question was already asked by another user in this thread.charmead wrote:Now if the blueprints would keep the text.
Alas, blueprint cannot copy the private settings of the note (text, etc...). It will just create new empty notes. I did not see anything offering this opportunity in the API.
I added default mapmark and text in the config.lua. You can update on portal.
My mods on the Factorio Mod Portal
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Sorry I missed that about the blueprint, and many thanks for the mapmark = true and default text being added to the config!binbinhfr wrote:This blueprint question was already asked by another user in this thread.charmead wrote:Now if the blueprints would keep the text.
Alas, blueprint cannot copy the private settings of the note (text, etc...). It will just create new empty notes. I did not see anything offering this opportunity in the API.
I added default mapmark and text in the config.lua. You can update on portal.
-
- Long Handed Inserter
- Posts: 90
- Joined: Sat Jan 21, 2017 12:01 am
- Contact:
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
I made some changes to the mod to allow inter-operation with blueprints and blueprint-string. It uses invisible constant combinators to store the data, and I've just got to fix graphics right now. (and migration)
Would you like to integrate this? If not, may I distribute my own version?
If you do want to add this, the easiest way would be through github; that way I could also fix any bugs that pop up later easily, and others could too.
Would you like to integrate this? If not, may I distribute my own version?
If you do want to add this, the easiest way would be through github; that way I could also fix any bugs that pop up later easily, and others could too.
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Currently, alas, I have not much time to spend on Factorio, even if I still love this game. So feel free to distribute your own version, keeping my name in the creditsNiftyManiac wrote:Would you like to integrate this? If not, may I distribute my own version?
Please send me a link to this new version when you'll post it.
My mods on the Factorio Mod Portal
-
- Long Handed Inserter
- Posts: 90
- Joined: Sat Jan 21, 2017 12:01 am
- Contact:
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
I'll be publishing my version shortly, though I'm trying to figure out a way to migrate existing notes... If people wanted to use my version they'd need to remove the current mod, but that would mean losing all of their existing notes, since they're stored in a global mod-specific table. I don't suppose I can publish a new mod with the same name... Any ideas? Best thing I can think of is asking people to rename the new mod to the original one, opening it to let migration happen, and naming it back. That way I can deal with migration by having access to the same data.
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
You can also ask the devs if it is possible for me to transfer the original mod to your account ?NiftyManiac wrote:I'll be publishing my version shortly, though I'm trying to figure out a way to migrate existing notes... If people wanted to use my version they'd need to remove the current mod, but that would mean losing all of their existing notes, since they're stored in a global mod-specific table. I don't suppose I can publish a new mod with the same name... Any ideas? Best thing I can think of is asking people to rename the new mod to the original one, opening it to let migration happen, and naming it back. That way I can deal with migration by having access to the same data.
My mods on the Factorio Mod Portal
-
- Long Handed Inserter
- Posts: 90
- Joined: Sat Jan 21, 2017 12:01 am
- Contact:
Re: [MOD 0.13] Sticky notes - leave notes or signs on the map
Yeah, that'd be easiest. I've asked in a couple of places, no response yet.
-
- Long Handed Inserter
- Posts: 90
- Joined: Sat Jan 21, 2017 12:01 am
- Contact:
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
Alrighty! The devs were able to transfer the mod to me. Version 2.1.0 is up, adding support for blueprints: move around your notes with blueprints as you like, and you can even share them in blueprint strings.
Let me know here (or, even better, on the github issues page) if you run into any problems.
Let me know here (or, even better, on the github issues page) if you run into any problems.
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
Great. Have fun, and long live to "sticky notes"NiftyManiac wrote:Alrighty! The devs were able to transfer the mod to me.
My mods on the Factorio Mod Portal
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
The latest version throws errors when AutoDeconstruct marks items for deconstruction.
Error happens on control.lua:663: bad argument #2 to '__index' (string expected, got nil)
That line is:
local force = game.players[event.player_index].force
It is caused by the event not being caused by a player but by a mod (AutoDeconstruct), thus event.player_index doesn't exist.
Error happens on control.lua:663: bad argument #2 to '__index' (string expected, got nil)
That line is:
local force = game.players[event.player_index].force
It is caused by the event not being caused by a player but by a mod (AutoDeconstruct), thus event.player_index doesn't exist.
-
- Long Handed Inserter
- Posts: 90
- Joined: Sat Jan 21, 2017 12:01 am
- Contact:
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
Thanks. Funny how to order or cancel entity deconstruction, you need to provide a force, but the event doesn't have to specify one.
Should be fixed now in 2.1.1.
Should be fixed now in 2.1.1.
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
the current version seems to have a nasty bug, which crashes not only the game but ultimately can destroy the savegame too (the last at least if you are running it on a server like we do) Good thing that there's the autosave feature.
Regarding the bug: I'm/was using the street sign version, which should be indestructible with the default settings. Well, turn's out they aren't indestructible. Yes, you can run into them with a tank and nothing happens, BUT if fire gets just close enough or you deconstruct the note with your right click or you lag into the sign with a vehicle (yes, happened to me-.-) the game crashes. In case of the game running on a server this destroys your current savegame, since the map is saved even with the client and server crashing, resulting in another crash of the server the moment it beginns to load the map for a connecting client. I attached the server log for debugging purposes.
Regarding the bug: I'm/was using the street sign version, which should be indestructible with the default settings. Well, turn's out they aren't indestructible. Yes, you can run into them with a tank and nothing happens, BUT if fire gets just close enough or you deconstruct the note with your right click or you lag into the sign with a vehicle (yes, happened to me-.-) the game crashes. In case of the game running on a server this destroys your current savegame, since the map is saved even with the client and server crashing, resulting in another crash of the server the moment it beginns to load the map for a connecting client. I attached the server log for debugging purposes.
- Attachments
-
- factorio-current.log
- (11 KiB) Downloaded 156 times
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
This is something for the bug reports sections, not the mod thread.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: [MOD 0.14] Sticky notes - leave notes or signs on the map
This is the correct place for it (event better would be github issues), it is a script crash on an invalid entity.