Closed langw0ww closed 4 months ago
Also, if i have 110HP and use medkit, it set 100HP . Maybe it would be good to cannot use medkit if u don't have under 100HP. Also this plugin have segmentation fault, I disabled plugin 1 by 1 and this plugin is problem.
I'll take a closer look at the money issue. My suspicion is that it might be caused by calling the PlayerSpawnn_TimerGive function with a 1-second delay.
The healthshot_allow_use_at_full
cvars address this situation by blocking healthshot usage. I'll look further into it and keep you updated.
Regarding the crash:
It occurs sometimes when 2 vips are bunnyhoping, at changing map and sometimes for nothig, just crash. I get only "Segmentation fault (core dumped)" Yes, fast plant/defuse is enabled, also: bunnyhop, extrajump, colored smoke; Using ubuntu 22.04 and last verios of metamod, css and plugin version.
https://i.imgur.com/nOzcMut.png this i got today in game console and segmentation fault (core dump) in server console
Later edit: i updated plugin and css and it works fine for moment LATER EDIT2: Still crashing, segmentation fault but it works for few hours
https://i.imgur.com/nOzcMut.png this i got today in game console and segmentation fault (core dump) in server console
That just says your client is trying to connect to the server.
Please check if this version solves the problem https://github.com/CS-GEJMERZY/VIP-Plugin/actions/runs/8854442449/artifacts/1452338191
Works for now. Another thing that i didnt understand. How to add vip groups if to be vip you need to have "@vip-plugin/vip". Like "vip1" has bhop, double jump and smoke colored, "vip2" has only bhop and double jump, and "vip3" has only smoke colored. Can you give me an example of script config for 3 vip groups?
I realized that I may have been calling SetStateChanged
on the wrong class. Additionally, I redesigned the player spawn event to eliminate delays by removing timers and instantly assigning perks to players upon spawning.
Please try the latest build artifact in refactor/spawn-event branch. https://github.com/CS-GEJMERZY/VIP-Plugin/actions/runs/9046356305/artifacts/1493980845
Money are not stacking correctly. After round ends at the next round start you have to buy and sell a gun to take all money.
Also I think i'm getting segmentation fault sometimes.