[CRASH] SetWeaponDataValue crashes

Started by Gulk2, Oct 13, 2019, 06:46 PM

Previous topic - Next topic

Gulk2

Description
SetWeaponDataValue crashes any player upon attaining the modified weapon or joining server and switching to the skin with weapon

Reproducible
Always

What you were doing when the bug happened
Trying to change weapon breakout anim time of the stubbyshotgun.
SetWeaponDataValue(21, 22, 30.0);
and
SetWeaponDataValue(33, 22, 30.0); // FieldAnimBreakoutPos
^this is from the Public Beta 3 scripts. and it doesnt work too

What you think caused the bug
I dont know.

Here v crashlog for when tryna set stubby data
[spoiler]Address: 00653F2A error C0000005
EAX 00000070 EBX 044D5BD8 ECX 00000070 EDX 00000015
EBP 044D5C48 ESP 0018F8B4 ESI 00000000 EDI 044D5C3C
Stack:
044D5BD8
00DBA1C0
09D6B2D8
006DD090
00669A3D
044D5BD8
00000070
00000008
09D6B2D8
044D5BD8
00000010
645A047F
006DD090
044D5BD8
09D6B2D8
0ECD2868
6459656C
09D6B740
00000015
00000004
004FF947
00000010
00783248
00000015
09D6B2D8
0460A890
645C9E1A
00000004
0018F960
0EAA4A38
000000C0
0D7A7200
645FBE60
09D6B2D8
0000008D
00000001
044A6B4F
00000001
00FF270F
01157208
0018FD04
647ACDE8
00000000
00000040
00000040
00000040
09CDCA91
0018F900
63EF0B9F
00000005
00000001
0436BBDC
0436FC0C
0018F9B4
63EF0C7D
00000005
00000001
00000002
0436BBDC
00000006
00000004
00000000
0436BBDC
0436BBDC
00000006
0436FC0C
0018F9E4
63DD2B56
0436BBDC
00000006
00000004
00000000
0436FC0C
04347424
00000006
04345B3C
0018FA08
00000000
00D60000
0D567C48
00000000
63DD17E5
0060000B
00000012
0436BBDC
0018FA80
63DAAF21
0D567950
00000001
0D567C40
0018FA34
771FE0C3
00000001
0D7A7558
0EAA49F8
0D567C40
0018FA48
759514AD
00D60000
00000000
0D567C48
0018FA5C
64785605
00D60000
00000000
0D7A7558
00000001
0D7A7558
0EAA49F8
0EA56DC8
0D7A7AC8
6454E4C3
044A6B4F
00000008
6451BCEB
FFFFFFFF
000000C0
09CDCA91
00000008
012A29B4
0018FD10
0E9E7988
7595110C
0D7A7208
FFFFFFFF
09CDCA91
646090E0
044A6F3F
00000004
0065EB50
FFFFFFFF
00000002
00000000
0000001C
0EA95530
0018FAE4
6610EC28
00000006
00000002
02E77220
0018FB20
66107577
00000006
00000002
044AD43D
00000000
0018FBD8
045F2BF8
02E77224
00000000
045F2BF8
0018FAF4
0018FD70
661AD528
00000001
0018FB8C
644CA7D5
02E77220
00000006
00000002
0018FB68
0000001C
0018FC7C
00000000
0EA95530
00000015
00000001
00000001
00000000
00008000
00000000
00000100
00000020
4167FFFF
4235FFFF
00000000
3F800000
FFFFFFFF
00000000
00000000
4167FFFF
429AFFFF
00000000
3F800000
FFFFFFFF
00000000
3F800000
43873FFF
429AFFFF
00000000
3F800000
FFFFFFFF
3F800000
3F800000
0436BBDC
000000A4
0018FBE0
63DAA87B
3F800000
02E61AB8
Net version 67400, build version 5CEB5D61.
00400000 S 00614000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\gta-vc.exe
21100000 S 0005C000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss32.dll
22100000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d.m3d
22200000 S 00015000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssa3d2.m3d
22300000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3ds.m3d
22400000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssds3dh.m3d
22500000 S 00014000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Msseax.m3d
22600000 S 00016000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssfast.m3d
22D00000 S 00062000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mssrsx.m3d
22E00000 S 00019000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\msseax3.m3d
24600000 S 00011000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Reverb3.flt
26F00000 S 0002A000 N C:\Program Files (x86)\Rockstar Games\Grand Theft Auto Vice City\mss\Mp3dec.asi
406A0000 S 00019000 N C:\Windows\system32\USERENV.dll
63600000 S 0079D000 N C:\Windows\system32\atiumdva.dll
63DA0000 S 0070B000 N C:\Windows\system32\atiumdag.dll
644B0000 S 004CF000 N C:\Users\User\AppData\Local\Vice City Multiplayer\04rel006\vcmp-game.dll
659B0000 S 00047000 N C:\Fraps\FRAPS32.DLL
65C40000 S 00254000 N C:\Users\User\AppData\Roaming\Discord\0.0.305\modules\discord_hook\0c3f233c28\DiscordHook.dll
65EA0000 S 0021A000 N C:\Windows\AppPatch\AcGenral.DLL
660C0000 S 00105000 N C:\Windows\system32\d3d8.dll
661D0000 S 000E7000 N C:\Windows\system32\ddraw.dll
662E0000 S 00072000 N C:\Windows\system32\DSOUND.DLL
66360000 S 0004E000 N C:\Users\User\AppData\Local\Vice City Multiplayer\04rel006\libpng15.dll
6A7B0000 S 0001C000 N C:\Windows\system32\atiu9pag.dll
6A7F0000 S 00003000 N C:\Windows\system32\sfc.dll
6A800000 S 0000D000 N C:\Windows\system32\sfc_os.DLL
6A810000 S 00030000 N C:\Windows\system32\dinput8.dll
6A840000 S 00006000 N C:\Windows\system32\DCIMAN32.dll
6BC30000 S 0000F000 N C:\Windows\system32\samcli.dll
6D330000 S 00008000 N C:\Windows\System32\winrnr.dll
6D340000 S 00012000 N C:\Windows\system32\pnrpnsp.dll
6D360000 S 00010000 N C:\Windows\system32\napinsp.dll
6D370000 S 00123000 N C:\Windows\system32\aticfx32.dll
6DF10000 S 00010000 N C:\Windows\system32\NLAapi.dll
6E4B0000 S 00006000 N C:\Windows\system32\d3d8thk.dll
6EBC0000 S 00014000 N C:\Windows\system32\MSACM32.dll
6EBE0000 S 00009000 N C:\Windows\system32\HID.DLL
6EC00000 S 00036000 N C:\Windows\system32\AUDIOSES.DLL
6EC40000 S 00007000 N C:\Windows\system32\avrt.dll
6EC90000 S 00039000 N C:\Windows\System32\MMDevApi.dll
6ECD0000 S 00005000 N C:\Windows\System32\wshtcpip.dll
6ECF0000 S 00038000 N C:\Windows\System32\fwpuclnt.dll
6ED30000 S 00027000 N C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
6ED60000 S 00044000 N C:\Windows\system32\DNSAPI.dll
6EE00000 S 00006000 N C:\Windows\system32\rasadhlp.dll
6EE10000 S 0000B000 N C:\Windows\system32\profapi.dll
6F810000 S 00080000 N C:\Windows\system32\UxTheme.dll
6F890000 S 00025000 N C:\Windows\system32\POWRPROF.dll
6F910000 S 00013000 N C:\Windows\system32\dwmapi.dll
6F930000 S 00006000 N C:\Windows\System32\wship6.dll
6F940000 S 0003C000 N C:\Windows\system32\mswsock.dll
6FA00000 S 00021000 N C:\Windows\system32\ntmarta.dll
6FA30000 S 00009000 N C:\Windows\system32\VERSION.dll
6FB70000 S 00003000 N C:\Windows\system32\api-ms-win-core-synch-l1-2-0.DLL
748D0000 S 000F5000 N C:\Windows\System32\PROPSYS.dll
74A30000 S 00032000 N C:\Windows\system32\winmm.dll
74A70000 S 00012000 N C:\Windows\system32\MPR.dll
74A90000 S 00007000 N C:\Windows\system32\WINNSI.DLL
74AA0000 S 0001C000 N C:\Windows\system32\IPHLPAPI.DLL
74C30000 S 0004C000 N C:\Windows\system32\apphelp.dll
74D00000 S 0000C000 N C:\Windows\syswow64\CRYPTBASE.dll
74D10000 S 00060000 N C:\Windows\syswow64\SspiCli.dll
74D70000 S 000AC000 N C:\Windows\syswow64\msvcrt.dll
74E20000 S 0000A000 N C:\Windows\syswow64\LPK.dll
74E30000 S 000F0000 N C:\Windows\syswow64\RPCRT4.dll
74F20000 S 00035000 N C:\Windows\syswow64\WS2_32.dll
74F60000 S 0015F000 N C:\Windows\syswow64\ole32.dll
750C0000 S 00027000 N C:\Windows\syswow64\CFGMGR32.dll
750F0000 S 00012000 N C:\Windows\syswow64\DEVOBJ.dll
75110000 S 00090000 N C:\Windows\syswow64\GDI32.dll
751A0000 S 0002F000 N C:\Windows\syswow64\WINTRUST.dll
751D0000 S 000F5000 N C:\Windows\syswow64\WININET.dll
752E0000 S 0009D000 N C:\Windows\syswow64\USP10.dll
75380000 S 0019D000 N C:\Windows\syswow64\SETUPAPI.dll
75520000 S 00122000 N C:\Windows\syswow64\CRYPT32.dll
75650000 S 001FB000 N C:\Windows\syswow64\iertutil.dll
758B0000 S 00083000 N C:\Windows\syswow64\CLBCatQ.DLL
75940000 S 00110000 N C:\Windows\syswow64\kernel32.dll
75A80000 S 00057000 N C:\Windows\syswow64\SHLWAPI.dll
75AE0000 S 00006000 N C:\Windows\syswow64\NSI.dll
75B80000 S 00045000 N C:\Windows\syswow64\WLDAP32.dll
75BD0000 S 00136000 N C:\Windows\syswow64\urlmon.dll
75D90000 S 00100000 N C:\Windows\syswow64\USER32.dll
75E90000 S 00047000 N C:\Windows\syswow64\KERNELBASE.dll
75EE0000 S 0000C000 N C:\Windows\syswow64\MSASN1.dll
75EF0000 S 00092000 N C:\Windows\syswow64\OLEAUT32.dll
75F90000 S 00060000 N C:\Windows\system32\IMM32.DLL
75FF0000 S 00C4C000 N C:\Windows\syswow64\SHELL32.dll
76C40000 S 00019000 N C:\Windows\SysWOW64\sechost.dll
76C60000 S 000A1000 N C:\Windows\syswow64\advapi32.dll
76D10000 S 00005000 N C:\Windows\syswow64\PSAPI.DLL
76D20000 S 000CE000 N C:\Windows\syswow64\MSCTF.dll
771D0000 S 00180000 N C:\Windows\SysWOW64\ntdll.dll

rwError: pluginID=00000001 errorCode=00000016
[/spoiler]