Option to disable removal of similar output from scripts

Suggestions that have been added to the game.

Moderator: ickputzdirwech

jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Option to disable removal of similar output from scripts

Post by jorgenRe »

Hi, it would be neat if it was possible to stop the chat from removing parts of what is printed to it. Since sometimes when debugging it may feel a little to agressive. Take for example a line divider that it only displays once because it always is similar.
It is of course a simple fix by making sure every output is unique, but sometimes that isnt something a new mod developer may do.

example when it is supposed to output:
-------------
x,y
makes 5 power
-------------
x,y
makes 12 power
-------------
x,y
makes 5 power
But instead it outputs, due to said thing above:
-------------
x,y
makes 5 power
makes 12 power

Thank you, and ps i am happy whatever happens :)
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
Rseding91
Factorio Staff
Factorio Staff
Posts: 15903
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Option to disable removal of similar output from scripts

Post by Rseding91 »

If you're debugging stuff just use the log(...) function that writes to the log file instead of in-game.
If you want to get ahold of me I'm almost always on Discord.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Option to disable removal of similar output from scripts

Post by Nexela »

Or use game.write_file to make your own log file
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: Option to disable removal of similar output from scripts

Post by jorgenRe »

Rseding91 wrote:If you're debugging stuff just use the log(...) function that writes to the log file instead of in-game.
I guess that is a better option sometimes, but i like to see the debug straight away when testing something that has a lot of variables that changes depending on what you put in a chest. Creatinga modular nuclear reactor Industrial craft 2 style :)
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Option to disable removal of similar output from scripts

Post by ssilk »

Just open Factorio windowed and use a program like http://tailforwin32.sourceforge.net/
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Option to disable removal of similar output from scripts

Post by Adil »

Or just, you know, launch the game through cmd and use `print` (lua standard).
That one looks much better than ingame console, it's only downside is that it's stdout but not stdin.
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.
jorgenRe
Filter Inserter
Filter Inserter
Posts: 535
Joined: Wed Apr 09, 2014 3:32 pm
Contact:

Re: Option to disable removal of similar output from scripts

Post by jorgenRe »

ssilk wrote:Just open Factorio windowed and use a program like http://tailforwin32.sourceforge.net/
:o Interesting!
Logo
Noticed the told change in FFF #111 so il continue to use my signature ^_^
Thanks for listening to our suggestions, devs :D!
I would jump of joy if we could specify which tiles spawned in a surfaces
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Option to disable removal of similar output from scripts

Post by ssilk »

jorgenRe wrote:
ssilk wrote:Just open Factorio windowed and use a program like http://tailforwin32.sourceforge.net/
:o Interesting!
Didn't know? Looks for me so (Mac has inbuilt tail-command):
Screen Shot 2016-10-06 at 23.59.49.png
Screen Shot 2016-10-06 at 23.59.49.png (649.77 KiB) Viewed 2717 times
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Implemented Suggestions”