Search found 7 matches

by paraqles
Wed Jan 26, 2022 2:28 pm
Forum: Technical Help
Topic: Server Deployment: PID Signals the server listens to?
Replies: 0
Views: 513

Server Deployment: PID Signals the server listens to?

Hi there, another question regarding the server software. Is the server listening to any other signals than SIGTERM ? Like: SIGHUP to reload server config SIGUSR1 to reload user lists (admin list, white list, ban list) SIGUSR2 to save map SIGUSR3 to reload save game the server was started with
by paraqles
Mon Jan 24, 2022 9:40 pm
Forum: Technical Help
Topic: Server Deployment: URL to check for the last [Stable, Latest] version?
Replies: 2
Views: 764

Server Deployment: URL to check for the last [Stable, Latest] version?

Hi there, is there an url, that can be queried, to get the latest version number that is considered "stable" or "latest". Asking this to use it in ansible role, to check if the server has to be updated or a download of the server archive can be avoided. Thanks in advance for the ...
by paraqles
Fri Apr 15, 2016 2:06 pm
Forum: Already exists
Topic: [Solved]Science Pack | api call to change "remaining" value?
Replies: 8
Views: 3808

Re: [Solved]Science Pack | api call to change "remaining" value?

Sorry I may be a little unclear: http://lua-api.factorio.com/0.12.30/LuaItemStack.html#durability Says it is "uint" => http://lua-api.factorio.com/0.12.30/Builtin-Types.html#uint So it does not behave like the documentation said. And at my first try to use the durability it just kept the d...
by paraqles
Thu Apr 14, 2016 10:29 pm
Forum: Already exists
Topic: [Solved]Science Pack | api call to change "remaining" value?
Replies: 8
Views: 3808

Re: Lua: Science Pack | api call to change "remaining" value?

Hold a partially used science pack in the cursor stack and run /c game.local_player.print(game.local_player.cursor_stack.durability) What the heck? The same code i did this morning, now does what i expected it would do. And especially it does not comply to the API Documentation. I have to thank you...
by paraqles
Thu Apr 14, 2016 10:04 pm
Forum: Already exists
Topic: [Solved]Science Pack | api call to change "remaining" value?
Replies: 8
Views: 3808

Re: Lua: Science Pack | api call to change "remaining" value?

No, it does not work. Besides, that from the LuaAPI Documentation, "durability" is an unsigned integer, capped at max durability of the prototype (for science packs = 1)
by paraqles
Thu Apr 14, 2016 3:46 pm
Forum: Already exists
Topic: [Solved]Science Pack | api call to change "remaining" value?
Replies: 8
Views: 3808

Re: Lua: Science Pack | api call to change "remaining" value?

Sure that can be the thing.
But the "remaining" value is in the description tool tip that you get, when you hover over one of the science-pack stacks in the inventory of the lab.
by paraqles
Thu Apr 14, 2016 3:23 pm
Forum: Already exists
Topic: [Solved]Science Pack | api call to change "remaining" value?
Replies: 8
Views: 3808

[Solved]Science Pack | api call to change "remaining" value?

I want to use the lab and its function as a user of science packs to generate "research power". Unfortunately I can't figure out how the "remaining" of the science pack is handled and stored.' From the API documentation, there is no corresponding value. I tried: - health - durabi...

Go to advanced search