Question to the programers

07/30/2008 20:23 imabot08#1
I'm not sure if this is possible or not. But has anyone ever looked into the CO2.0 server database to see if there is any type of luck scale for accounts? Like when an account is created it has a randomly generated number that determines the "luck" rate of said account. I realize that some people are just lucky in general. But it seems that some people have a lucky account so to speak. Meaning that out of say 5 accounts a person has, they have more luck with 1 certain account than they do with any of their other ones. This isn't specific to just lottery, but everything related in game. DB drops, socking items in T.C. drops from monsters ect. Just a thought.
07/30/2008 22:30 InfamousNoone#2
There is no such thing as luck, computers cannot generate random numbers, they use pseudo-random algorithms to do this. So in a case of "luck" to have the best odds you need to understand the algorithm being used (For example knowing the algorithm a card shuffler uses in a casino) so you can predict what you'll get, or better yet know 100% of the time.

Keep in mind, the algorithm would be coded into the server, so as far as I'd know, I don't think it'd be stored in the database.
07/30/2008 23:10 imabot08#3
That was kind of my point. I realize that it must be generated by an algorithm. With all these people building Pservers I assume they are using a similar type of algorithm if not the same ones from the original CO server. I guess I was trying to find out if anyone has looked into this at all. I assume there would be one for each different type of thing. I.E. one for drops, one for lotto, one for socs, ect. I guess what I'm trying to ask is are there algorithms in CO2.0 that determine the "luck" (used loosely) of a specific account or not. Or if anyone has ever had the opportunity to look at the algorithms in CO2.0.. Sorry if I'm being a noob here, I'm just trying to understand. And if possible help the community.
07/31/2008 00:10 InfamousNoone#4
Quote:
Originally Posted by imabot08 View Post
That was kind of my point. I realize that it must be generated by an algorithm. With all these people building Pservers I assume they are using a similar type of algorithm if not the same ones from the original CO server. I guess I was trying to find out if anyone has looked into this at all. I assume there would be one for each different type of thing. I.E. one for drops, one for lotto, one for socs, ect. I guess what I'm trying to ask is are there algorithms in CO2.0 that determine the "luck" (used loosely) of a specific account or not. Or if anyone has ever had the opportunity to look at the algorithms in CO2.0.. Sorry if I'm being a noob here, I'm just trying to understand. And if possible help the community.
99.9% of servers in C# are using the "Random" algorithm provided by Microsoft, I'm not sure who had the original algorithm or where they got it from, decompile mscorlib.dll and look into System.Random if you want to know the method they use, it's based off how long their server application has been running (thats the seed in the algorithm).