Time Control Crash
#1

Referencing the behaviour of time controlled objects will make you crash. Is it possible for this to be fixed?
Reply
#2

crashlog?
Reply
#3

SA-MP 0.3.8-RC1
Exception At Address: 0x005544C4
Base: 0x04270000

Registers:
EAX: 0x00000000 EBX: 0x00003E1B ECX: 0x00000016 EDX: 0x0000002A
ESI: 0x13F4E8F0 EDI: 0x16968A38 EBP: 0xFFFDFFFF ESP: 0x0177FBA4
EFLAGS: 0x00210213

Stack:
+0000: 0x00000001 0x0E5C37FC 0x13F4E8F0 0x40D0FCAB
+0010: 0x047B3E01 0x048AAD50 0xFFFDFFFF 0x00000001
+0020: 0x0055493C 0x13F4E8F0 0x0177FBE8 0x00000001
+0030: 0x00000064 0x0177FC64 0x00000002 0x0000006B
+0040: 0x00000004 0x4074411E 0x0072D10B 0xFFFFFFE5
+0050: 0x00C8E0CC 0xC2EC51EE 0xC3520FF0 0x000DBCF0
+0060: 0x0000006B 0x00000064 0x408FBD6A 0x3ED98CBF
+0070: 0x42CE786A 0x00000005 0x42D62099 0x00000021
+0080: 0x00000002 0x00000001 0x00000022 0x00000064
+0090: 0x4059085C 0x42D0392C 0x41D86B96 0x42D6CB8F
+00A0: 0x420B24BC 0x42D65C3F 0x420B8354 0x42C842E3
+00B0: 0x42053C44 0x42CFC9DB 0x41D928C6 0x0177FCC0
+00C0: 0x43960000 0x00555563 0x0177FD5C 0x00000005
+00D0: 0x00554840 0x0177FCC0 0x0177FCC0 0x0000000D
+00E0: 0x000DBCF0 0x0000001A 0x0E5E65F0 0x76EF5060
+00F0: 0x00000000 0x3AA3D70A 0x43520FF0 0xC2EC51EE
+0100: 0x43960000 0xC3520FF0 0xC2EC51EE 0x43960000
+0110: 0x00000000 0xC7B8A002 0x486A6000 0x44FAD105
+0120: 0xC4A6D1D7 0x41C1322D 0x451E955B 0xC5078BBB
+0130: 0x43956ED2 0x4539F752 0xC48E33E0 0x43956ED2
+0140: 0x45382783 0xC48CA9BA 0xC3A54448 0x451CC58C
+0150: 0xC506C6A8 0xC3A54448 0x4509D954 0xC4CDEBF3
+0160: 0x42FE5612 0x45141E10 0xC49D969B 0x42FE5612
+0170: 0x450DAF40 0xC4BA5B7E 0x4203086B 0x450FBCFF
+0180: 0xC4B0B0D2 0x4203086B 0x45137023 0xC49D02CD
+0190: 0xC2D9B697 0x45092B66 0xC4CD5825 0xC2D9B697
+01A0: 0x450F9A36 0xC4B09342 0xC16725CA 0x450D8C77
+01B0: 0xC4BA3DEE 0xC16725CA 0x42C842E3 0x42053C44
+01C0: 0x42D0392C 0x41D86B96 0x42D6CB8F 0x420B24BC
+01D0: 0x42D65C3F 0x420B8354 0x42CFC9DB 0x41D928C6
+01E0: 0x005558E2 0x00000001 0x00000000 0x41B7E000
+01F0: 0x0053E9FE 0x44700000 0x44070000 0x0053ECC2
+0200: 0x00000001 0x00619B71 0x0000001A 0x00000001
+0210: 0x00000001 0x0000000A 0x00748DA0 0x0000001A
+0220: 0x00000001 0x77C650B0 0x00000000 0x0177FF80
+0230: 0x0034A000 0x010D0000 0x4D815BE1 0x000D0EC8
+0240: 0x00000008 0x00000100 0x00000008 0x00000102
+0250: 0x44700000 0x44070000 0x00000000 0x00000000
+0260: 0x00000780 0x00000438 0x00000000 0x00000001
+0270: 0x00381148 0x00000200 0x00000000 0x03F0041A

SCM Op: 0x470, lDbg: 0 LastRendObj: 0

Game Version: US 1.0

State Information: Ped Context: 0
Reply
#4

CModelInfo::ModelInfoPtrs[15899] is null here
Reply
#5

Seems that using a time object as metadata for the custom objects crashes the game, I tried with many different objects and it happens everytime.

Maybe this hasn't been implemented but it would be nice.
Reply
#6

Yeah, I've had the same issue and can't dummy any time controlled objects. Having the client able to read these parameters from custom objects would be amazing.
Reply
#7

Quote:
Originally Posted by Kalcor
View Post
Indeed. We're all just using wall 19379 (flags = 0) for now.

In RC2, AddCharModel/AddSimpleModel are pawn functions, so you could send it to a custom function with IDE flags, then we'll have an array of models to translate flags to model ID. For now, using flags = 0 is mostly just messing up the alpha.
Will be fixed with RC2 thankfully.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)