FreeOrion

Forums for the FreeOrion project
It is currently Thu Dec 14, 2017 6:51 pm

All times are UTC


Forum rules


Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.



Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sun Apr 02, 2017 12:51 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4294
Location: Sol III
adrian_broher wrote:
Are we at least allowed to make this a Adamant appreciation threada?
:lol:

As long as it's done in good humor, sure. I've to admit reading afwbkbc's contributions triggered some fond memories in that department for mee too. ;) Although, to be honest, I don't think anyone can ever hold a candle to good ol' Adamant... :mrgreen:


Top
 Profile  
 
PostPosted: Sun Apr 02, 2017 5:59 pm 
Offline
Pupating Mass
User avatar

Joined: Tue Mar 14, 2017 10:47 am
Posts: 96
Quote:
There is absolutely no way to evaluate how much "good" or "bad luck" a generated number is on the PRNG level

Yes. That's why we need intermediate module.
So, steps will be like this:
1) Game -> Luck Normalizer -> RNG
2) RNG -> Luck Normalizer -> Game
Game will never communicate with RNG directly. It will communicate with Luck Normalizer by providing a map of possible outcomes, every element of map (so, every possible outcome) will contain a map of 'luckyness' for every player of this outcome, i.e. 0.5 for average, 0.1 for very bad luck, 1.0 for ultimate luck. Possible outcomes may also be interpolated to also account for values between defined outcomes.
Luck Normalizer will call RNG, and then normalize its result based on 'possible outcomes' data received from game. It will pick option that is the most fair to most players (but in most cases, especially in early game, event will influence one player much while not influencing other players at all).

Quote:
Furthermore there is the question: good or bad luck for whom?

It will choose the option that is most fair for most players. Most events will be important for one player while being nearly zero importance for others (because they are too far away).

Quote:
Bottom line: a luck normalizer is completely impossible.

It's completely possible. And if you'd read my initial post more carefully, you would already understand that normalization will occur between game and RNG, not in RNG.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group