ThinkSome wrote: ↑Thu Oct 15, 2020 1:41 pm
I would like to try something: apply a random multiplier between -25% and 50% (to be determined) to each individual tech and production cost. How hard would it be to implement this?
If possible, apply this for each tech/prod per player, so that everyone has different costs. Might make things much more interesting.
It's hard even equal values for all empires because you need to distribute chosen values to players. Current implementation will require to generate game rule per tech.
If we want separate values for each player I don't even have ideas about possible implementation.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
ThinkSome wrote: ↑Thu Oct 15, 2020 1:41 pm
I would like to try something: apply a random multiplier between -25% and 50% (to be determined) to each individual tech and production cost. How hard would it be to implement this?
If possible, apply this for each tech/prod per player, so that everyone has different costs. Might make things much more interesting.
o01eg wrote: ↑Thu Oct 15, 2020 1:56 pm
If we want separate values for each player I don't even have ideas about possible implementation.
Probably would need to expand FOCS randomness conditions with a supplied seed (and then use player id and game seed to get consistent results over the game for a single player).
o01eg wrote: ↑Thu Oct 15, 2020 1:56 pm
It's hard even equal values for all empires because you need to distribute chosen values to players. Current implementation will require to generate game rule per tech.
that would be the scripting-lang/KISS implementation I think.
randomness with supplied game seed would also work here.
too wonky for mainline i guess and too much work for a prototype?
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
ThinkSome wrote: ↑Thu Oct 15, 2020 1:41 pm
I would like to try something: apply a random multiplier between -25% and 50% (to be determined) to each individual tech and production cost. How hard would it be to implement this?
If possible, apply this for each tech/prod per player, so that everyone has different costs. Might make things much more interesting.
o01eg wrote: ↑Thu Oct 15, 2020 1:56 pm
If we want separate values for each player I don't even have ideas about possible implementation.
Probably would need to expand FOCS randomness conditions with a supplied seed (and then use player id and game seed to get consistent results over the game for a single player).
o01eg wrote: ↑Thu Oct 15, 2020 1:56 pm
It's hard even equal values for all empires because you need to distribute chosen values to players. Current implementation will require to generate game rule per tech.
that would be the scripting-lang/KISS implementation I think.
randomness with supplied game seed would also work here.
too wonky for mainline i guess and too much work for a prototype?
If we use seed then order of processing MUST be same on the server and all clients. Rules are little simpler to manage as we can automatically generate rule when parse tech.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
o01eg wrote: ↑Thu Oct 15, 2020 2:50 pm
If we use seed then order of processing MUST be same on the server and all clients. Rules are little simpler to manage as we can automatically generate rule when parse tech.
I don't agree on seed and order, probably I miscommunicated.
Generating rules and values at parse time would indeed be trivial and ok for a prototype
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Oberlus wrote: ↑Fri Oct 16, 2020 5:26 pm
So... o01eg, when do we start?
I'll back Monday to my PC so tomorrow I'll start a test game and next day will be a actual game.
If someone else want to join this game you need find a pair to have even count of players.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Test game is started! Check if you could login, don't have checksum mismatch and so on.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
o01eg wrote: ↑Tue Oct 20, 2020 9:17 am
Test game is started!
Are teams definitive or these in the test game are just random?
Teams are randomly assigned at start.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm