Killer planes in wrong place, hinges stretched, etc

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Re: Killer planes in wrong place, hinges stretched, etc

Postby standardtoaster » Mon Dec 07, 2009 3:58 am

Bump! It happened again. I don't know how it did. I do know that I had download a scene some time ago and it had declared some variables that stuck.Here's what it said.
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: Killer planes in wrong place, hinges stretched, etc

Postby gradyfitz » Mon Dec 07, 2009 8:11 am

standardtoaster wrote:Bump! It happened again. I don't know how it did. I do know that I had download a scene some time ago and it had declared some variables that stuck.Here's what it said.

That would be the scene Kile and I made, lucky I kept the cleanup scene :D.

Code: Select all
// Phun 4.22 Clean up code for the coded ragdoll battle.
Scene.Reverse_axis1 = 0;
Scene.Reverse_axis1x = 0;
Scene.Reverse_axis2 = 0;
Scene.Reverse_axis2x = 0;
Keys.unbind("a",());
Keys.unbind("z",());
Keys.unbind("p",());
Keys.unbind("x",());
Keys.unbind("space",());
Scene.Step = 1;
Scene.Count1 = 0;
Scene.Count2 = 0;
Scene.Count3 = 0;
Scene.SpecialUV = 0;
Scene.PMoveT = 0;
Scene.PMoveT2 = 0;
Scene.PMove = 0;
Scene.SpecialMove1 = 0;
Scene.SpecialMoveA1 = 0;
Scene.SpecialMoveV1 = 0;
Scene.SpecialMoveC1 = 0;
Scene.SpecialMove2 = 0;
Scene.SpecialMoveA2 = 0;
Scene.SpecialMoveV2 = 0;
Scene.SpecialMoveC2 = 0;
Scene.SpaceToggleSimV = 0;
Scene.SpaceToggleSim = 0;
Sim.timeFactor = 1;
LPSATB = 0;
RPSATB = 0;
TETB = 0;
MATB = 0;


or look for the lines in the config file,
  • Scene.Reverse_axis1 = [false,true];
  • Scene.Reverse_axis1x = 0;
  • Scene.Reverse_axis2 = [false,true];
  • Scene.Reverse_axis2x = 0;
  • Scene.Step = 500;
  • Scene.Count1 = 0;
  • Scene.Count2 = 0;
  • Scene.Count3 = 0;
  • Scene.SpecialUV = 0;
  • Scene.PMoveT = 0;
  • Scene.PMoveT2 = 0;
  • Scene.PMove = [{Scene.Count3 = Scene.Count3 + 1;}, {Scene.Count3 = 1000}, {Scene.PMoveT2 = 20.00;Scene.PMoveT = 18.833334;}];
  • Scene.SpecialMove1 = Keys.bind("p", {Scene.SpecialMoveA1 Scene.SpecialMoveV1();});
  • Scene.SpecialMoveA1 = [{Scene.SpecialUV = 2;}, {Scene.Reverse_axis2x = 1;Scene.Count1 = 1000;Scene.SpecialMoveV1 = 0;}];
  • Scene.SpecialMoveV1 = 0;
  • Scene.SpecialMoveC1 = [{Scene.Count1 = Scene.Count1 + 1;}, {Scene.SpecialMoveV1 = 1;}, {Scene.Count1 = Scene.Count1 + 1;}, {Scene.Reverse_axis2x = 0;Scene.Count1 = 0;}];
  • Scene.SpecialMove2 = Keys.bind("z", {Scene.SpecialMoveA2 Scene.SpecialMoveV2();});
  • Scene.SpecialMoveA2 = [{Scene.SpecialUV = 2;}, {Scene.Reverse_axis1x = 1;Scene.Count2 = 1000;Scene.SpecialMoveV2 = 0;}];
  • Scene.SpecialMoveV2 = 0;
  • Scene.SpecialMoveC2 = [{Scene.Count2 = Scene.Count2 + 1;}, {Scene.SpecialMoveV2 = 1;}, {Scene.Count2 = Scene.Count2 + 1;}, {Scene.Reverse_axis1x = 0;Scene.Count2 = 0;}];
  • Scene.SpaceToggleSimV = 0;
  • Scene.SpaceToggleSim = [{Sim.timeFactor = 1},
    {Sim.timeFactor =
    {
    Scene.SpecialMoveC1 (Scene.Count1/Scene.Step)();
    Scene.SpecialMoveC2 (Scene.Count2/Scene.Step)();
    Scene.PMove (Scene.Count3/Scene.Step)();
    1;
    }}];
  • Keys.bind("space", {Scene.SpaceToggleSimV = ((Scene.SpaceToggleSimV * -1) + 1); Scene.SpaceToggleSim Scene.SpaceToggleSimV()});
  • Keys.bind("x", {Keys.unbind("z",());Keys.unbind("p",());Keys.unbind("space",());Keys.unbind("x",());});
and delete them all.

I'm not sure why this would cause it (I'm pretty sure it isn't, but it's best to remove the code anyway :), can slow Algodoo down I'm pretty sure, or, previously did), look for any variables that share a name with object local variables, mainly in the [ROOT] structure, the problems are most likely to occur there, please post config.cfg (My Documents), this is likely to show the problem.

Hopefully this helped :D .
Mechanisms: 18 Mechanisms.
Thyme: Tutorial - Variables/Commands List.
Thymechanic
gradyfitz
 
Posts: 174
Joined: Tue Sep 01, 2009 8:33 am
Location: Victoria, Australia

Re: Killer planes in wrong place, hinges stretched, etc

Postby standardtoaster » Mon Dec 07, 2009 8:27 am

I did do that. I dont think it was your scene. I deleted everything that shouldn't be in the config. I noticed that under scene -> it said the title was something along the lines of "V-22 offsprey (work in progress)" after I deleted those it still gets the same error in the console. Btw I reset algodoo to fix the plane problem.
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Re: Killer planes in wrong place, hinges stretched, etc

Postby KarateBrot » Mon Dec 07, 2009 2:50 pm

that sucks...
i never had the problem with the planes but my hinges were moved to a different position. it happened to me 10 times or more until now. i just close algodoo, delete the config file, restart it and it works again. it happens over and over again but in the beginning when i first got this bug it happened more often. until now (2 weeks) everything's fine.
Image
User avatar
KarateBrot
 
Posts: 825
Joined: Mon Aug 31, 2009 7:32 pm
Location: Germany

Re: Killer planes in wrong place, hinges stretched, etc

Postby standardtoaster » Thu Dec 17, 2009 8:57 pm

It turns out that I'm not getting the errors in the console anymore. I deleted the stuff from the config and it works properly. Although, I did save a scene when the config had that stuff in it. So whenever I load it I get the error in the console. I can fix that. I just thought I would let you know.
User avatar
standardtoaster
 
Posts: 606
Joined: Mon Aug 31, 2009 7:57 pm

Previous

Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 6 guests