Crash because of created objects.
#1

Mmmm, still seems that I have this problem.
I've created this ramp and funnel thing in the Map Editor from some post on this website, and there's nothing wrong with it. Lemme give the code first:

Code:
// Start funnel
CreateObject2(8357, 626.79, 903.38, 1.37,  0.00, -33.00, 0.00);
CreateObject2(8357, 639.17, 869.61, 1.37,  0.00, -33.00, 34.00);
CreateObject2(8357, 637.61, 903.57, 1.37,  0.00, -33.00, 90.00);
CreateObject2(8357, 613.22, 918.71, 1.37,  0.00, -33.00, 130.00);
CreateObject2(8357, 571.72, 871.76, 1.37,  0.00, -33.00, 150.00);
CreateObject2(8357, 578.83, 845.93, 1.37,  0.00, -33.00, 180.00);
CreateObject2(8357, 609.01, 825.77, 1.37,  0.00, -33.00, -20.00);
CreateObject2(8357, 635.98, 866.53, 1.37,  0.00, -33.00, -60.00);
CreateObject2(8357, 615.35, 840.34, 1.37,  0.00, -33.00, -120.00);
CreateObject2(8357, 643.39, 857.58, 15.68,  0.00, -48.00, 0.00);
CreateObject2(8357, 616.86, 934.69, 15.68,  0.00, -48.00, 34.00);
CreateObject2(8357, 646.15, 919.34, 15.68,  0.00, -48.00, 90.00);
CreateObject2(8357, 602.26, 931.18, 15.68,  0.00, -48.00, 130.00);
CreateObject2(8357, 621.68, 815.78, 15.68,  0.00, -48.00, -20.00);
CreateObject2(8357, 586.09, 819.97, 15.68,  0.00, -48.00, -60.00);
CreateObject2(8357, 610.71, 819.04, 15.68,  0.00, -48.00, -120.00);
CreateObject2(8357, 582.67, 923.15, 15.68,  0.00, -48.00, 150.00);
CreateObject2(8357, 560.98, 906.45, 15.68,  0.00, -48.00, 180.00);
CreateObject2(8357, 658.45, 857.19, -1.64,  0.00, -68.00, 0.00);
CreateObject2(8357, 663.21, 892.51, 38.03,  0.00, -68.00, 34.00);
CreateObject2(8357, 632.44, 934.50, 38.03,  0.00, -68.00, 90.00);
CreateObject2(8357, 601.51, 950.03, 38.03,  0.00, -68.00, 130.00);
CreateObject2(8357, 584.56, 957.40, 38.03,  0.00, -68.00, 150.00);
CreateObject2(8357, 546.08, 906.51, 38.03,  0.00, -68.00, 180.00);
CreateObject2(8357, 638.28, 832.63, 38.03,  0.00, -68.00, -60.00);
CreateObject2(8357, 599.24, 806.87, 38.03,  0.00, -68.00, -120.00);

// End funnel

CreateObject2(8357, 415.32, 897.40, 30.87,  -21.00, 0.00, 80.00); // Ramp 1

CreateObject2(1559, 601.00, 882.00, -43.00,  0.00, 0.00, 0.00); // Mark for middle of the funnel (lol)

// Begin ramp
CreateObject2(8357, 382.93, 648.66, 91.61,  -11.00, 0.00, -46.00);
CreateObject2(8357, 343.55, 610.61, 131.46,  -33.00, 0.00, -46.00);
CreateObject2(8357, 327.06, 595.77, 184.32,  -71.00, 0.00, -46.00);
CreateObject2(8357, 286.09, 556.20, 349.22,  -71.00, 0.00, -46.00);
CreateObject2(8357, 416.74, 701.56, 95.65,  -11.00, 90.00, -46.00);
CreateObject2(8357, 343.74, 631.16, 140.16,  -33.00, 90.00, -46.00);
CreateObject2(8357, 460.74, 745.13, 90.89,  11.00, 90.00, -46.00);
CreateObject2(8357, 432.25, 675.86, 99.85,  -11.00, -90.00, -46.00);
CreateObject2(8357, 360.86, 607.25, 140.16,  -33.00, -90.00, -46.00);
CreateObject2(8357, 348.88, 596.20, 184.32,  -71.00, -90.00, -46.00);
CreateObject2(8357, 306.20, 555.10, 354.07,  -71.00, -90.00, -46.00);
CreateObject2(8357, 286.50, 575.61, 354.30,  -71.00, 90.00, -46.00);
CreateObject2(8357, 328.40, 616.15, 184.32,  -71.00, 90.00, -46.00);
CreateObject2(8357, 644.64, 833.05, 40.73,  0.00, -68.00, -20.00);
CreateObject2(8355, 212.43, 485.08, 462.87,  -11.00, 0.00, -46.00);
CreateObject2(8357, 466.21, 729.84, 74.54,  11.00, 0.00, -46.00);
CreateObject2(8355, 558.45, 818.72, 125.66,  0.00, 180.00, -46.00);
CreateObject2(8357, 479.58, 722.00, 90.89,  11.00, -90.00, -46.00);
// End of ramp
Note: CreateObject2 uses CreateDynamicObject and stores the ID in an array for later deletion (when the FS exits).
Note2: These objects are rendered at the Hunter Quarry.

So, if you go in the Hunter Quarry from the top entrance, you'll see the ramp. If you go up there, all the funnel pieces will be spawned. No big deal, no crash. If you take a hunter and you go on the second ramp (the one at the right, when you face the funnel from ramp 1), step out of your hunter, create some other vehicle and go off the ramp, you'll see that the client crashes almost at the end of the ramp.

Here's a picture of the funnel and ramps:



Does anyone knows why this happens?
Reply


Messages In This Thread
Crash because of created objects. - by diamondo25 - 06.04.2010, 06:53
Re: Crash because of created objects. - by XRVX - 06.04.2010, 06:54
Re: Crash because of created objects. - by diamondo25 - 06.04.2010, 06:56
Re: Crash because of created objects. - by XRVX - 06.04.2010, 06:57
Re: Crash because of created objects. - by diamondo25 - 06.04.2010, 06:59
Re: Crash because of created objects. - by XRVX - 06.04.2010, 07:01
Re: Crash because of created objects. - by diamondo25 - 06.04.2010, 13:02
Re: Crash because of created objects. - by Calgon - 06.04.2010, 13:06
Re: Crash because of created objects. - by diamondo25 - 06.04.2010, 13:37
Re: Crash because of created objects. - by XRVX - 06.04.2010, 13:38
Re: Crash because of created objects. - by diamondo25 - 06.04.2010, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)