Flip the equation. 2,500 soldiers have a 1 in 15K chance to fire per frame. or 2500 in 15000. To get to 15000 in 15000, that's 6 frames for a random arrow. Or 1/10th of a second per arrow.
I only need one random number every 1/10th of a second to select which soldier fired.
sankar2000 commented: 2. you mean add all possible ips? for ipv4 might be possible, for ipv6 ... not a chance, i wonder if i can have them sorted already +0
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
chenbaoqing commented: Yes, Windows operating system, specified browser, or default browser,Visual Studio 2019 compiler,When a user uses my exe program, my exe program can +0
Krisha03 commented: Sure +0
SanjayJoshi commented: WHy 5 calls +0
lewashby commented: I'm a morron! +6
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
Lieutenant_1 commented: i am using ms access 2016 as my database. +0
complete commented: yup +5
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
UnabashedGeek commented: Thanks for the additional info. I appreciate it. +2
Pekja commented: I think kotlin easier to understand. But since I'm not familiar with java, I think java have more tutorial than kotlin? +0
Pekja commented: I'm using android studio but, still consider which language to use either java or kotlin +0
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator
Khadiiijah commented: Exactly, turned out the text is not matching the text in "If statements" cuz of some added space, Thank you +0
Mercy254 commented: Thank you for sharing the link I've read them I have already started programming it on dev c++. How am I supposed to show that its my work? +0
Khadiiijah commented: Thank you, well I did that and it returned the last else value which means the problem is in the if else statement,but I still can't see what it is +0
Khadiiijah commented: Okay, so I did that and it says that in Integer.Parse(wdays.Text):ArgumentNullException/FormatingException/OverflowException +0
Khadiiijah commented: Okay I did it, but what comes after? +0