pY Veganism (inofficial)
Moderator: pyanodon
Re: pY Veganism (WIP)(unofficial)
i'm broke it again
i have read about donate blood once per hour, but i want to try make it little often. After that a have this nice picture.
i have read about donate blood once per hour, but i want to try make it little often. After that a have this nice picture.
Re: pY Veganism (WIP)(unofficial)
Fixed it. :)
(How did I not test the case that the player dies of the blood donation?^^)
(How did I not test the case that the player dies of the blood donation?^^)
Re: pY Veganism (WIP)(unofficial)
Hello again. Great thank's for you work. It's nice.
I found some strange ... not bug ... i don't know what is it.
Please see on picture. When i'm try build> i have a message : " you
can not buid here ..."
I found some strange ... not bug ... i don't know what is it.
Please see on picture. When i'm try build> i have a message : " you
can not buid here ..."
Re: pY Veganism (WIP)(unofficial)
Oh, it was a bug. I forgot an eventhandler that should remove those invisible beacons. I published a fix.
Re: pY Veganism (WIP)(unofficial)
Hi tiriscef
Have u ever thought about using ammonium sulfate in a fertilizer recipe?
I think it can be combined from acid gas nad ammonia as it now same with combining hydrogen chloride with ammonia to get ammonium chloride
Have u ever thought about using ammonium sulfate in a fertilizer recipe?
I think it can be combined from acid gas nad ammonia as it now same with combining hydrogen chloride with ammonia to get ammonium chloride
Nickname on ModPortal - Naron79
Re: pY Veganism (WIP)(unofficial)
No, but I like this idea. I will add it when I have time. Just not this weekend.
Last edited by tiriscef on Fri Dec 16, 2022 3:11 am, edited 1 time in total.
-
- Inserter
- Posts: 46
- Joined: Thu May 09, 2019 1:19 am
- Contact:
Re: pY Veganism (WIP)(unofficial)
Hello,
im getting this error and i was hoping if there was a fix for it cause i really want to use this mod, so i can continue playing my map.
thanks
The mod pY Veganism [ALPHA] caused a non-recoverable error.
Please report this error to the mod author.
Error while running event pyveganism::on_nth_tick(10)
invalid key to 'next'
stack traceback:
[C]: in function 'next'
__pyveganism__/control.lua:454: in function <__pyveganism__/control.lua:443>
im getting this error and i was hoping if there was a fix for it cause i really want to use this mod, so i can continue playing my map.
thanks
The mod pY Veganism [ALPHA] caused a non-recoverable error.
Please report this error to the mod author.
Error while running event pyveganism::on_nth_tick(10)
invalid key to 'next'
stack traceback:
[C]: in function 'next'
__pyveganism__/control.lua:454: in function <__pyveganism__/control.lua:443>
Re: pY Veganism (WIP)(unofficial)
Oh, I never knew the next-function can break.
Could you send me your save so I have something to test?
Could you send me your save so I have something to test?
-
- Inserter
- Posts: 46
- Joined: Thu May 09, 2019 1:19 am
- Contact:
Re: pY Veganism (WIP)(unofficial)
sure. here you go
ah the file didnt fit. where can i send it to you?
edit: here is my dropbox link of my save file
https://www.dropbox.com/s/154x36dt85z7t9h/PY.zip?dl=0
Re: pY Veganism (WIP)(unofficial)
Thank you. :)
I fixed it.
I fixed it.
-
- Inserter
- Posts: 46
- Joined: Thu May 09, 2019 1:19 am
- Contact:
Re: pY Veganism (inofficial)
Hi,
we are currently using your Py Veganism mod in a multiplayer game on Redmew and a few issues appeared:
First and foremost:
Your math.random call on line 257 in control.lua seems unsafe and thereby causes desyncs, since the built in random number generator used by Lua is not deterministic across different simulations (aka connected clients and the server) you can either use this https://lua-api.factorio.com/latest/Lua ... rator.html or simply go by first index.
Secondly the invisible beacons can cause some crashes with other mods (like Factorio Planner) because of the missing icons and some other missing properties like max modules. The sprites I quickly fixed in this mod. https://mods.factorio.com/mod/pyVegFix
Its not that important but it would probably a good idea to fix it long term.
we are currently using your Py Veganism mod in a multiplayer game on Redmew and a few issues appeared:
First and foremost:
Your math.random call on line 257 in control.lua seems unsafe and thereby causes desyncs, since the built in random number generator used by Lua is not deterministic across different simulations (aka connected clients and the server) you can either use this https://lua-api.factorio.com/latest/Lua ... rator.html or simply go by first index.
Secondly the invisible beacons can cause some crashes with other mods (like Factorio Planner) because of the missing icons and some other missing properties like max modules. The sprites I quickly fixed in this mod. https://mods.factorio.com/mod/pyVegFix
Its not that important but it would probably a good idea to fix it long term.
-
- Filter Inserter
- Posts: 771
- Joined: Sun Jun 03, 2018 8:54 am
- Contact:
Re: pY Veganism (inofficial)
wait invisible beacons? why would u use them? beacons are not ugly
Re: pY Veganism (inofficial)
I dunno what they are for here but they get used as a hack for things that aren't really supported by the API. For example there is a mod called Seablock Mining which applies productivity bonuses to crystallizers based on mining productivity research. It does that with invisible productivity beacons.immortal_sniper1 wrote: ↑Sat Oct 19, 2019 4:30 pm wait invisible beacons? why would u use them? beacons are not ugly
Re: pY Veganism (inofficial)
Yeah this, they are used here to apply productivity bonuses and speed bonuses based on techs to most of the plantation style builds in Py.Blokus wrote: ↑Sat Oct 19, 2019 4:39 pmI dunno what they are for here but they get used as a hack for things that aren't really supported by the API. For example there is a mod called Seablock Mining which applies productivity bonuses to crystallizers based on mining productivity research. It does that with invisible productivity beacons.immortal_sniper1 wrote: ↑Sat Oct 19, 2019 4:30 pm wait invisible beacons? why would u use them? beacons are not ugly
Btw I have a correction to make about the math.random() call. It should be save! However something around composters seems to cause issues with desyncs since removing them map wide stopped the desyncs.
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: pY Veganism (inofficial)
That's wrong. Math.random was specifically modified by the factorio devs to be deterministicSoggs wrote: ↑Sat Oct 19, 2019 4:24 pm
First and foremost:
Your math.random call on line 257 in control.lua seems unsafe and thereby causes desyncs, since the built in random number generator used by Lua is not deterministic across different simulations (aka connected clients and the server) you can either use this https://lua-api.factorio.com/latest/Lua ... rator.html or simply go by first index.
Re: pY Veganism (inofficial)
Hey,Soggs wrote: ↑Sat Oct 19, 2019 4:24 pm Hi,
we are currently using your Py Veganism mod in a multiplayer game on Redmew and a few issues appeared:
First and foremost:
Your math.random call on line 257 in control.lua seems unsafe and thereby causes desyncs, since the built in random number generator used by Lua is not deterministic across different simulations (aka connected clients and the server) you can either use this https://lua-api.factorio.com/latest/Lua ... rator.html or simply go by first index.
Secondly the invisible beacons can cause some crashes with other mods (like Factorio Planner) because of the missing icons and some other missing properties like max modules. The sprites I quickly fixed in this mod. https://mods.factorio.com/mod/pyVegFix
Its not that important but it would probably a good idea to fix it long term.
it pleases me to hear that some people even play my mod. :)
I gave the invisible beacons an icon. I will update that somewhen tomorrow.
Unfortunately I don't really know how to fix the desync issue as I don't know how to test multiplayer cases. I have just one account for factorio.
Could you provide a desync report?
Last edited by tiriscef on Fri Dec 16, 2022 3:18 am, edited 1 time in total.
-
- Smart Inserter
- Posts: 1463
- Joined: Sun Jun 15, 2014 11:39 am
- Contact:
Re: pY Veganism (inofficial)
I might as well as this will probably need adjustments for pyalienlife when it comes outtiriscef wrote: ↑Wed Oct 23, 2019 12:25 amHey,Soggs wrote: ↑Sat Oct 19, 2019 4:24 pm Hi,
we are currently using your Py Veganism mod in a multiplayer game on Redmew and a few issues appeared:
First and foremost:
Your math.random call on line 257 in control.lua seems unsafe and thereby causes desyncs, since the built in random number generator used by Lua is not deterministic across different simulations (aka connected clients and the server) you can either use this https://lua-api.factorio.com/latest/Lua ... rator.html or simply go by first index.
Secondly the invisible beacons can cause some crashes with other mods (like Factorio Planner) because of the missing icons and some other missing properties like max modules. The sprites I quickly fixed in this mod. https://mods.factorio.com/mod/pyVegFix
Its not that important but it would probably a good idea to fix it long term.
it pleases me to hear that some people even play my mod.
I gave the invisible beacons an icon. I will update that somewhen tomorrow.
Unfortunately I don't really know how to fix the desync issue as I don't know how to test multiplayer cases. I have just one account for factorio.
Could you provide a desync report?
Aside from that: I won't be able to work much on this mod anymore, as I am in psychiatry for a while, which limits my free time.
If someone would like to continue developing or maintaining myterribly structured messmod, then I would be happy about that.
Re: pY Veganism (inofficial)
First of I wish you the best for your recovery. Secondly I do have time to look after the mod if you want. It is fairly organize compared to what I have seen in other mods.
About the desync I am no longer sure it is really your mod. Pinpointing desyncs is a pain in the ass esp in this game because for some reason they appear in waves. They stopped once removed all composters but then they returned. When they stopped again we added some composters again and it stayed stable for now. So I dont even know.tiriscef wrote: ↑Wed Oct 23, 2019 12:25 am Hey,
it pleases me to hear that some people even play my mod.
I gave the invisible beacons an icon. I will update that somewhen tomorrow.
Unfortunately I don't really know how to fix the desync issue as I don't know how to test multiplayer cases. I have just one account for factorio.
Could you provide a desync report?