Code center > Solved Bugs
Run-Time error 6
(1/1)
Testlund:
You have posted some solution for this one:
rob(n).mem(refvelup) = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
...on the wikipedia. Right now I can't access that page. I'm not sure exactly where to put the fix. Some lines of code should be put at the beginning of the rutine, right? Where exactly is the beginning and should all those codes in thick black text be put there? :wacko:
Griz:
--- Quote ---You have posted some solution for this one:
rob(n).mem(refvelup) = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
...on the wikipedia. Right now I can't access that page. I'm not sure exactly where to put the fix. Some lines of code should be put at the beginning of the rutine, right? Where exactly is the beginning and should all those codes in thick black text be put there? :wacko:
--- End quote ---
the fix didn't work anyway.
somewhere here, in some thread, in some message ....
or in a number of threads, messages ...
there was a solution put forth ...
but it doesn't work for me.
hell ... I can't even find it again!
your on your own bud.
Numsgil:
There's always the classic:
--- Code: ---Dim temp as long
temp = (rob(o).vx * Cos(rob(n).aim) + rob(o).vy * Sin(rob(n).aim) * -1) - rob(n).mem(velup)
if abs(temp) > 32000 then temp = sgn(temp) * 32000
rob(n).mem(refvelup) = temp
--- End code ---
If a bit homely.
PurpleYouko:
Another velocity bug. Fixed in v2.35.
thread moved to "fixed bugs"
Navigation
[0] Message Index
Go to full version