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.
[01:05 am]
Symmetry -- it works fine for me, dunno whats wrong on your end
[02:44 pm]
lifebot -- How can I edit my post? It doesnt let me save
[12:24 pm]
IskatuMesk -- NudeRaider
NudeRaider shouted: 42?
69
[2026-9-01. : 11:16 pm]
Moose -- Oh_Man
Oh_Man shouted: I opened a magic box and I found the meaning of life
:doubt:
[2026-9-01. : 7:27 pm]
NudeRaider -- 42?
[2026-9-01. : 12:30 pm]
Oh_Man -- I opened a magic box and I found the meaning of life
[2026-9-01. : 4:25 am]
RIVE -- Your mom did the same on me.
[2026-9-01. : 3:10 am]
Symmetry -- You once spent your last 20 minerals on a magic box when all the prizes were already gone
[2026-9-01. : 2:41 am]
RIVE -- ~Welcome to SEN. How tough am I?
[2026-8-31. : 4:46 pm]
Zakerozi -- :P :P :P
Please log in to shout.


Members Online: RIVE