Oh MY GOD!!! >:(

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

Oh MY GOD!!! >:(

Postby niffirg1 » Thu Jan 21, 2010 6:29 am

okay s i just was finishing my newest scene and BAM an Old Phun Bug started happening to me again. This is where any saved scene or just any scene of algobox is screwed up. All the colors are random, tall scripting is erased and all collision groups are back to "A". This happened too me at least 3 times using Phun 5.28 but i though they fixed it for algodoo.
Edit: I Fixed it by deleting my config. But still Why does this Happen
User avatar
niffirg1
 
Posts: 376
Joined: Mon Aug 31, 2009 10:31 pm
Location: The Great American South!

Re: Oh MY GOD!!! >:(

Postby Paradigm 29 » Thu Jan 21, 2010 6:34 am

Would've been helpful if you had posted the old Config. Then you could see the difference and the problem.
Image
User avatar
Paradigm 29
 
Posts: 284
Joined: Tue Sep 01, 2009 12:06 am
Location: Houston, Tx

Re: Oh MY GOD!!! >:(

Postby niffirg1 » Thu Jan 21, 2010 6:36 am

Didn't think of that.
Edit: Here it is it was in the recycling bin
Code: Select all
// Generated by Algodoo v1.6.0

inclusive_range = (min, max)=>{min > max ? [] : {[min] ++ inclusive_range(min + 1, max)}};
SPH -> {
    kernelMultiplier = 0.635;
    incompressible = true;
    influence = 2.7;
    viscMultiplier = 1.0;
    solveT = 0.01;
    unilateral = true;
    lowMassCollisionRadiusFactor = 0.4;
    friction = 0.01;
    jitter = 0.0;
    sort = false;
    restitution = 0.0;
    maxNeighbors = 64;
    geomFieldOffset = 0.5;
    spikyKernel = true;
    geomFriction = 0.001;
    surfaceTension = 0.0;
    radius = 0.05;
    density = 1.0;
    solveIters = 1;
    minMassFactor = 3.0;
    nonPenetration = true;
    vaporizeTime = +inf;
    pressMultiplier = 1.0;
    specialPressure = true;
    solveConst = 1e+006;
    bucketSize = 2.0;
    geomMassMultiplier = 2.0;
    kernelNormalize = false;
    viscosity = 0.0;
    soundSpeed = 20.0;
    velocitySmoothing = false;
    geometryFields = true
};
math -> {
    max = (a, b)=>{a > b ? a : b};
    min = (a, b)=>{a < b ? a : b}
};
Sim -> {
    airFrictionQuadratic = 0.0;
    blockedContactSolver4N = false;
    skipDistance = 0.15;
    solvePreSortConstraints = true;
    blockedContactSolver3N = true;
    solver = "gs";
    blockedContactSolver2N = true;
    solveRegularizationFactor = 1.0;
    adHocSolver = false;
    cableMaxMassRation = 2.0;
    gravityStrength = 9.8;
    airSwitch = true;
    cableAdaptiveSlack = false;
    gravitySwitch = true;
    frequency = 100.0;
    blockedContactSolver2NF = false;
    cableMiliatryConstraint = false;
    solveConstant = 1e+008;
    useSkipLists = true;
    timeFactor = 1.0;
    mutipleContactEventPerPair = false;
    maxSpringStrength = 10.0;
    cables = true;
    cableDistanceConstraint = true;
    gravityAngleOffset = 0.0;
    solveConstCables = 1e+008;
    solverSOR = [1.0, 1.0, 1.0];
    solveIter = 30;
    solveTcontacts = 0.05;
    solveStiffIter = 0;
    solveDistFactor = 1.0;
    solveRandomizeConstraints = true;
    bruteColliderCutoff = 0;
    solveTCables = 0.05;
    sortBroadPhasePairs = false;
    blockedContactSolver = false;
    cableLineSmartChoice = true;
    solveTconstraints = 0.05;
    solveVelFactor = 1.0;
    defaultBodyDensity = 2.0;
    cableJacobianScale = 1.0;
    airFrictionLinear = 0.01;
    maxPositionCorrection = +inf;
    warmStart = true;
    cableMaxSlack = 0.1;
    running = false;
    optimizeContactSet = true;
    airFrictionMultiplier = 1.0;
    targetPenetration = 0.0001;
    solveReverseConstraints = false;
    polygonMeshSize = [128, 128];
    cableMaxImpFactor = +inf;
    defaultBodyFriction = 0.5;
    fastPolyAABB = true;
    nyquistFactor = 4.0;
    cableLineConstraint = true;
    springForce = 1000.0;
    warmStartFactor = 0.5;
    airDensity = 0.01;
    largeOverlapTest = true;
    solvePenetrationDamping = false;
    rotFrictionLinear = 0.00314;
    defaultBodyRestitution = 0.5;
    solveAccFactor = 1.0;
    cableSafetyDistance = 0;
    cableLineInternalize = false;
    forceContactCalculations = false
};
sin = {math.sin};
WebCam -> {
    flipVert = false;
    flipHoriz = false
};
Defaults -> {
    glueToWorld = false;
    borders = true
};
spawnPyramid = (n)=>{for(n, (i)=>{spawnBoxRow([(n - i) * 0.5, n - i], i)})};
exit = {System.exit};
App -> {
    fadeColor = [0.0, 0.0, 0.0];
    updateInterval = 1;
    alwaysCalcContacts = false;
    laserResolution = 10.0;
    waterMaxElongation = 2.0;
    maxBorderArea = 0.2;
    borderWidth = 0.1;
    waterColor = [0.1, 0.1, 1.0, 0.7];
    waterRefractiveIndex = 1.33;
    sceneFadeInTime = 1.0;
    polytoolPreviewColor = [1.0, 0.5, 1.0, 0.4];
    gpuWater = true;
    drawBCs = false;
    drawVertices = false;
    maxPointDist = 0.5;
    drawScaleIndicator = true;
    maxUndo = 40;
    metaWater = true;
    minPointDist = 0.15;
    maxSPHSpawn = 2000;
    laserWidth = 0.2;
    maxBorderAreaSpecial = 0.4;
    drawOBBs = false;
    Grid -> {
        grid = false;
        base = 4;
        numAxes = 2;
        scale = 1.0;
        snap = true
    };
    language = "English";
    fadeTranslate = [0.0, 0.0];
    waterTracerLightness = 0.75;
    GUI -> {
        geomGenTolerance = 1.2;
        toolGestureSensitivity = 1.0;
        drawDragLine = true;
        dragUndo = true;
        useHSL = false;
        alikeTolerance = 0;
        geomGenShrink = 0.0033;
        toolGestures = true;
        Forces -> {
            normalText = "N";
            totalText = "";
            airFrictionText = "-fv";
            attraction = true;
            gravityText = "mg";
            airBuoyancyText = "-adg";
            airFriction = true;
            airBuoyancy = true;
            total = true;
            attractionText = "A";
            externalText = "ext";
            friction = true;
            drawValues = false;
            drawNames = true;
            external = true;
            normal = true;
            velScale = 1.0;
            frictionText = "T";
            springText = "-kx-bv";
            forceScale = 1.0;
            drawForces = false;
            gravity = true;
            contactCombinationDistance = 1.2;
            spring = true;
            velocities = false;
            frictionProjection = true;
            hingeText = "H";
            hinge = true
        };
        trapUser = false;
        geomGenMinArea = 0.0009;
        drawHingesWhenRunning = true;
        toolSpecificCursors = true;
        zoomFactor = 0.2;
        allowDrawSelect = true;
        level = 3;
        Scene.addWidget {
            widgetID = "Toolbar";
            minimized = false;
            pos = [0.0, 31.0];
            size = [600.0, 32.0];
            title = ""
        };
        Scene.addWidget {
            widgetID = "EntityOptions";
            minimized = false;
            pos = [0.0, 117.0];
            size = [178.25, 96.0];
            title = "Settings"
        };
        Scene.addWidget {
            widgetID = "SimControl";
            minimized = false;
            pos = [0.0, 70.0];
            size = [521.0, 40.0];
            title = ""
        }
    };
    laserEvents = true;
    screenshotsWithAlpha = false;
    laserBroadPhase = true;
    Background -> {
        skyColor = [0.45, 0.55, 1.0, 1.0];
        cuteClouds = true;
        drawClouds = true;
        cloudOpacity = 0.95
    };
    scaleGravityField = false;
    drawBodyCenters = false;
    drawCables = false;
    forceVertexPolygonDrawing = false;
    maxPolygonBorderFactor = 0.75;
    pointSize = 3.0;
    chainDensityFactor = 1.0;
    laserSuperBoost = 1.0;
    dragToolStrength = 0.25;
    HQPolygons = false;
    drawParticleNeighbors = false;
    waterElongation = 0.05;
    fadeRotate = 0.0;
    drawSelectionOBB = false;
    drawVelocityFactor = 0.02;
    lineWidth = 3.0;
    drawParticleCenters = false;
    fadeScale = [0.95, 0.95];
    enableScriptMenu = true;
    checkForUpdates = true;
    DPI = 86.0;
    waterTracers = 0;
    autosaveTime = 300.0;
    waterFanceyFactor = 10.0;
    metaCutoff = 0.5;
    numColorsInRainbow = 12;
    drawCollisions = false;
    drawMapOBBs = false;
    waterTracerSize = 0.015;
    showGravityField = false;
    maxCogs = 128;
    autosaveEnable = true;
    laserWaterBVH = false;
    marchingSquaresResolution = 1.0
};
Console -> {
    fade = false;
    screenSize = 0.35;
    delay = 0.3;
    scroll = true;
    color = [0.1, 0.1, 0.1, 0.8]
};
Tablet -> {
    rightClickOverride = false;
    improveClickTolerance = true;
    overrideMouseEvents = true
};
Resources -> {
    textures = true;
    force16BitTextures = false;
    shaders = false
};
cos = {math.cos};
makeRing = (r, n)=>{
    list = [];
    for(n, (i)=>{
        a = (2 * math.pi * i) / n;
        list = list ++ [r * [cos(a), sin(a)]]
    });
    list
};
groovyOn = {
    App.fadeColor = [0.8, 0, 0.9];
    App.fadeTranslate = {[3 * sin(time), 2 * sin(time)]};
    App.fadeRotate = {sin(System.time * 1.2)};
    App.Background.skyColor = [0, 0, 0, 0]
};
Scene -> {
    author = "Griffn Jones";
    title = "New scene";
    description = "";
    Camera -> {
        trackRotation = false;
        zoom = 149.99998;
        smoothRotation = true;
        smoothPan = true;
        smoothFactor = 0.9;
        rotation = 0.0;
        pan = [0.0, 0.0];
        smoothZoom = true
    };
    gravityRotationOffset = NaN
};
time = {Sim.time};
GUI -> {
    rightToLeft = false;
    fontShadow = true;
    fgColor = [1.0, 1.0, 1.0, 1.0];
    font = "arial_black";
    crispFonts = false;
    clickTimeTolerance = 0.3;
    opacity = 0.8;
    cursorFPSLimit = 25.0;
    scale = 1.0;
    bgColor = [0.2, 0.2, 0.2, 1.0];
    penInput = false;
    forceOSCursor = true;
    fontShadowOffset = [0.125, 0.125];
    cursor = true;
    crispFontFactor = 0.5;
    tooltips = true;
    clickTolerance = 5.0
};
Threading -> {numThreads = 1};
Input -> {
    touchScreenDetection = true;
    touchScreenDetectionGoodCutoff = 30;
    touchScreenDetectionRelCutoff = 50
};
quit = {System.exit};
groovyOff = {
    App.fadeColor = [0, 0, 0];
    App.Background.skyColor = [0.45, 0.55, 1, 1]
};
Keys -> {
    Keys.bind("f12", {System.screenshot});
    Keys.bind("pause", {
        Sim.running = false;
        App.Step
    })
};
System -> {
    frame = true;
    minFPS = 10.0;
    resizable = true;
    maximized = true;
    maxFPS = 60.0;
    antiAlias = 1;
    regularScreenshots = 0;
    fakeFullscreen = true;
    depth = 32;
    vSync = false;
    fullscreen = false;
    resolution = [1280, 750]
};
for = (n, what)=>{
    n <= 0 ? false : {
        for(n - 1, what);
        what(n - 1)
    }
};
FileInfo -> {
    author = "Griffn Jones";
    title = "New scene";
    version = 6;
    description = ""
};
spawnBoxRow = (offset, n)=>{for(n, (x)=>{Scene.addBox({pos = offset + [x, 0]})})};
spawnRing = {Scene.addPolygon({surfaces = [makeRing(1, 48), makeRing(0.5, 48)]})};
print = {Console.print}
User avatar
niffirg1
 
Posts: 376
Joined: Mon Aug 31, 2009 10:31 pm
Location: The Great American South!

Re: Oh MY GOD!!! >:(

Postby Paradigm 29 » Thu Jan 21, 2010 7:03 am

Nothing different from a that Config and a default config except that you had some different settings for force visualization.
Image
User avatar
Paradigm 29
 
Posts: 284
Joined: Tue Sep 01, 2009 12:06 am
Location: Houston, Tx

Re: Oh MY GOD!!! >:(

Postby imaweasal » Tue Feb 09, 2010 6:26 pm

yeah, thats happened to me before when using phun, it never happens to my copy of algodoo though, its odd, but deleting the cfg seems to clear it up
Ive been with phun sience the begining, i got algodoo 1-2 months ago, im dabbling in code and sequenced things
imaweasal
 
Posts: 12
Joined: Tue Nov 24, 2009 10:09 pm

Re: Oh MY GOD!!! >:(

Postby emilk » Wed Mar 03, 2010 12:41 pm

This (and many similar problems) will be fixed in the next release
Emil Ernerfeldt, lead developer
emilk
 
Posts: 616
Joined: Mon Aug 31, 2009 11:01 am
Location: Umeå, Sweden


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 7 guests