gennariarmando / classic-axis

Manual/Auto aiming camera modes for GTA:III and VC
34 stars 6 forks source link

Crash when using a custom weapon.dat #6

Closed SirShimada closed 2 years ago

SirShimada commented 2 years ago

if you use a custom weapon.dat, game crashes when aim with sniper.

Game version: GTA VC 1.0 UNK_REGION Unhandled exception at 0x00401022 in gta-vc.exe (+0x1022): 0xC0000005: Access violation reading location 0x00003020. Register dump: EAX: 0x000000CD EBX: 0x0000300C ECX: 0x1031AD1C EDX: 0x00000015
EDI: 0x09688FC8 ESI: 0x00000000 EBP: 0x00783504 EIP: 0x00401022
ESP: 0x0018F358 EFL: 0x00210206 CS: 0x00000023 SS: 0x0000002B
GS: 0x0000002B FS: 0x00000053 ES: 0x0000002B DS: 0x0000002B

Stack dump:
    0x0018F358:  09688FC8 004058D0 000000CD 00783504 09688FC8 0052DFC2
    0x0018F370:  09594220 00000015 000000CD 0018F3C8 007DBCB0 00312490
    0x0018F388:  58DC3234 00000000 09688FC8 00312590 00539C7B BF95061A
    0x0018F3A0:  00000000 3D9FA8AF 00000001 00000000 00000000 40060A92
    0x0018F3B8:  3D9FA8AF 007DBCB0 09689490 0000001C 0018F3D4 58DC69C0
    0x0018F3D0:  09688FC8 0018F430 58DC2C0F 0018F420 93E0EC64 0018F438
    0x0018F3E8:  0018F4A0 00312560 0018F488 58DF0950 1086F308 005B18A6
    0x0018F400:  76676DA1 C39DCF00 C40B2704 414C1680 0118F4F4 447A4D7A
    0x0018F418:  0018F3F4 00312564 09688FC8 0018F48C 58DEE6CD 00000002
    0x0018F430:  0018F470 58DC66D9 58DF0BB0 00318458 BF724D00 0018F518
    base: 0x00090000   top: 0x0018F358   bottom: 0x00190000

Backtrace (may be wrong):
    =>0x00401022 in gta-vc.exe (+0x1022) (0x0018F358) 
      0x004058D0 in gta-vc.exe (+0x58d0) (0x0018F368) 
      0x0052DFC2 in gta-vc.exe (+0x12dfc2) (0x0018F384) 
      0x58DC3234 in ClassicAxisVC.asi (+0x13234) (0x00312490) 
      0x00312590 in unknown (+0x312590) (0x00312590) 
      0x00312490 in unknown (+0x312490) (0x00312594) 
      0x58DF0950 in ClassicAxisVC.asi (+0x40950) (0x00312598)
gennariarmando commented 2 years ago

What are the changes in the weapon.dat you're using? Does it work without the mod?

SirShimada commented 2 years ago

What are the changes in the weapon.dat you're using?

it just makes it more like VCS, with some modification for my VC Weapons for VCS Characters.

Does it work without the mod?

Yes

Link

SirShimada commented 2 years ago

btw the same issue with RE: LCS (but there the aim doesn't work instead of crashing, must be something with stories weapon.dat)

SirShimada commented 2 years ago

ok, nvm, was flag issue, just changed to 100 and fixed.

sorry for make you lose your time with this.