Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major issues with the script / the script doesn't function well on older CS:GO builds #6

Open
sjain882 opened this issue Nov 30, 2019 · 1 comment

Comments

@sjain882
Copy link
Contributor

sjain882 commented Nov 30, 2019

Hey,

First thanks for making such an amazing script.

I often play CS:GO copies from 2014, 2015 and 2016 (download_depot then running game while Steam is running) for fun on my old PC.

The script worked a dream before v3.0 major rewrite where you change the knife instead of the viewmodel, which fixes issues. All I have to do is not select knives not added that year to prevent a game crash if I accidentally select it (as the models obviously didn't exist in the game at that year).

However in v3.0 the script barely works, nothing works at all. Trying to select a knife simply primary fires the current weapon silently.

I also tried mp_drop_knife_enable 1 to fix it. And tried pressing HOME key before and after using this command. Here is the problem:

https://streamable.com/0vjya

I know you guys don't really have the time or incentive to support older version but I would appreciate if anyone could look into it. Perhaps the script uses a function only added in later versions of the game?

Thanks

@SergeyKasmy
Copy link
Collaborator

The game doesn't allow you to pick up knives you don't own with the exception of the golden knife from gungame, that's why the best I could do before was to replace the viewmodel. The workaround I added in the 3.0 version works by changing the class of the knife to weapon_knifegg, so the game thinks it is the gungame knife and allows you to pick it up. If the workaround doesn't work in the old game versions, there's nothing really I can do. But I guess you can still use the 2.x script. There's one more workaround in my internal build that allows the script to be loaded in for the entire duration of the map, not only the current round, I guess I may even backport it to the 2.x branch if you are still going to use it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants