[MOD 0.14.2] Wireless Charging
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.14.2] Wireless Charging
Pretty sure that also causes Desyncs, since it uses on_Load.
That said, how would I go about doing that?
Any idea why it uses the on_load in the first place?
That said, how would I go about doing that?
Any idea why it uses the on_load in the first place?
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.14.2] Wireless Charging
Huh. It worked. Sort of. I made it run on the first tick, and it worked. No idea why. Thanks.
Only issue is that the power meter doesn't show up and the flashing triangle does, which isn't huge deal. it works at least.
And thats only on my existing game, a new game, even if I start it without the mod installed then add it after saving, still works fine. No idea why.
Only issue is that the power meter doesn't show up and the flashing triangle does, which isn't huge deal. it works at least.
And thats only on my existing game, a new game, even if I start it without the mod installed then add it after saving, still works fine. No idea why.
- Attachments
-
- wireless-charging_0.3.4.zip
- (176.9 KiB) Downloaded 161 times
-
- wireless-charging-lib_0.2.6.zip
- (9.13 KiB) Downloaded 156 times
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [MOD 0.14.2] Wireless Charging
It should work since I cheat like that in RSO to make it easier. And to not think to much about event life cycle.
And it's ok since on_load can be used to init event handlers. One drawback I think was that on_load happened also during save or something like that - not sure if I recall correctly. Just make sure that your init is protected from re-entry.
And it's ok since on_load can be used to init event handlers. One drawback I think was that on_load happened also during save or something like that - not sure if I recall correctly. Just make sure that your init is protected from re-entry.
-
- Fast Inserter
- Posts: 232
- Joined: Thu Dec 31, 2015 7:36 am
- Contact:
Re: [MOD 0.14.2] Wireless Charging
Any plans to upgrade this mod to 0.15?
Re: [MOD 0.14.2] Wireless Charging
Hello,
I'm not the author, but he seems away for long.
I like this mod and I managed to update it to 0.15.x.
Works good enough for me...
------
Backup your world, and try if you want.
------
Known issues :
I'm not the author, but he seems away for long.
I like this mod and I managed to update it to 0.15.x.
Works good enough for me...
------
Backup your world, and try if you want.
------
Known issues :
- The charge indicators works but the signal emitted refers to the whole factory accumulator.
- The rails inductions plates are not shown, we can only see the charge indicator.
- Attachments
-
- wireless-charging-lib_0.2.7.zip
- (9.39 KiB) Downloaded 164 times
-
- wireless-charging_0.3.5.zip
- (178.71 KiB) Downloaded 169 times
-
- Fast Inserter
- Posts: 232
- Joined: Thu Dec 31, 2015 7:36 am
- Contact:
Re: [MOD 0.14.2] Wireless Charging
Thank you!!! <3Cyrlynx wrote:Hello,
I'm not the author, but he seems away for long.
I like this mod and I managed to update it to 0.15.x.
Works good enough for me...
------
Backup your world, and try if you want.
------
Known issues :If someone knows how to fix these, feel free to proceed.
- The charge indicators works but the signal emitted refers to the whole factory accumulator.
- The rails inductions plates are not shown, we can only see the charge indicator.
About the issues, i will live with them
Re: [MOD 0.14.2] Wireless Charging
Hello,
I really like the idea of this mod.
Anyone can make it compatible for 0.16 if there is not too much work?
I found it better than induction mod.
Thanks in advance!
I really like the idea of this mod.
Anyone can make it compatible for 0.16 if there is not too much work?
I found it better than induction mod.
Thanks in advance!
Re: [MOD 0.14.2] Wireless Charging
I believe there is no way (of that I tried)mto port this mod to 0.16, other that re-making it from the ground up. I might look into this when I'll have time. I'll be mostly using the way the code is already written, but re-write it using 0.16 way.
Btw, I already ported mknejp's electric vehicles mod to 0.16 so you can take a look at it. It's a mods.factorio.com
Re: [MOD 0.14.2] Wireless Charging
We have been working on our own 0.17 port from a reddit post.PiteR wrote: ↑Thu Dec 27, 2018 7:58 pmI believe there is no way (of that I tried)mto port this mod to 0.16, other that re-making it from the ground up. I might look into this when I'll have time. I'll be mostly using the way the code is already written, but re-write it using 0.16 way.
Btw, I already ported mknejp's electric vehicles mod to 0.16 so you can take a look at it. It's a mods.factorio.com
You have been invited to our (for now private) github repo if you want to help us finalize it .
My mod: "Auto Deploy Destroyers" (follower robots) viewtopic.php?f=97&t=24545
Re: [MOD 0.14.2] Wireless Charging
We currently have a fully functional version of this mod ready for 0.17.
See https://mods.factorio.com/mod/wireless-charging_v17
It includes:
- 0.17 compatible
- multiplayer compatible
- rail graphics working
- indicator progress bars working
- no red flashing "no power" symbols
- tested with Electric Vehicles Reborn
We've encountered no errors so far, but as always with new mods i would advice you to backup your save file!
There are still some minor issues, mainly with graphics, but that will be fixed at some point in the future.
If you want to contribute, the github repository is now open to the public
See https://github.com/GTX2GvO/wireless_charging
See https://mods.factorio.com/mod/wireless-charging_v17
It includes:
- 0.17 compatible
- multiplayer compatible
- rail graphics working
- indicator progress bars working
- no red flashing "no power" symbols
- tested with Electric Vehicles Reborn
We've encountered no errors so far, but as always with new mods i would advice you to backup your save file!
There are still some minor issues, mainly with graphics, but that will be fixed at some point in the future.
If you want to contribute, the github repository is now open to the public
See https://github.com/GTX2GvO/wireless_charging
My mod: "Auto Deploy Destroyers" (follower robots) viewtopic.php?f=97&t=24545
Re: [MOD 0.14.2] Wireless Charging
Great work, I saw and joined the GitHub repo, but I'm not that good at Lua scripting and I don't really have much free time now.slindenau wrote: ↑Mon Mar 25, 2019 5:18 pm We currently have a fully functional version of this mod ready for 0.17.
See https://mods.factorio.com/mod/wireless-charging_v17
It includes:
- 0.17 compatible
- multiplayer compatible
- rail graphics working
- indicator progress bars working
- no red flashing "no power" symbols
- tested with Electric Vehicles Reborn
We've encountered no errors so far, but as always with new mods i would advice you to backup your save file!
There are still some minor issues, mainly with graphics, but that will be fixed at some point in the future.
If you want to contribute, the github repository is now open to the public
See https://github.com/GTX2GvO/wireless_charging
Either way, congratulations C: