| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Thirlan
|
Posted - 2006.12.26 19:47:00 -
[1]
This is mostly targeted at the Developers because only they know how they programmed the system.
So anyway, some of the Masters students here at our University are curious as to how the Lottery system draws its winners. For instance is the pseudo-code something like this:
Player Winner() {
_int64 totalRP; //total number of RP points in the game R&D_Agents *array; //array of all the R&D agents
R&D_Agents agent; //scratch variable
for i = 0 to array.length { agent = array[i];
for j = 0 to agent.PlayerRPList.length {
//roll to see if you get below the percentage if( randPercentage() <= agent.PlayerRPList[j]/totalRP) agent.PlayerWin[j] = true; }
}
}//end of function
What it basically is saying is that it goes through every player and rolls to see if they won something. There is of course a flaw with this system but we are just making an example.
|

j0sephine
Caldari Reikoku Band of Brothers
|
Posted - 2006.12.26 21:28:00 -
[2]
Edited by: j0sephine on 26/12/2006 21:29:57
"What it basically is saying is that it goes through every player and rolls to see if they won something. There is of course a flaw with this system but we are just making an example."
As long as the list of players for given agent is pre-sorted by amount of accumulated research points that'd be hardly a flaw -- people with most RP getting first stab at the BP roll would be quite welcome behaviour.
That said, this is quite awful in terms of efficiency... so i suspect procedure is much simpler:
* generate random number between 0-total number of points for given agent. * walk through agent's people list, adding number of RP of each person together until you reach number equal or greater than the random number you generated. The winner is person whose points were added last.
... this ensures each person gets the amount of 'lottery tickets' equal to their number of research points, while keeping operations that need to be performed both simple and minimal.
|

Shayla Etherodyne
|
Posted - 2006.12.26 21:53:00 -
[3]
From what I have found in Dev post in the past the system is:
1) select BPO for lottery 2) look relevant fields, for example: Gallantean Starship engineering, mechanical enginering, ecc. 3) Add all the RP in the relevant fields. Usually you would add 2 or more field togheter, that is the reason as narrower fields like Gallanteans Starship engineering have a field multiplers. 4) Generate a number from 1 to the total numbers of RP in the relevant fields. 5) Offer the BPO to the players controlling the equivalent number.
|

Athren Soulsteal
Gallente Intergalaxy Salvage And Repair
|
Posted - 2006.12.30 17:13:00 -
[4]
Originally by: Shayla Etherodyne From what I have found in Dev post in the past the system is:
1) select BPO for lottery 2) look relevant fields, for example: Gallantean Starship engineering, mechanical enginering, ecc. 3) Add all the RP in the relevant fields. Usually you would add 2 or more field togheter, that is the reason as narrower fields like Gallanteans Starship engineering have a field multiplers. 4) Generate a number from 1 to the total numbers of RP in the relevant fields. 5) Offer the BPO to the players controlling the equivalent number.
see that just sounds wrong, coming from a state that has a lottery, it's not how many tickets you have but that you have the right number. See the only fair way to do it would be to roll a group of numbers. say 1, 2, 6, 27, 56 (1-99) then each player with RP autorolls (like in wow where you /roll) and gets 5 numbers for each RP. The it would not matter if you had 1 rp or 1 bil RP unless you matched the winning numbers you dont win.
The way you describe the system would be biased, as it typically would bot roll low or high
Quote: Think about the people that did fight you fairly. Think.... that were honorable and helped you out in times of need. Those are the real heroes of EVE.
I wish I could fit all the Quote |

j0sephine
Caldari Reikoku Band of Brothers
|
Posted - 2006.12.30 22:42:00 -
[5]
"see that just sounds wrong, coming from a state that has a lottery, it's not how many tickets you have but that you have the right number."
No, it sounds perfectly fine actually -- your chance to control the 'right number' are exactly proportional to amount of tickets you have.
For example: there's 10 tickets total. Player A owns tickets 1-9 and player B owns ticket 10. Player A has 90% chance to win because they own 9:10 of total tickets... no matter which number actually gets drawn.
|

umah
|
Posted - 2006.12.31 05:35:00 -
[6]
Or, in other words,
Them's that has', git's
Originally by: j0sephine "see that just sounds wrong, coming from a state that has a lottery, it's not how many tickets you have but that you have the right number."
No, it sounds perfectly fine actually -- your chance to control the 'right number' are exactly proportional to amount of tickets you have.
For example: there's 10 tickets total. Player A owns tickets 1-9 and player B owns ticket 10. Player A has 90% chance to win because they own 9:10 of total tickets... no matter which number actually gets drawn.
|

Venkul Mul
Gallente
|
Posted - 2007.01.01 08:27:00 -
[7]
Athren, the system you are describing chan generate multiple or 0 winners.
|

Athren Soulsteal
Gallente Intergalaxy Salvage And Repair
|
Posted - 2007.01.02 01:32:00 -
[8]
Edited by: Athren Soulsteal on 02/01/2007 01:32:15
Quote: Athren, the system you are describing chan generate multiple or 0 winners.
True, but that beats an automatic loose because someone started gathering RP before you. The way described is not luck perse it, I have more RP so I win. IE: Any new player will never catch up or have a chance to win. Thats not a lottery but a quota
Quote: Think about the people that did fight you fairly. Think.... that were honorable and helped you out in times of need. Those are the real heroes of EVE.
I wish I could fit all the Quote |

Tojus Illuminati
|
Posted - 2007.01.02 05:19:00 -
[9]
Just think of it as a raffle, and not a lottery, per se. RPs are like tickets. The more you have, the greater chance you'll be picked.
|
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |