Raised This Month: $1944 Target: $400
 486% 

[CS:GO] Clients time out after manually changing knives if I use weapons.smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ericsp
Junior Member
Join Date: Apr 2018
Old 08-01-2020 , 10:08   [CS:GO] Clients time out after manually changing knives if I use weapons.smx
Reply With Quote #1

So, I use this plugin for my server.

I am offering custom knives (from gamebanana) for VIPs, so that's why I made another plugin that gives these custom knives using Francisco's FPVM interface.

Now, the problem is I can't have both plugins on the server because if for example a player used to play with the butterfly knife, then picks a custom knife from the other knife menu, the server will give lots and lots of errors due to some materials not being found, decreasing the FPS for all players substantially.

What I did was commenting out all the knife-related stuff in kgns's plugin and putting normal knives on the other knife menu.

Everything's fine and dandy, except for only one thing.

If the player selects a knife that is not custom (e.g bayonet, butterfly), then reconnects to the server, he will time out. If for example he chooses a custom knife (e.g volcano axe) and reconnects everything works fine. I am using cookies to store what players choose. I am using a timer to assign the custom skins if and only if they are different to the custom knives.

This is my source code.

I am kind of new to SourcePawn, but I'm doing my best to learn it.
ericsp is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:59.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode