How do I limit weapon drops? (Causing server crashes)
10 replies, posted
Hello!
When there are lots of players on my server, I can't specifically find out who is dropping the knives because the map is quite big and there are too many people to spectate.
I'm simply asking, do you have any recommendations for me to stop players from crashing the server by re-equiping pointshop 1 knives and dropping them? I'm mainly looking for an automatic system which will do it for me.
I could simply disable weapon dropping, however, the players tend to drop each other knives to get a feel for it before buying one.
cant you just look into the console or even log to see who spawns the knifes, and drops them? The console usually gives infos on that
don't sell csgo knives on the pointshop like every other server under the sun, try doing something unique :v
anyway i highly doubt that a couple of physics objects colliding is causing the server to come to a full crash. if that is the case, it really shouldn't be hard to notice someone spamming hundreds of knives at their feet.
Knifes can have shitty physics, can't they.
What gamemode is it?
Deathrun
If deathrun doesn't have its own hook, then this GM/PlayerDroppedWeapon will help you
I'm almost certain it has it. I'll see now.
Run a serverside hook every 30 seconds to count the number of entities. if it passes a certain amount, clean it up.
did you even read what his problem is? hes not looking for a way to limit entities, hes looking for a way to figure out who spams spawning them and crashes the server
Honestly I think the best solution would be for you to disable dropping for those weapons, and if they want to "test them out" have staff, or yourself spawn them manually; since that's a very short process to determine if you actually want the knife or not. Any other way and I feel it'd be a cumbersome workaround.
Or just limit the player to re-equiping pointshop items only once a round, and after the round is done just reset whatever value you used for that.
Sorry, you need to Log In to post a reply to this thread.