Code center > Solved Bugs
runtime 6/compile error
Testlund:
After 1 h 20 min I got the run-time error 6 again.
PY's solution above didn't work, as none of the solutions so far. We need something new to try, I think.
OFEENDING CODE:
rob(n).mem(refveldx) = (rob(o).vy * Cos(rob(n).aim) + rob(o).vx * Sin(rob(n).aim)) - rob(n).mem(veldx)
Location: Senses module at line 481.
HOVERING INFO:
rob(n).mem(refveldx) = 14660
n = 381
refveldx = 697
rob(o).vy = 53168,43
o = 456
rob(n).aim = 5,700001
rob(o).vx = 21,39198
rob(n).mem(veldx) = 2460
veldx = 198
Testlund:
It's gonna crash, Griz. Just you wait! :evil:
Testlund:
--- Quote ---[QUOTEdid you put it in an try it yet?
--- End quote ---
Yep, I did. If you go back a little in this topic you see that I've posted that I still get the run-time error 6 overflow.
Numsgil:
code a hard limit rob(o).vx and .vy to 60 right before the crash.
I'm sort of in a rush in the moment (going to SixFlags tomorrow, hve to drive 3.5 hours to get there) so I can't produce the code to do it, but that should do it.
Testlund:
You're talking about reproducing the crash here, right? I guess that's for you developers. I don't need to force the program to crash. lol :lol:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version