Making it so the value of the formula for any number count would be calculated using the value of the formula for count-1. It would require a way to actually reference the formula within the formula, and a way to specify what the formula is for count=0.
I'm still struggling to see the use case for that. Let me know what you specifically have in mind as the result of a recursive formula that you don't think is currently possible.
I'm pretty unfamiliar with Cauldron, unfortunately. I'll try to look into the problem, though. Thanks for reporting it.
EDIT: Not able to reproduce this locally.
Sorry it took so long to test it but it didn't worked.
Config File: http://pastebin.com/03sJZqkT
Server Log: https://www.dropbox.com/s/h7253u17b13fo26/ForgeModLoader-server-0.log
Video - With a new player just on the server:
Video - With the same player as before:
If it does not work I am willing to use just a forge server. Also if you want you could come on the server if that would help.
The server log seems to end before you try eating food (I think). Ideally, I need the server log from when you are trying to eat but it's not working.
Try searching your server logs for this text: didn't count toward food history
If any matches are found, post the lines that were found.
cauldron:
loglevels:
Minecraft-Server: INFO
MinecraftForge: INFO
ForgeModLoader: INFO
TCon-Preloader: INFO
AromaBackup: INFO
ExtraUtilities: INFO
HardcoreEnderExpansion: INFO
inventorytweaks: INFO
numina: INFO
ProjRed|Core: INFO
ProjRed|Compatibility: INFO
ProjRed|Integration: INFO
ProjRed|Transmission: INFO
ProjRed|Illumination: INFO
ProjRed|Expansion: INFO
ProjRed|Transportation: INFO
ProjRed|Exploration: INFO
simplyjetpacks: INFO
Stackie: INFO
WR-CBE|Addons: INFO
WR-CBE|Logic: INFO
ForgeMicroblock: INFO
ForgeMultipart: INFO
McMultipart: INFO
mcp: INFO
FML: INFO
Forge: INFO
AppliedEnergistics-Core: INFO
Aroma1997Core: INFO
CodeChickenCore: INFO
Evoc: INFO
MobiusCore: INFO
NotEnoughItems: INFO
OpenEye: INFO
PowerCrystalsCore: INFO
TConstruct-Preloader: INFO
OpenModsCore: INFO
advfluxtools: INFO
arsmagica2: INFO
AppliedEnergistics: INFO
Aroma1997CoreHelper: INFO
Autoutils: INFO
BiblioCraft: INFO
BiblioWoodsForestry: INFO
BiblioWoodsNatura: INFO
BigReactors: INFO
BinnieCore: INFO
ExtraBees: INFO
ExtraTrees: INFO
AWWayofTime: INFO
BuildCraft|Builders: INFO
BuildCraft|Core: INFO
BuildCraft|Energy: INFO
BuildCraft|Factory: INFO
BuildCraft|Silicon: INFO
BuildCraft|Transport: INFO
CarpentersBlocks: INFO
charlotteUtilities: INFO
Chisel: INFO
CoFHCore: INFO
CoFHLoot: INFO
CoFHMasquerade: INFO
CoFHSocial: INFO
CoFHWorld: INFO
ComputerCraft: INFO
ConfigMod: INFO
CoroAI: INFO
CountryGamer_Core: INFO
DeadlyWorld: INFO
DeathCounter: INFO
DimensionalAnchors: INFO
EnderStorage: INFO
enhancedportals: INFO
extracells: INFO
ExtraTiC: INFO
factorization-misc: INFO
factorization-notify: INFO
factorization-dimensionalSlice: INFO
factorization: INFO
FinndusFillies: INFO
FlansMod: INFO
ForbiddenMagic: INFO
Forestry: INFO
cfm: INFO
GraveStoneMod: INFO
GreenHam: INFO
HarvestCraftWaila: INFO
Hats: INFO
HatStand: INFO
HardcoreQuesting: INFO
HungerOverhaul: INFO
ICBM: INFO
ICBM|Explosion: INFO
ICBM|Sentry: INFO
iChunUtil: INFO
ImmibisCore: INFO
InfernalMobs: INFO
IronChest: INFO
ItemSearch: INFO
JABBA: INFO
KeithyUtils: INFO
MagicBees: INFO
Mekanism: INFO
MekanismGenerators: INFO
MekanismTools: INFO
Metallurgy3Core: INFO
Metallurgy3Machines: INFO
Metallurgy3Base: INFO
Metallurgy3Vanilla: INFO
MFR Compat Forestry Trees: INFO
MFR Compat Extra Trees: INFO
MineFactoryReloaded: INFO
MineFactoryReloaded|CompatAppliedEnergistics: INFO
MineFactoryReloaded|CompatAtum: INFO
MineFactoryReloaded|CompatBackTools: INFO
MineFactoryReloaded|CompatBuildCraft: INFO
MineFactoryReloaded|CompatChococraft: INFO
MineFactoryReloaded|CompatExtraBiomes: INFO
MineFactoryReloaded|CompatForestry: INFO
MineFactoryReloaded|CompatForestryPre: INFO
MineFactoryReloaded|CompatForgeMicroblock: INFO
MineFactoryReloaded|CompatIC2: INFO
MineFactoryReloaded|CompatMystcraft: INFO
MineFactoryReloaded|CompatPams: INFO
MineFactoryReloaded|CompatProjRed: INFO
MineFactoryReloaded|CompatRailcraft: INFO
MineFactoryReloaded|CompatRP2: INFO
MineFactoryReloaded|CompatSufficientBiomes: INFO
MineFactoryReloaded|CompatThaumcraft: INFO
MineFactoryReloaded|CompatThermalExpansion: INFO
MineFactoryReloaded|CompatTwilightForest: INFO
MineFactoryReloaded|CompatVanilla: INFO
MineFactoryReloaded|CompatXyCraft: INFO
MFFS: INFO
powersuits: INFO
Morpheus: INFO
Natura: INFO
NEIAddons: INFO
NEIAddons|AE: INFO
NEIAddons|MiscPeripherals: INFO
NEIAddons|ExtraBees: INFO
NEIAddons|Forestry: INFO
NEIAddons|CraftingTables: INFO
NEIAddons|ExNihilo: INFO
NEIPlugins: INFO
NotEnoughCodecs: INFO
notenoughkeys: INFO
ObsidiPlates: INFO
OpenBlocks: INFO
OpenMods: INFO
OpenPeripheral: INFO
OpenPeripheralCore: INFO
Opis: INFO
MapWriter: INFO
pamharvestcraft: INFO
PlayerBeacons: INFO
PneumaticCraft: INFO
powersuitaddons: INFO
Railcraft: INFO
RandomThings: INFO
Redstone Arsenal: INFO
RefinedRelocation: INFO
xreliquary: INFO
ResonantEngine: INFO
Revamp: INFO
Roguelike: INFO SpiceOfLife: ALL
Statues: INFO
SuperCraftingFrame: INFO
Sync: INFO
TConstruct: INFO
Thaumcraft: INFO
ThaumcraftExtras: INFO
ThaumicReliquary: INFO
ThaumicTinkerer: INFO
ThermalExpansion: INFO
TiCTooltips: INFO
TMechworks: INFO
TSteelworks: INFO
UniversalElectricity: INFO
Waila: INFO
WailaHarvestability: INFO
WeepingAngels: INFO
witchery: INFO
WR-CBE|Core: INFO
MineTweaker: INFO
ZAMod: INFO
FZ: INFO
Buildcraft: INFO
fml-ItemTracker: INFO
Project Red: INFO
Tinkers Mechworks: INFO
Minecraft: INFO
MPSA-SERVER: INFO
extrabees: INFO
MachineMuse: INFO
sk-tomsik68-loginprotector-LoginProtector: INFO
de-stonedCRAFT-SimpleAFK-SimpleAFK: INFO
fr-goc-androidremotebukkit-Main: INFO
com-cnaude-purpleirc-PurpleIRC: INFO
net-minecraft-server-MinecraftServer: INFO
fml-ModTracker: INFO
It seems to work now all I changed was the log level in bukkit.yml. If it ends up not working I will post again.
is it possible to set every food to restore only 1/2 hunger (from start)? and then go for example :
-after 2 big meals(~5 hunger bar), and after it's getting lower
and / or
-after 3 medium meals(~2,5 hunger bar), and after it's getting lower
and / or
-after 5 small (~1 hunger bar), and after it's getting lower
[getting lower = 1 food after limit is only 1/2 of previous value (1/4 from vanilla), 2 food after limit = gives nothing]
could someone post formula that would do that or close to that?
I can't quite understand what you mean. Can you give an example of what you want to happen?
God this is hard. I love it but this plus TiC Tweaks plus Hunger Overhaul plus the hardest mob adding mods in the game... I just had to tweak the configs to B:clear.history.after.food.eaten.threshold.reached=true.
It was either that or lower the food history length. It's definitely working, though. It's a great idea too and I'll definitely be keeping the mod. I'm just ashamed that I had to cheat the configs. Perhaps I should've increased the number of times I could eat before the mod kicked in. 6 berries and I was pretty much screwed :P. I'm still in very early game for now so I'm thinking I'll probably change the settings back to default once I can build a furnace or something. Overall, this is a great mod. Thank you
I request a config option to exclude foods by ID from the diminishing returns. I know that may not seem logical to some. But for things that only have 1 point or maybe IC2' canned food, I'd like to have it. Or maybe a config option to choose if the list is black or white ? Some ppl may want that.
It would be amazing if you had an option to have different formulas for different item sets, at least two, but I know that'd be alot of work and is probably just too much.
Other random ideas:
I also wish maybe even not your mod, but some mod would make the ability to mix foods into meals a thing. Those could bypass diminishing returns and fill hung/sat bars much faster but have small stack sizes, maybe not even be eaten portably (is that a word?) like cake. Maybe different meals have different benefits like regeneration or speed... I also find myself wanting to keep my saturation full now that I can see it, I wish there were "diet" foods or something that high saturation values even with low hunger values or something. lol. Silly and probably pointless, but maybe rare foods that could keep you from starving, or energy drinks that are good for taking long runs since saturation/hunger depletes faster when sprinting...lol...
I request a config option to exclude foods by ID from the diminishing returns. I know that may not seem logical to some. But for things that only have 1 point or maybe IC2' canned food, I'd like to have it. Or maybe a config option to choose if the list is black or white ? Some ppl may want that.
It would be amazing if you had an option to have different formulas for different item sets, at least two, but I know that'd be alot of work and is probably just too much.
Other random ideas:
I also wish maybe even not your mod, but some mod would make the ability to mix foods into meals a thing. Those could bypass diminishing returns and fill hung/sat bars much faster but have small stack sizes, maybe not even be eaten portably (is that a word?) like cake. Maybe different meals have different benefits like regeneration or speed... I also find myself wanting to keep my saturation full now that I can see it, I wish there were "diet" foods or something that high saturation values even with low hunger values or something. lol. Silly and probably pointless, but maybe rare foods that could keep you from starving, or energy drinks that are good for taking long runs since saturation/hunger depletes faster when sprinting...lol...
Configs of come sort would be nice. Also, check out Pams Harvestcraft for meals.
@squeek502 I can't quite understand what you mean. Can you give an example of what you want to happen?
I wrote it clearly, no idea what you don't understand ehh.
I need it to :
-change every food to restore only 1/2 or 1/3 of orginal value (so it replaces hunger overhaul that hasn't updated yet)
-and still have your mod functionality so after eating few the same foods it restore less
so I just wrote how many I would like to eat ~before it will start getting lower
Oh, alright. I thought you meant you wanted food to start out restoring half a hunger bar, not half their default value. I'll try to post a formula that does what you want soon.
I request a config option to exclude foods by ID from the diminishing returns. I know that may not seem logical to some. But for things that only have 1 point or maybe IC2' canned food, I'd like to have it. Or maybe a config option to choose if the list is black or white ? Some ppl may want that.
It would be amazing if you had an option to have different formulas for different item sets, at least two, but I know that'd be alot of work and is probably just too much.
Other random ideas:
I also wish maybe even not your mod, but some mod would make the ability to mix foods into meals a thing. Those could bypass diminishing returns and fill hung/sat bars much faster but have small stack sizes, maybe not even be eaten portably (is that a word?) like cake. Maybe different meals have different benefits like regeneration or speed... I also find myself wanting to keep my saturation full now that I can see it, I wish there were "diet" foods or something that high saturation values even with low hunger values or something. lol. Silly and probably pointless, but maybe rare foods that could keep you from starving, or energy drinks that are good for taking long runs since saturation/hunger depletes faster when sprinting...lol...
I'll try to do your first two ideas. I could even make each food group optionally have its own formula.
Not sure what you mean. The mod is entirely built around being configurable.
I was actually referring to the suggestion I replied to. Some sort of config for blacklisting certain foods. To be honest though, I'm satisfied with the mod as is.
I'm writing this here because of compatibility of this mod with Hunger overhaul. Iguana stopped working on his mod and he will not make 1.7.X version. Mod was supposedly picked up by some guys but complete lack of information from them suggests that they might not be doing much with it.
Since Hunger overhaul is open source, anyone can pick it up. If you know anyone who could pick it up and make 1.7.X port, than please help save Hunger overhaul.
A 1.7.10 version of Hunger Overhaul is in progress by progwml6 and I plan to help him out a bit with it.
Changelog
- 1.7.2 version has been made compatible with 1.7.10 (it is now a 1.7.x version, as it will still work in 1.7.2)
- Added item: Food Journal (crafted with wheat + paper) that, when used, will show your food history
--- Added config options: give.food.journal.as.starting.item and give.food.journal.on.diminishing.returns.start (both defaulted to false)
- Added food exhaustion visualization to the HUD (shows as a progress bar behind the hunger bar; requires the mod to be installed server-side)
- Added IF function and TRUE/FALSE constants to the food.modifier.formula expression parser (see EvalEx)
- Fixed Natura foods showing incorrect values in their tooltips
- Fixed saturation update packets being sent more than necessary
- Fixed the console getting spammed if something went wrong while getting the food values for the tooltips of non-standard foods
Sweet i see that food groups made it into the config, are you planning to to anything special with them?
I plan to add support for 'base items' of food groups; for example, if you specify apple as a base item of a food group, then all items that are crafted using an apple (and then optionally items that are crafted using that resulting item, and so on) would also be included in the food group.
I'm still struggling to see the use case for that. Let me know what you specifically have in mind as the result of a recursive formula that you don't think is currently possible.
Sorry it took so long to test it but it didn't worked.
Config File: http://pastebin.com/03sJZqkT
Server Log: https://www.dropbox.com/s/h7253u17b13fo26/ForgeModLoader-server-0.log
Video - With a new player just on the server:
Video - With the same player as before:
If it does not work I am willing to use just a forge server. Also if you want you could come on the server if that would help.
The server log seems to end before you try eating food (I think). Ideally, I need the server log from when you are trying to eat but it's not working.
Try searching your server logs for this text: didn't count toward food history
If any matches are found, post the lines that were found.
cauldron:
loglevels:
Minecraft-Server: INFO
MinecraftForge: INFO
ForgeModLoader: INFO
TCon-Preloader: INFO
AromaBackup: INFO
ExtraUtilities: INFO
HardcoreEnderExpansion: INFO
inventorytweaks: INFO
numina: INFO
ProjRed|Core: INFO
ProjRed|Compatibility: INFO
ProjRed|Integration: INFO
ProjRed|Transmission: INFO
ProjRed|Illumination: INFO
ProjRed|Expansion: INFO
ProjRed|Transportation: INFO
ProjRed|Exploration: INFO
simplyjetpacks: INFO
Stackie: INFO
WR-CBE|Addons: INFO
WR-CBE|Logic: INFO
ForgeMicroblock: INFO
ForgeMultipart: INFO
McMultipart: INFO
mcp: INFO
FML: INFO
Forge: INFO
AppliedEnergistics-Core: INFO
Aroma1997Core: INFO
CodeChickenCore: INFO
Evoc: INFO
MobiusCore: INFO
NotEnoughItems: INFO
OpenEye: INFO
PowerCrystalsCore: INFO
TConstruct-Preloader: INFO
OpenModsCore: INFO
advfluxtools: INFO
arsmagica2: INFO
AppliedEnergistics: INFO
Aroma1997CoreHelper: INFO
Autoutils: INFO
BiblioCraft: INFO
BiblioWoodsForestry: INFO
BiblioWoodsNatura: INFO
BigReactors: INFO
BinnieCore: INFO
ExtraBees: INFO
ExtraTrees: INFO
AWWayofTime: INFO
BuildCraft|Builders: INFO
BuildCraft|Core: INFO
BuildCraft|Energy: INFO
BuildCraft|Factory: INFO
BuildCraft|Silicon: INFO
BuildCraft|Transport: INFO
CarpentersBlocks: INFO
charlotteUtilities: INFO
Chisel: INFO
CoFHCore: INFO
CoFHLoot: INFO
CoFHMasquerade: INFO
CoFHSocial: INFO
CoFHWorld: INFO
ComputerCraft: INFO
ConfigMod: INFO
CoroAI: INFO
CountryGamer_Core: INFO
DeadlyWorld: INFO
DeathCounter: INFO
DimensionalAnchors: INFO
EnderStorage: INFO
enhancedportals: INFO
extracells: INFO
ExtraTiC: INFO
factorization-misc: INFO
factorization-notify: INFO
factorization-dimensionalSlice: INFO
factorization: INFO
FinndusFillies: INFO
FlansMod: INFO
ForbiddenMagic: INFO
Forestry: INFO
cfm: INFO
GraveStoneMod: INFO
GreenHam: INFO
HarvestCraftWaila: INFO
Hats: INFO
HatStand: INFO
HardcoreQuesting: INFO
HungerOverhaul: INFO
ICBM: INFO
ICBM|Explosion: INFO
ICBM|Sentry: INFO
iChunUtil: INFO
ImmibisCore: INFO
InfernalMobs: INFO
IronChest: INFO
ItemSearch: INFO
JABBA: INFO
KeithyUtils: INFO
MagicBees: INFO
Mekanism: INFO
MekanismGenerators: INFO
MekanismTools: INFO
Metallurgy3Core: INFO
Metallurgy3Machines: INFO
Metallurgy3Base: INFO
Metallurgy3Vanilla: INFO
MFR Compat Forestry Trees: INFO
MFR Compat Extra Trees: INFO
MineFactoryReloaded: INFO
MineFactoryReloaded|CompatAppliedEnergistics: INFO
MineFactoryReloaded|CompatAtum: INFO
MineFactoryReloaded|CompatBackTools: INFO
MineFactoryReloaded|CompatBuildCraft: INFO
MineFactoryReloaded|CompatChococraft: INFO
MineFactoryReloaded|CompatExtraBiomes: INFO
MineFactoryReloaded|CompatForestry: INFO
MineFactoryReloaded|CompatForestryPre: INFO
MineFactoryReloaded|CompatForgeMicroblock: INFO
MineFactoryReloaded|CompatIC2: INFO
MineFactoryReloaded|CompatMystcraft: INFO
MineFactoryReloaded|CompatPams: INFO
MineFactoryReloaded|CompatProjRed: INFO
MineFactoryReloaded|CompatRailcraft: INFO
MineFactoryReloaded|CompatRP2: INFO
MineFactoryReloaded|CompatSufficientBiomes: INFO
MineFactoryReloaded|CompatThaumcraft: INFO
MineFactoryReloaded|CompatThermalExpansion: INFO
MineFactoryReloaded|CompatTwilightForest: INFO
MineFactoryReloaded|CompatVanilla: INFO
MineFactoryReloaded|CompatXyCraft: INFO
MFFS: INFO
powersuits: INFO
Morpheus: INFO
Natura: INFO
NEIAddons: INFO
NEIAddons|AE: INFO
NEIAddons|MiscPeripherals: INFO
NEIAddons|ExtraBees: INFO
NEIAddons|Forestry: INFO
NEIAddons|CraftingTables: INFO
NEIAddons|ExNihilo: INFO
NEIPlugins: INFO
NotEnoughCodecs: INFO
notenoughkeys: INFO
ObsidiPlates: INFO
OpenBlocks: INFO
OpenMods: INFO
OpenPeripheral: INFO
OpenPeripheralCore: INFO
Opis: INFO
MapWriter: INFO
pamharvestcraft: INFO
PlayerBeacons: INFO
PneumaticCraft: INFO
powersuitaddons: INFO
Railcraft: INFO
RandomThings: INFO
Redstone Arsenal: INFO
RefinedRelocation: INFO
xreliquary: INFO
ResonantEngine: INFO
Revamp: INFO
Roguelike: INFO
SpiceOfLife: ALL
Statues: INFO
SuperCraftingFrame: INFO
Sync: INFO
TConstruct: INFO
Thaumcraft: INFO
ThaumcraftExtras: INFO
ThaumicReliquary: INFO
ThaumicTinkerer: INFO
ThermalExpansion: INFO
TiCTooltips: INFO
TMechworks: INFO
TSteelworks: INFO
UniversalElectricity: INFO
Waila: INFO
WailaHarvestability: INFO
WeepingAngels: INFO
witchery: INFO
WR-CBE|Core: INFO
MineTweaker: INFO
ZAMod: INFO
FZ: INFO
Buildcraft: INFO
fml-ItemTracker: INFO
Project Red: INFO
Tinkers Mechworks: INFO
Minecraft: INFO
MPSA-SERVER: INFO
extrabees: INFO
MachineMuse: INFO
sk-tomsik68-loginprotector-LoginProtector: INFO
de-stonedCRAFT-SimpleAFK-SimpleAFK: INFO
fr-goc-androidremotebukkit-Main: INFO
com-cnaude-purpleirc-PurpleIRC: INFO
net-minecraft-server-MinecraftServer: INFO
fml-ModTracker: INFO
I can't quite understand what you mean. Can you give an example of what you want to happen?
Weird. Thanks for testing it, though.
It was either that or lower the food history length. It's definitely working, though. It's a great idea too and I'll definitely be keeping the mod. I'm just ashamed that I had to cheat the configs. Perhaps I should've increased the number of times I could eat before the mod kicked in. 6 berries and I was pretty much screwed :P. I'm still in very early game for now so I'm thinking I'll probably change the settings back to default once I can build a furnace or something. Overall, this is a great mod. Thank you
It would be amazing if you had an option to have different formulas for different item sets, at least two, but I know that'd be alot of work and is probably just too much.
Other random ideas:
I also wish maybe even not your mod, but some mod would make the ability to mix foods into meals a thing. Those could bypass diminishing returns and fill hung/sat bars much faster but have small stack sizes, maybe not even be eaten portably (is that a word?) like cake. Maybe different meals have different benefits like regeneration or speed... I also find myself wanting to keep my saturation full now that I can see it, I wish there were "diet" foods or something that high saturation values even with low hunger values or something. lol. Silly and probably pointless, but maybe rare foods that could keep you from starving, or energy drinks that are good for taking long runs since saturation/hunger depletes faster when sprinting...lol...
Configs of come sort would be nice. Also, check out Pams Harvestcraft for meals.
Oh, alright. I thought you meant you wanted food to start out restoring half a hunger bar, not half their default value. I'll try to post a formula that does what you want soon.
I'll try to do your first two ideas. I could even make each food group optionally have its own formula.
Not sure what you mean. The mod is entirely built around being configurable.
I was actually referring to the suggestion I replied to. Some sort of config for blacklisting certain foods. To be honest though, I'm satisfied with the mod as is.
A 1.7.10 version of Hunger Overhaul is in progress by progwml6 and I plan to help him out a bit with it.
Changelog
- 1.7.2 version has been made compatible with 1.7.10 (it is now a 1.7.x version, as it will still work in 1.7.2)
- Added item: Food Journal (crafted with wheat + paper) that, when used, will show your food history
--- Added config options: give.food.journal.as.starting.item and give.food.journal.on.diminishing.returns.start (both defaulted to false)
- Added food exhaustion visualization to the HUD (shows as a progress bar behind the hunger bar; requires the mod to be installed server-side)
- Added IF function and TRUE/FALSE constants to the food.modifier.formula expression parser (see EvalEx)
- Fixed Natura foods showing incorrect values in their tooltips
- Fixed saturation update packets being sent more than necessary
- Fixed the console getting spammed if something went wrong while getting the food values for the tooltips of non-standard foods
Download v1.1.0 (for Minecraft 1.6.4/1.7.x):
Github | Adf.ly
I plan to add support for 'base items' of food groups; for example, if you specify apple as a base item of a food group, then all items that are crafted using an apple (and then optionally items that are crafted using that resulting item, and so on) would also be included in the food group.
Here you go:
Spreadsheet
Link:http://www.technicpack.net/modpack/details/tornadotech.403964
From the OP:
Well, now I'm curious as to what this said.