notgoodusename / OsirisAndExtra

Other
127 stars 63 forks source link

Assertion failed after modifying WeaponId.h #460

Closed JannesBonk closed 1 year ago

JannesBonk commented 1 year ago

image


    case WeaponId::Scar20: return 33;```
^ stuff i modified
Xsintashi commented 1 year ago

i get this error too but idk is that issue of outdated daniel's inv changer or what

JannesBonk commented 1 year ago

i get this error too but idk is that issue of outdated daniel's inv changer or what

u do too? then @notgoodusename may fix

Navoichyk commented 1 year ago

image case WeaponId::G3SG1: case WeaponId::Scar20: return 33; ^ stuff i modified

are you changing the weapon id or the class id? the class id’s cannot go below the highest weapon id.

notgoodusename commented 1 year ago

https://github.com/perilouswithadollarsign/cstrike15_src/blob/master/game/shared/cstrike15/weapon_csbase.cpp#L1301-L1316 Error comes from there so getWeaponData is causing it to crash, no idea why tho

JannesBonk commented 1 year ago

https://github.com/perilouswithadollarsign/cstrike15_src/blob/master/game/shared/cstrike15/weapon_csbase.cpp#L1301-L1316 Error comes from there so getWeaponData is causing it to crash, no idea why tho

like bruh in debug it works fine

dapaster commented 1 year ago

115

JannesBonk commented 1 year ago

115

thx

JannesBonk commented 1 year ago

115

nvm still happens

dapaster commented 1 year ago

115

nvm still happens

what current feature did you add to your cheat? try to revert maybe? 🤔

dapaster commented 1 year ago

115

nvm still happens

did you add this to your cheat #438? i think i got this error after adding that

JannesBonk commented 1 year ago

115

nvm still happens

did you add this to your cheat #438? i think i got this error after adding that

nope, i just modified the weaponId values to make the scar-20 and g3sg1 have same cfg

JannesBonk commented 1 year ago

https://github.com/perilouswithadollarsign/cstrike15_src/blob/master/game/shared/cstrike15/weapon_csbase.cpp#L1301-L1316 Error comes from there so getWeaponData is causing it to crash, no idea why tho

can it be skinchanger related ?

Navoichyk commented 1 year ago

115

nvm still happens

did you add this to your cheat #438? i think i got this error after adding that

nope, i just modified the weaponId values to make the scar-20 and g3sg1 have same cfg

just put them in a separate weapon class and make the gui config the class instead of the weapons specifically

JannesBonk commented 1 year ago

115

nvm still happens

did you add this to your cheat #438? i think i got this error after adding that

nope, i just modified the weaponId values to make the scar-20 and g3sg1 have same cfg

just put them in a separate weapon class and make the gui config the class instead of the weapons specifically

alr did, still crashing

Navoichyk commented 1 year ago

115

nvm still happens

did you add this to your cheat #438? i think i got this error after adding that

nope, i just modified the weaponId values to make the scar-20 and g3sg1 have same cfg

just put them in a separate weapon class and make the gui config the class instead of the weapons specifically

alr did, still crashing

okay, then revert to where it doesn’t crash and try again.