Staredit Network > Forums > Modding Assistance > Topic: Tips for Tedious Coding
Tips for Tedious Coding
Mar 24 2008, 4:02 am
By: A_of-s_t  

Apr 10 2008, 2:44 am Laser Dude Post #21



The correct formula would be math.round(256/(totalNumberOfPaths - n). (Note that the first element is n=0, not n=1!)

So this is what you would get for five paths, in fractional format. If you don't trust me, then do the math yourself. :P

256/5
256/4
256/3
256/2
256



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
Please log in to shout.


Members Online: Ultraviolet, Vrael, lil-Inferno, jun3hong