I have the same problem with workshop19. @ribsribs: Unfortunately i couldn't try out your sample. After starting the Test Run the Engine Screen remains black. F11 shows 0 pps. I'm running the Freeware Version of lite-c.
To reproduce the stall error i've set up a self running example.
------------------------------
function main()
{
fps_max = 140;
level_load("roller.wmb"); // load the level
wait (2); // wait until the level is loaded
ball = ent_create ("ball.mdl", vector(230, 810, -35), NULL); // create the ball
ph_setgravity (vector(30, 0, -386)); // set the gravity
phent_settype (ball, PH_RIGID, PH_SPHERE); // set the physics entity type
phent_setmass (ball, 0.3, PH_SPHERE); // and its mass
phent_setfriction (ball, 50); // set the friction
phent_setdamping (ball, 20, 80); // set the damping
phent_setelasticity (ball, 80, 10); // set the elasticity
while (1)
{
ball_speed.y = 300 * (key_cul - key_cur); // move the ball using the cursor keys
ball_speed.x = 300 * (key_cuu - key_cud); // 25 sets the x / y movement speeds
ball_speed.z = 0; // no need to move on the vertical axis
phent_addcentralforce (ball, ball_speed); // add a torque (an angular force) to the ball
camera.x = ball.x - 300; // keep the camera 300 quants behind the ball
camera.y = ball.y; // using the same y with the ball
camera.z = ball.z + 100; // and place it at z = 1000 quants
camera.tilt = 0; // make it look downwards
wait (1);
}
}
----------------------------------------
Run this instead of the original script19.c and wait a while.
On my computer, the Ball stopps to move after about 3 seconds.
Can enyone reproduce this error? Is this an Engine problem or a script bug?