Search found 14 matches
- Thu May 02, 2024 3:20 pm
- Forum: Modding discussion
- Topic: How to store functions in "global" table?
- Replies: 6
- Views: 199
Re: How to store functions in "global" table?
This is really not a suggestion for the API. Rather I would like to know if someone has solved it or works around this peculiarity. Otherwise I would have posted in the "Modding interface requests" subforum. I am talking to ChatGPT as we speak.
- Thu May 02, 2024 2:56 pm
- Forum: Modding discussion
- Topic: How to store functions in "global" table?
- Replies: 6
- Views: 199
Re: How to store functions in "global" table?
:D Sure I would try to refactor it at ever greater scale once I fully grasp the current organically evolved "architecture" and simplify it a little bit. Still, for mods that have dynamic (at runtime) event de/registration I think this is the same. That kind of use-case is convenient for cl...
- Thu May 02, 2024 2:29 pm
- Forum: Modding discussion
- Topic: How to store functions in "global" table?
- Replies: 6
- Views: 199
How to store functions in "global" table?
If I understand Factorio modding guides correctly, it's disallowed to store Lua functions inside the "global" table? (not to be confused with Lua's global variable scope!) I am combing through Biter Battles code (descendant of Comfy code base) and what I see there is a spiced spaghetti. No...
- Thu May 02, 2024 12:42 pm
- Forum: Technical Help
- Topic: Nintendo switch out of system ram
- Replies: 16
- Views: 696
Re: Nintendo switch out of system ram
I cannot save the game to make any further progress unless there is a way fo make more use out of the 4gb of ram which the switch has. Maybe If switch had 8gb of ram then you could make larger maps on the switch version. I wonder if removing foliage from the map itself would help. The other known m...
- Mon Apr 29, 2024 10:00 pm
- Forum: Won't fix.
- Topic: [0.17.68] Server started from cmd has broken input stream (Windows)
- Replies: 16
- Views: 3823
Re: [1.1.107] Factorio continues to steal parent's STDIN
Thanks Rseding, as silly as it sounds, that was the answer to really nudge me to look into Windows' text vs GUI mode differences: Read everything, but the real hint is the answer at the end: win32 GUI app that writes usage text to stdout when invoked as "app.exe --help" https://learn.micro...
- Mon Apr 29, 2024 9:02 pm
- Forum: Won't fix.
- Topic: [0.17.68] Server started from cmd has broken input stream (Windows)
- Replies: 16
- Views: 3823
[1.1.107] Factorio continues to steal parent's STDIN
This continues to happen with 1.1.107 on Windows and only on Windows . Discussion started in this thread: Console / stdin especially on windows Expected: 1. Parent program launches, reads from shell -> stdin 2. Parent starts Factorio as a subprocess with its STDIN pipe open 3. Parent receives comman...
- Mon Apr 29, 2024 8:45 pm
- Forum: Wiki Talk
- Topic: Console / stdin especially on windows
- Replies: 5
- Views: 521
Re: Console / stdin especially on windows
You are right. This thing intercepts parent's STDIN and ignores the pipe that opened between parent and Factorio (stdout -> stdin). Only affects Windows. I will post in this thread shortly: https://forums.factorio.com/posting.php?mode=reply&f=58&t=75627 UPDATE: Aaaaand it's not a bug. Really...
- Sun Apr 28, 2024 7:16 pm
- Forum: News
- Topic: Friday Facts #408 - Statistics improvements, Linux adventures
- Replies: 152
- Views: 15575
Re: Friday Facts #408 - Statistics improvements, Linux adventures
If all you're missing for Win11 is the TPM thingy, there's ways to turn off that requirement. MS even allows some new systems to be shipped like that. You are wrong and don't suggest it again. The best disgusting analogy I can find: You are a pig and you are free not to go to the butcher, but you w...
- Sun Apr 28, 2024 4:39 pm
- Forum: News
- Topic: Friday Facts #408 - Statistics improvements, Linux adventures
- Replies: 152
- Views: 15575
Re: Friday Facts #408 - Statistics improvements, Linux adventures
I wanted to send my friend a link to the "Clipboard woes" chapter of this FFF for being so awesome as to doing the right thing :tm: but your FFF headings do not have an HTML id attribute to link to it: <h4 class="">Clipboard woes</h4> Usually CMS can auto-generate an ID from text...
- Sat Apr 27, 2024 4:39 am
- Forum: Wiki Talk
- Topic: The <ref> tag does not work
- Replies: 8
- Views: 4402
Re: The <ref> tag does not work
7.5 year bump! :) I wanted to use footnotes via Markdown->MediaWiki converter (pandoc) but it turns out Factorio's wiki really doesn't render the ref-tag. I assumed this is a basic MediaWiki formatting. Of course it's most used for actual references, but works well for footnotes too to avoid text cl...
- Sat Apr 27, 2024 4:32 am
- Forum: Wiki Talk
- Topic: Console / stdin especially on windows
- Replies: 5
- Views: 521
Re: Console / stdin especially on windows
Yes this should be in the modding forum. As for adding to wiki if you Gweneph don't have an account there (I made one) and only want this one occasion written down, I can put it in for you. I get that '/h' is not recognized as an internal or external command, operable program or batch file. This sou...
- Sat Apr 20, 2024 3:53 pm
- Forum: Wiki Talk
- Topic: [Bug] Code tag's CSS style hides spaces on line wrap
- Replies: 0
- Views: 182
[Bug] Code tag's CSS style hides spaces on line wrap
Take this page as an example: https://wiki.factorio.com/index.php?title=Tutorial:Localisation&oldid=196250 The string inside code tags is literally with spaces in it: title =Category related title Currently what happens if I resize the window or view it on phone, it hides the background of space...
- Fri Apr 19, 2024 9:10 pm
- Forum: This Forum
- Topic: IP based forum lag
- Replies: 6
- Views: 829
Re: IP based forum lag
Do you have IPv6? Try to clear DNS cache in Firefox at this URL: about:networking#dns or in Windows if not using Firefox using "ipconfig /flushdns" command. The DNS replies show that the website uses CDN77 it's possible you get served from an overworked/old server or there's a different is...
- Fri Apr 19, 2024 9:00 pm
- Forum: Assigned
- Topic: [raiguard][1.1.107][Linux] Crash reporter does not open the folder with log file
- Replies: 0
- Views: 185
[raiguard][1.1.107][Linux] Crash reporter does not open the folder with log file
When you click "Yes" in the Crash message window to open the folder containing the current log file, nothing happens. Expected: Folder is opened in file browser. OS: Manjaro, KDE Plasma 5.27.11, X11 Factorio 1.1.106 and 1.1.107 Steps: 1. Start Factorio on a map 2. Send SIGSEGV using htop 3...