Page 2 of 5

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sat Sep 10, 2016 6:08 pm
by KroshkaYenot
It's me again. Looks like you've forgot some debug logging for on_gui_click and on_gui_text_changed events in 1.0.6

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sat Sep 10, 2016 6:53 pm
by binbinhfr
KroshkaYenot wrote:It's me again. Looks like you've forgot some debug logging for on_gui_click and on_gui_text_changed events in 1.0.6
Ooops, you're right ! ;-)
please update to 1.0.7.

I am looking at putting a floating text on any entity on the map. We'll see what I can do...

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sun Sep 11, 2016 9:53 am
by binbinhfr
KroshkaYenot wrote:I have a suggestion (not an order or request or something): Is there any possibility to write text directrly in combinators and lamps ?
Are you dreaming ???? Why not on any object on the map, belonging to your force ???

Well, that's what I did in the last version. ;)

To avoid problems with ENTER key that is used to go inside vehicles, I changed the Notes shorcut key to ALT-W.

Now you can create Sticky Notes or Signs but also directly use the ALT-W on any selected object to add a text on it.
So you can use it on your combinators or lamps.

Tell me if it works.
It is forbiden on vehicles, to avoid problem with text staying at one place while vehicle moving. Maybe I should add other forbidden cases. Let me know.

Note that when object is destroyed, attached text is also destroyed and lost, even if reconstructed by robot. I don't know how to prevent this for the moment.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sun Sep 11, 2016 11:27 am
by KroshkaYenot
Man... That's cool ! I can't stop signing all my combinators! Unbelievably huge thanks!

Here is my localization for this useful mod.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sun Sep 11, 2016 12:09 pm
by binbinhfr
KroshkaYenot wrote:Man... That's cool !
:-D

Thx for the locale.
I also added a french locale.
New version.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Sep 14, 2016 1:07 pm
by binbinhfr
Now the mod integrates optional colorpicker by Mooncat for fine color tuning !
Give it a try and download it here : https://mods.factorio.com/mods/Mooncat/color-picker


please update

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Sep 14, 2016 2:03 pm
by Mooncat
Thanks for supporting Color Picker, and the locale! :D

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Sun Oct 09, 2016 3:18 pm
by Demosthenex
Using StickyNotes 1.0.2 for 0.13 on a MP server with many forces, when I place a note or sign it always shows as an enemy structure. I can't edit the text or remove it.

Are you defaulting to "player" force on placement, instead of inheriting the force of the placing player?

EDIT:

Checked the source, in control.lua line 232:

Code: Select all

    ent.force = game.forces.player
It isn't reading the player's force, it's using the default.

EDIT again:

Fixed in my local copy, change line 232 to:

Code: Select all

		ent.force = player.force
Now I place it and the sign is owned by my player and the force I'm in.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Mon Oct 10, 2016 3:50 pm
by binbinhfr
Thx for your return.

This error was already corrected in a previous version.

You should update to factorio 0.14 :
in last version of the mod, now player can add a text on any entity on the map (of his own force), using the ALT-W key

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Tue Nov 22, 2016 12:33 am
by Recon777
Very cool! This will help a lot with Factorissimo... Unfortunately, labeled objects lose their labels when picked up.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Tue Nov 22, 2016 6:14 am
by binbinhfr
Recon777 wrote:Very cool! This will help a lot with Factorissimo... Unfortunately, labeled objects lose their labels when picked up.
sorry but there is no way to save this info.
how could you differenciate these objects once they are in a stack... ;-)

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Tue Nov 22, 2016 6:26 am
by Nexela
binbinhfr wrote:
Recon777 wrote:Very cool! This will help a lot with Factorissimo... Unfortunately, labeled objects lose their labels when picked up.
sorry but there is no way to save this info.
how could you differenciate these objects once they are in a stack... ;-)

Factorisimo stores the data by setting the health of the item to X value when you pick it up. So saving your label would be possible just might take a little work on both mods.

Factorisimo - when picked up would have to send a remote.call to sticky notes to "get" the note (and save it's data). Sticky notes would would pass the note data (and delete the note) when it received the call. When a factorisimo is placed if there is any "stored" data for sticky notes, factorisimo would have to send a "set" remote.call to sticky notes to create a note on the building.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Tue Dec 20, 2016 7:07 pm
by ElectronicDrug
Nice feature would be able to toggle whether notes only show in ALT-view

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Tue Dec 20, 2016 7:11 pm
by binbinhfr
ElectronicDrug wrote:Nice feature would be able to toggle whether notes only show in ALT-view
But then how would you edit them or delete them if you cannot access the object in the main view ?

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Fri Dec 23, 2016 2:00 am
by ElectronicDrug
binbinhfr wrote:
ElectronicDrug wrote:Nice feature would be able to toggle whether notes only show in ALT-view
But then how would you edit them or delete them if you cannot access the object in the main view ?
Sorry I mean so text only shows up on alt-view. :) Mainly for me I only use to label factories and combinators.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Dec 28, 2016 5:32 pm
by Silden
I find that I can't assign any text to it, it just prints Text then a number. I don't get the dialog boxes shown on the first page.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Dec 28, 2016 6:44 pm
by binbinhfr
Silden wrote:I find that I can't assign any text to it, it just prints Text then a number. I don't get the dialog boxes shown on the first page.
Did you try the shortcut key Alt-W ?

Don't forget to disable the auto-show option if you want the text to be printed constantly.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Jan 04, 2017 7:17 am
by Nexela
Feature Requests -
#1 Make notes not mineable (have to use delete option)
#2 add additional option to locked so only admins can change/modify.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Jan 04, 2017 7:33 am
by binbinhfr
I cannot make them all not-minable by default, because most users already delete them that way.
But the "admin" lockable option could make them not minable, so that your goal is achieved : protect some signs from deletion or modification by non-admin.

I made changes :
Please update on portal and tell me if it's ok for you.

Re: [MOD 0.13] Sticky notes - leave notes or signs on the map

Posted: Wed Jan 04, 2017 11:08 am
by Nexela
binbinhfr wrote:I cannot make them all not-minable by default, because most users already delete them that way.
But the "admin" lockable option could make them not minable, so that your goal is achieved : protect some signs from deletion or modification by non-admin.

I made changes :
Please update on portal and tell me if it's ok for you.

Awesome! Will need to wait for a server restart to test and I will let you know.

Keep up the awesome work.