(01-28-2016, 04:52 AM)Lost Rinoah Wrote: [ -> ] (01-28-2016, 04:03 AM)Surge Wrote: [ -> ]Felt good to play men of war with friends again, even if we got literally nowhere and at one point I just flipped on march of cambreadth so I could pretend we were dying heroically or actually going to pull through at some point.
I like that game, even though I suck at it.
We have literally spent entire afternoons flailing our way through singular missions.
Hehh... I can't handle leading as much as I'm supposed to. So I end up with one squad spearheading while having to leave everything else to their own devices. It took me like 10 hours per mission set to easy in single player. x.o
(01-28-2016, 05:02 AM)Lost Rinoah Wrote: [ -> ]Hehh... I can't handle leading as much as I'm supposed to. So I end up with one squad spearheading while having to leave everything else to their own devices. It took me like 10 hours per mission set to easy in single player. x.o
Men of War is a game of battle lines, which is the only reason it is even remotely manageable, you park infantry in cover a reasonable distance away and forget about them, then to attack you move them closer and involve a tank. Usually we get by by making me the designated tank commander, so I micro tanks 24/7 to try and make things happen without wasting limited resources.
A quick mental inventory on characters shows that considering I have done nothing "serious" with any of them there are FAR too many I won't consider "one-offs"
*Flips table of values*
ARGIULWUDHBNWIDHUWIHU
THIS IS RIDICULOUS.
Here's the very basic, absolute minimum barebones version of the LUA code that I'm using right now:
Code:
val1 = 0.25
val2 = 2
val3 = 1
repeat
wait(0.01)
print(val3 .. "\n --- \n")
val3 = val3 - val1 / 100 * val2
until (val3 == 0)
Makes sense, right?
val3 goes to 0.995, then to 0.990, and so on, until it's 0.
...Or rather, that's what it should be doing, because apparently
I BROKE MATH ITSELF.
Here's the output I get:
Code:
1
---
1
---
0.99500000476837
---
0.99500000476837
---
0.99000000953674
---
0.99000000953674
---
0.98500001430511
---
0.98500001430511
---
0.98000001907349
---
0.98000001907349
---
0.97500002384186
---
0.97500002384186
---
0.97000002861023
---
0.97000002861023
---
0.9650000333786
---
0.9650000333786
---
0.96000003814697
---
0.96000003814697
---
0.95500004291534
---
0.95500004291534
---
0.95000004768372
---
0.95000004768372
---
0.94500005245209
---
0.94500005245209
---
and so on...
THIS MAKES NO SENSE.
THIS IS NOT HOW YOU MATH. I EVEN CHECKED WITH A CALCULATOR.
(01-28-2016, 11:28 AM)Shaadaris Wrote: [ -> ]*Flips table of values*
ARGIULWUDHBNWIDHUWIHU
THIS IS RIDICULOUS.
Here's the very basic, absolute minimum barebones version of the LUA code that I'm using right now:
Code:
val1 = 0.25
val2 = 2
val3 = 1
repeat
wait(0.01)
print(val3 .. "\n --- \n")
val3 = val3 - val1 / 100 * val2
until (val3 == 0)
Makes sense, right?
val3 goes to 0.995, then to 0.990, and so on, until it's 0.
...Or rather, that's what it should be doing, because apparently I BROKE MATH ITSELF.
Here's the output I get:
Code:
1
---
1
---
0.99500000476837
---
0.99500000476837
---
0.99000000953674
---
0.99000000953674
---
0.98500001430511
---
0.98500001430511
---
0.98000001907349
---
0.98000001907349
---
0.97500002384186
---
0.97500002384186
---
0.97000002861023
---
0.97000002861023
---
0.9650000333786
---
0.9650000333786
---
0.96000003814697
---
0.96000003814697
---
0.95500004291534
---
0.95500004291534
---
0.95000004768372
---
0.95000004768372
---
0.94500005245209
---
0.94500005245209
---
and so on...
THIS MAKES NO SENSE. THIS IS NOT HOW YOU MATH. I EVEN CHECKED WITH A CALCULATOR.
What's the actual code - simplifying the code to it's intended logical steps in pseudocode won't help resolve issues with the actual code.
If I had to take a random guess, since the logic seems to be giving you approximately correct values it's type fuckery, and floats are getting cast to ints or whatever in a way that the computer doesn't play nice with.
(01-28-2016, 11:28 AM)Shaadaris Wrote: [ -> ]*Flips table of values*
ARGIULWUDHBNWIDHUWIHU
THIS IS RIDICULOUS.
Here's the very basic, absolute minimum barebones version of the LUA code that I'm using right now:
Code:
val1 = 0.25
val2 = 2
val3 = 1
repeat
wait(0.01)
print(val3 .. "\n --- \n")
val3 = val3 - val1 / 100 * val2
until (val3 == 0)
Makes sense, right?
val3 goes to 0.995, then to 0.990, and so on, until it's 0.
...Or rather, that's what it should be doing, because apparently I BROKE MATH ITSELF.
Here's the output I get:
Code:
1
---
1
---
0.99500000476837
---
0.99500000476837
---
0.99000000953674
---
0.99000000953674
---
0.98500001430511
---
0.98500001430511
---
0.98000001907349
---
0.98000001907349
---
0.97500002384186
---
0.97500002384186
---
0.97000002861023
---
0.97000002861023
---
0.9650000333786
---
0.9650000333786
---
0.96000003814697
---
0.96000003814697
---
0.95500004291534
---
0.95500004291534
---
0.95000004768372
---
0.95000004768372
---
0.94500005245209
---
0.94500005245209
---
and so on...
THIS MAKES NO SENSE. THIS IS NOT HOW YOU MATH. I EVEN CHECKED WITH A CALCULATOR.
I'm not sure what exactly you're trying to do, but I have some idea what's the operation are, also if recall correctly back in my microcontroller class you should atleast able to state print max decimal for the integer or something like
Code:
printf("Average mark = %.2f.\n", average);
(%.2f(2 decimal point float)this works on C programing but I'm not sure about lua, though I'm not sure the variables(I think what's that called val3) print twice
for buddha's shake why is the code box is still not fixed
since when there was a wing commander animated series?
Playing SS Vanilla with a 2 man fleet consisting of Wolf-Class, both equipped with 2 LRPD lasers, an ion cannon, harpoon missile pods(Wolf I)/Salamanders(Wolf II), and Heavy Blasters(WI)/Pulse Lasers(WII).
Pirate fleet made of a Hammerhead and a Hammerhead(D), 3 Lashers(D) and 4 Wolves(D) catches up to me after I burnt out escaping a Sindrian Dikhead patrol...
WHAT IS THIS GAME!
So... The SRSRP still needs a few more players before it can start. Anyone willing to sell your soul to get another RP?
(01-28-2016, 04:07 PM)SilverOtter Wrote: [ -> ]So... The SRSRP still needs a few more players before it can start. Anyone willing to sell your soul to get another RP?
I guess I'll give it a whirl.
(01-28-2016, 04:07 PM)SilverOtter Wrote: [ -> ]So... The SRSRP still needs a few more players before it can start. Anyone willing to sell your soul to get another RP?
I'll probably just occasionally complain about the noise by which I mean things that make no sense.
(01-28-2016, 04:07 PM)SilverOtter Wrote: [ -> ]So... The SRSRP still needs a few more players before it can start. Anyone willing to sell your soul to get another RP?
Before you start, agree to bar me before I get very dazed and attempt to join.
the progression of my face after armored warfare pit my stock M60A3 against a collection of chieftans and T-64s and I quickly found none of them could do anything to me.
(01-28-2016, 06:00 PM)Surge Wrote: [ -> ]the progression of my face after armored warfare pit my stock M60A3 against a collection of chieftans and T-64s and I quickly found none of them could do anything to me.
So far I think only the A3 has ERA at tier 5 which makes them quite durable
404 ERROR PAGE DOES NOT COMPUTE PRESS ANY KEY TO CONTINUE
(01-28-2016, 06:38 PM)Umbra Wrote: [ -> ]404 ERROR PAGE DOES NOT COMPUTE PRESS ANY KEY TO CONTINUE
*Furiously jams door-key into USB port.*
I just randomly looked at the "people online" list, and... Apparently, two guests are "printing" threads.
Is that normal, or is something wrong?
(01-28-2016, 11:28 AM)Shaadaris Wrote: [ -> ]*Flips table of values*
ARGIULWUDHBNWIDHUWIHU
THIS IS RIDICULOUS.
Here's the very basic, absolute minimum barebones version of the LUA code that I'm using right now:
Code:
val1 = 0.25
val2 = 2
val3 = 1
repeat
wait(0.01)
print(val3 .. "\n --- \n")
val3 = val3 - val1 / 100 * val2
until (val3 == 0)
Makes sense, right?
val3 goes to 0.995, then to 0.990, and so on, until it's 0.
...Or rather, that's what it should be doing, because apparently I BROKE MATH ITSELF.
Here's the output I get:
Code:
1
---
1
---
0.99500000476837
---
0.99500000476837
---
0.99000000953674
---
0.99000000953674
---
0.98500001430511
---
0.98500001430511
---
0.98000001907349
---
0.98000001907349
---
0.97500002384186
---
0.97500002384186
---
0.97000002861023
---
0.97000002861023
---
0.9650000333786
---
0.9650000333786
---
0.96000003814697
---
0.96000003814697
---
0.95500004291534
---
0.95500004291534
---
0.95000004768372
---
0.95000004768372
---
0.94500005245209
---
0.94500005245209
---
and so on...
THIS MAKES NO SENSE. THIS IS NOT HOW YOU MATH. I EVEN CHECKED WITH A CALCULATOR.
But it is how math works on computers.
What you have encountered is the phenomena of Float Rounding. Basically, even decimal places to us are only rarely perfectly represented in binary. So the computer approximates as best it can.
Over time that little bit of error on EVERY SINGLE CALCULATION adds up significantly and causes weird phenomena.
In Kerbal Space Program, the phenomena would cause a ship to accelerate to speeds in excess of the speed of light when making a hairpin turn around the sun. The forces applied to the ship in such a maneuver would trigger float rounding to appear with an exponentially increasing result that would fling the ship into deep space at insane multiples of the speed of light.