FPtje / DarkRP

DarkRP, a non-serious roleplay gamemode for Garry's Mod.
https://darkrp.miraheze.org
MIT License
463 stars 710 forks source link

RespawnTimer #73

Closed GetConVarNumber closed 12 years ago

GetConVarNumber commented 12 years ago

Hey FPtje! I found bug, maybe only myside. I set respawn timer to 60 sec, but if click mouse many times i can spawn after 10 sec. How to fix?

GetConVarNumber commented 12 years ago

I solved it myself Change gamemode_function.lua

Old ply.NextSpawnTime = CurTime() + math.Clamp(GAMEMODE.Config.respawntime, 0, 10)

New ply.NextSpawnTime = CurTime() + math.Clamp(GAMEMODE.Config.respawntime, 0, 60)

FPtje commented 12 years ago

Hey if you set your respawn time to a full fucking minute, tell me what your server IP is so I can put it in my blacklist.

Or maybe PoKi reads the server IP, joins your server, start prop killing everyone and laugh their asses off at people having to wait a full minute before they can spawn, because they were prop killed. And when they do spawn after a minute, they'll get killed again, creating an even more hilarious effect because usually the player never gives up.

Let me guess, admins can spawn sooner? Most of the servers that implement this bullshit make sure admins are exempt from it so they don't have to put up with their own bullshit.

GetConVarNumber commented 12 years ago

Ahaha.. You dumb as the code of your gamemode! When people remade your shity code, in that time you making propolimpic VERY GOOD STUF TO PLAY ON!

So, as you interesting i have anti propkill, and 60 seconds because i made defibrillator.

Think before write for future

Suspect commented 12 years ago

^ lol

Suspect commented 12 years ago

You come here ask for help then say "You dumb as code of your game mode" - "Shitty code"

Why ask for help in the first place if you are so "good at coding better than him apparently" .

FPtje commented 12 years ago

He's too stupid to know that anti prop kill scripts are worthless. I doubt he knows anything about Lua.

GetConVarNumber commented 12 years ago

I solved it myself. Not immediately, so i made this topic

The reason of my post was to help anybody else to solve it

I did't expect that FPtje will be so inadequate No more comments Everybody love FPtje for his fucking gamemode i once here!

Jarrrk commented 12 years ago

@GetConVarNumber "You dumb as the code of your gamemode!" Rich coming from someone asking for support of the gamemode, and I'm sure the 1000's of players in DarkRP servers would strongly disagree with you and your server respawn time.

FPtje commented 12 years ago

Leaving is a good choice, you illiterate pumpkin. Also, you're blocked.

Jarrrk commented 12 years ago

@FPtje :+1:

rimlanin commented 12 years ago

You shouldn't really insult the people that are trying to help you, ConVar. However, FPtje, he could just want to have a modded DarkRP, as he said, with a defibrilator. As for the Anti-Prop Kill, it can work, especially if you've got scriptenforcer on.

Pretty much anything can be bypassed, however, most people that do propkill often are just bored players messing around, not lua coders gone rogue, haha.

FPtje commented 12 years ago

The only anti prop kill I've seen that also prevents pushing one prop with another, is one that disabled damage alltogether.

rimlanin commented 12 years ago

Oh, yes, I remember that, it also had functions to disable workarounds for prop punting and gravity gun damage. Locks everything down and you can't bypass 0 damage. Well, you can still be somewhat annoying by dropping props, but, that won't get you very far. :D

FPtje commented 12 years ago

You can still spawn a prop under someone and throw them up in the air. Fall damage will kill them, especially when mp_falldamage is on. Or you could spawn a different entity, like a thruster, wheel, balloon, wire entity or whatever. Damage is likely not disabled for these things.

If you disable all those things you'll end up with an unplayable server. Players are pretty much godded unless shot by a weapon.

Suspect commented 12 years ago

Solution to anti prop kill = Disable props xD

FPtje commented 12 years ago

use other entities (thrusters/wheels/whatever). You'll have to disable those as well.