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
#2

Maybe because there are to many objects at one place
then it crashes
ahd the same with 2 loopings near each other
Reply
#3

Quote:
Originally Posted by XRVX
Maybe because there are to many objects at one place
then it crashes
ahd the same with 2 loopings near each other
loopings like normal loopings or self-made (with objects) loopings?
Reply
#4

Quote:
Originally Posted by diamondo25
Quote:
Originally Posted by XRVX
Maybe because there are to many objects at one place
then it crashes
ahd the same with 2 loopings near each other
loopings like normal loopings or self-made (with objects) loopings?
normal loopings and some roads selfmade around it
Reply
#5

._.

Crash report:
Quote:

Exception At Address: 0x00544BC8

Registers:
EAX: 0x00000000 EBX: 0x00B99A74 ECX: 0x04C8E9E0 EDX: 0x00000800
ESI: 0x00000000 EDI: 0x0DC885B4 EBP: 0x00B99A7C ESP: 0x0028FBF8
EFLAGS: 0x00010246

Stack:
+0000: 0x0028FC54 0x0DC885B4 0x00563220 0x0DC885B4
+0010: 0x00000045 0x00000048 0x0000004A 0x000000A0
+0020: 0x00000045 0x0000004D 0x00000000 0x43F33A52
+0030: 0x445EAE0C 0x441D9C9F 0x443AAE96 0x0028FD58
+0040: 0x0083C9CB 0x00000000 0x00563257 0x18CF0C48
+0050: 0x03F53B2E 0x0DC885B4 0x00000000 0x18CF0C48
+0060: 0x03F4BE46 0x0DC885B4 0x000000E7 0x13CFBFEC
+0070: 0x18CC3CC8 0x00000000 0x00000000 0x00000000
+0080: 0x00000000 0x00000000 0x00000000 0xBF31D522
+0090: 0x3F3826A7 0x33BBBD2E 0xBF3F1BF4 0x3F3826A7
+00A0: 0x3F31D522 0x00000000 0x3F2A4035 0xB3826A1A
+00B0: 0x33870C52 0xBF800000 0xBCA929A4 0x440B9CCD
+00C0: 0x444CAE14 0x42FB51EC 0x4438EEE0 0x03F4F89B
+00D0: 0x000000E7 0x18CC3CC8 0x3D7DF3B7 0x13CFBFEC
+00E0: 0xBF7FF2DD 0x38CC7134 0xBF7FF4A0 0xBC98AEF5
+00F0: 0x38CC7134 0xBCA4099F 0xBC98AB36 0x3F7FE77B
+0100: 0x03F53BD6 0x435B58A6 0x4433B200 0x40B16425
+0110: 0x18C9E7D0 0x03F5512D 0x0000004B 0x18CEF800
+0120: 0x03F32F2A 0x03F2AE01 0x3D7DF3B7 0xFFFFFFFF
+0130: 0x04A492F8 0x0028FD68 0x00000000 0x3D7DF3B7

SCM Op: 0x53F, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0

Quote:

Exception At Address: 0x00536DF4

Registers:
EAX: 0x04491972 EBX: 0x0028F34C ECX: 0x04D25260 EDX: 0xFF76C712
ESI: 0x04CFE9E0 EDI: 0x00893EA4 EBP: 0x0028F358 ESP: 0x0028E9F4
EFLAGS: 0x00010286

Stack:
+0000: 0xFFFFFFFF 0x0083C9C9 0x00000000 0x00827DC7
+0010: 0x00893EA4 0xFFFFFFFF 0x0028EA1C 0x00893E9C
+0020: 0x0028F34C 0x0028F358 0x0028EA5C 0x00827007
+0030: 0x0083C9C0 0x0028F34C 0x00000103 0x19930520
+0040: 0x00893EA4 0x00000000 0xFFFFFFFF 0x00000000
+0050: 0x0028EA30 0x0028E5C8 0x0028EACC 0x00825EA4
+0060: 0x008882E0 0x00000001 0x0028EA7C 0x00827A30
+0070: 0x0028F34C 0x0028EBC4 0x00893EA4 0xFFFFFFFF
+0080: 0x00000000 0x00000000 0x0028EAB4 0x008215C6
+0090: 0x0028EB24 0x0028F34C 0x0028EBD0 0x0028EBC4
+00A0: 0x00893EA4 0x00000000 0x00000000 0x00000000
+00B0: 0x00000000 0x00000000 0x00000000 0x00893EA4
+00C0: 0x0028EAD8 0x77D887B9 0x0028EB24 0x0028F34C
+00D0: 0x0028EBD0 0x0028EBC4 0x0028F34C 0x77D887F4
+00E0: 0x0028F34C 0x0028EEA0 0x77D8878B 0x0028EB24
+00F0: 0x0028F34C 0x0028EBD0 0x0028EBC4 0x0083C9CB
+0100: 0x00000001 0x0028EB24 0x0028F34C 0x77D88B32
+0110: 0x0028EB24 0x0028F34C 0x0028EBD0 0x0028EBC4
+0120: 0x0083C9CB 0x0028FF78 0x00888078 0x00000000
+0130: 0xC0000027 0x00000002 0x00000000 0x008218AC

SCM Op: 0x453, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0

Reply
#6

so, my solution is
try to creats it with some less objects and then try again
Reply
#7

Anyone knows a better way to get this working?
Reply
#8

46 objects in there, hmm.

Have you tested this with multiple clients (other than yours)?
Reply
#9

If you try it for me ...
Reply
#10

Do you use a object streamer?
Reply
#11

Quote:
Originally Posted by XRVX
Do you use a object streamer?
Yep, YSI's Object Streamer (Y_Objects)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)