Search found 38 matches

by WildBraas
Sun May 15, 2022 8:05 pm
Forum: Modding interface requests
Topic: Ability to iterate entity properties
Replies: 12
Views: 3067

Re: Ability to iterate entity properties

Yes, but dynamically see what inside entity in right line of code still unpossible wo this extension
by WildBraas
Sun May 15, 2022 7:06 pm
Forum: Modding interface requests
Topic: Ability to iterate entity properties
Replies: 12
Views: 3067

Re: Ability to iterate entity properties

Now its possible using Factorio mod debug for Visual Code, with breakpoints and code analysis.
ANd in breakpoint stop will be it possible
lua eval.png
lua eval.png (25.83 KiB) Viewed 214 times
by WildBraas
Sun May 15, 2022 5:07 am
Forum: Modding discussion
Topic: Speaker alert_message is read only?
Replies: 2
Views: 101

Re: Speaker alert_message is read only?

Thank you
by WildBraas
Sat May 14, 2022 9:49 pm
Forum: Modding discussion
Topic: Speaker alert_message is read only?
Replies: 2
Views: 101

Speaker alert_message is read only?

I read an api and discovered that alert_aprameters is [Read/Write]. But alert_message do not change: function on_gui_closed(event) if event.entity.name == "programmable-speaker" then event.entity.alert_parameters.alert_message = "+" log(serpent.block(event.entity.alert_parameters...
by WildBraas
Sat Oct 09, 2021 7:39 pm
Forum: Technical Help
Topic: [1.1.41] Error load game after edit mod settings
Replies: 2
Views: 506

Re: [1.1.41] Error load game after edit mod settings

I reboot my PC, delete Factorio from Steam, from Roaming and from steamapps
Download it again and all worked.
by WildBraas
Sat Oct 09, 2021 4:39 pm
Forum: Technical Help
Topic: [1.1.41] Error load game after edit mod settings
Replies: 2
Views: 506

[1.1.41] Error load game after edit mod settings

I have main save with Space Exploration setting "Deep space conveyor speed" with defaul 90. In game I do not have still any deep space belts. I edit in Space exploration settings "Deep space conveyor speed" to 239. Game is restarted. I start new freeplay game and check deep space...
by WildBraas
Sun May 09, 2021 11:36 am
Forum: Resolved Problems and Bugs
Topic: [1.1.33] LuaPlayer.disable_alert do not disable alerts
Replies: 1
Views: 1102

[1.1.33] LuaPlayer.disable_alert do not disable alerts

In my simple mod I want disable all custom alerts from alert gui, but LuaPlayer.disable_alert does nothing Here simplified code with problem function OnTick(e) for _, player in pairs(game.connected_players) do player.disable_alert(defines.alert_type.custom); if player.is_alert_enabled(defines.alert_...
by WildBraas
Mon May 03, 2021 3:05 pm
Forum: Modding help
Topic: How works player.mute_alert?
Replies: 2
Views: 353

Re: How works player.mute_alert?

Even simplified

Code: Select all

function OnTick(e)
	if e.tick % 60 == 0 then
		for _, player in pairs(game.connected_players) do
			player.disable_alert(defines.alert_type.custom);
		end
	end
end

script.on_event(defines.events.on_tick, OnTick);
Gives me same behavior
2021-05-03_18-00-49.png
2021-05-03_18-00-49.png (8.43 KiB) Viewed 345 times
Any suggestions?
by WildBraas
Mon May 03, 2021 2:42 pm
Forum: Modding help
Topic: How works player.mute_alert?
Replies: 2
Views: 353

How works player.mute_alert?

Hi masterminds! In api for mute_alert written: mute_alert(alert_type) β†’ boolean Mutes alerts for the given alert category. Parameters alert_type :: defines.alert_type Return value If the alert type was muted (false if it was already muted). I use that: player.mute_alert(defines.alert_type.custom); B...
by WildBraas
Tue Apr 06, 2021 7:23 pm
Forum: Modding help
Topic: Send any data between data and control stages
Replies: 3
Views: 466

Re: Send any data between data and control stages

Question more complicated than current unsolved task.
As variant I could use your method, but if I catch data across stages I may write complicated code once and everyone may use this api without core rewriting.
by WildBraas
Tue Apr 06, 2021 2:04 pm
Forum: Modding help
Topic: Send any data between data and control stages
Replies: 3
Views: 466

Send any data between data and control stages

Hi all! I want to add cross-mod compatibility to one mod as realized in space exploration. SE provide a custom prototype option called se_allow_in_space which may add to any entity to allow build in space. But in data-final-fixes in SE this option change collision masks table and all. After this all...
by WildBraas
Wed Mar 17, 2021 12:34 pm
Forum: Not a bug
Topic: [Twinsen][1.1.27] Alerts is not showing
Replies: 4
Views: 777

Re: [Twinsen][1.1.27] Alerts is not showing

Work for me, thank you so much
by WildBraas
Wed Mar 17, 2021 11:45 am
Forum: Not a bug
Topic: [Twinsen][1.1.27] Alerts is not showing
Replies: 4
Views: 777

Re: [1.1.27] Alerts is not showing

Here is save which I already setup electricity with drones for visualize problem instantly
by WildBraas
Wed Mar 17, 2021 11:18 am
Forum: Not a bug
Topic: [Twinsen][1.1.27] Alerts is not showing
Replies: 4
Views: 777

[Twinsen][1.1.27] Alerts is not showing

I play Krastorio2 + Space Exploration. And in some moment I lost alerts (righty from quickbar) In map I saw them, but not in gui. Restart, another machine, reinstall, disabling all mods in current save not helping - alerts is gone and do not want return back. /c game.player.print(game.player.is_aler...
by WildBraas
Fri Feb 26, 2021 1:30 pm
Forum: Mods
Topic: [MOD 0.18.X] Pollution detector
Replies: 42
Views: 42901

Re: [MOD 0.18.X] Pollution detector

My google translate dont beat your reply, if this for me, wrote the same but for dumbass
by WildBraas
Fri Feb 26, 2021 12:57 pm
Forum: Mods
Topic: [MOD 0.18.X] Pollution detector
Replies: 42
Views: 42901

Re: [MOD 0.18.X] Pollution detector

That mod crashes as it's not named properly in the json file. The file should be called pollution-detector_0.1.0.zip, and the directory inside it should be named the same (without .zip). Could you not post this as a mod on the mod portal, with a note to deprecate if the original author updates ? Of...
by WildBraas
Sun Feb 21, 2021 2:51 pm
Forum: Mods
Topic: [MOD 0.18.X] Pollution detector
Replies: 42
Views: 42901

Re: [MOD 0.18.X] Pollution detector

Mr Shorty, I posted upper updated version. Or you may set me as contributor in mod portal
by WildBraas
Fri Feb 05, 2021 9:00 pm
Forum: Ideas and Suggestions
Topic: Mouse-Over Item in Inventory Highlights Logistic Request (Hovering Logistic Filter Slot)
Replies: 12
Views: 1406

Blinking logistics vice versa

What did you do? With open user inventory I move cursor to existing item and want to change logistic query, but it not blinking as if I move cursor to logistics section. What did you expect to happen instead? It might be obvious to you, but do it anyway! While I move cursor to chracter inventory or...
by WildBraas
Sat Jan 30, 2021 7:21 pm
Forum: Resolved Problems and Bugs
Topic: [kovarex] [1.1.19] Present logistic requests do not show name when setting new request
Replies: 1
Views: 877

[kovarex] [1.1.19] Present logistic requests do not show name when setting new request

What did you do? I mouse through a item in "choose item to deliver" menu What happened? I dont see what I choose before What did you expect to happen instead? It might be obvious to you, but do it anyway! I expect see a name of item please instead of "You are already pick this item&q...
by WildBraas
Fri Jan 22, 2021 5:18 am
Forum: Mods
Topic: [MOD 0.18.X] Pollution detector
Replies: 42
Views: 42901

Re: [MOD 0.18.X] Pollution detector

Maybe 1.1 please?

Krastorio 2 need your mod!

I got some updates for 1.1 support + NanoBots support. Please upload new version or upgrade me as contributor in mod portal please (I am).

Go to advanced search