TOPIC: Rejoining the game to save your special items
Rejoining the game to save your special items
6 years 3 months ago #959205
Server Name: All SSRP Servers
Suggestion Title: Make players lose their stuff if they disconnect by user in order to save their items during raiding, defending etc etc.
How would it benefit the server: Special items will be on stake instead of people easily disconnect and still have their items in there inventory.
Potential Issues/Exploits: None
Additional notes: It is stupid that these players have no risks of losing their items because they can re-log and still remain having their items. Long story short: Let the players lose their items if they disconnect the server by user.
Rejoining the game to save your special items
6 years 3 months ago #959214
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Rejoining the game to save your special items
6 years 3 months ago #959218
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Please explain, i have the smallest idea as to what that might do my guy.
Rejoining the game to save your special items
6 years 3 months ago #959219
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Please explain, i have the smallest idea as to what that might do my guy.
if they were damaged in the last X amount of time then do not give them their stuff back
Rejoining the game to save your special items
6 years 3 months ago #959220
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Please explain, i have the smallest idea as to what that might do my guy.
if they were damaged in the last X amount of time then do not give them their stuff back
Thing is, they don't always take damage. They might sneak up behind someone and gluon em, take no damage and retry. What i think would be more effective would be if they damaged someone but i'm not sure if you can do that.
Rejoining the game to save your special items
6 years 3 months ago #959224
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Please explain, i have the smallest idea as to what that might do my guy.
if they were damaged in the last X amount of time then do not give them their stuff back
Thing is, they don't always take damage. They might sneak up behind someone and gluon em, take no damage and retry. What i think would be more effective would be if they damaged someone but i'm not sure if you can do that.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
local attacker = dmginfo:GetAttacker()
if IsValid(attacker) and attacker:IsPlayer() then
attacker.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Rejoining the game to save your special items
6 years 3 months ago #959232
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
(OOC) Clarky: rdm me once more and youll be seeing yourself perma banned
If life is nothing but a bitch, I hope my dick is big enough
To fuck the whole world
Login or register to post a reply.
Rejoining the game to save your special items
6 years 3 months ago #959242
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
Rejoining the game to save your special items
6 years 3 months ago #959244
AceInsidious wrote:
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
That displays as disconnected by timed out right?
No clue what does it show, whole game freezes so gotta use task manager to kill it.
(OOC) Clarky: rdm me once more and youll be seeing yourself perma banned
If life is nothing but a bitch, I hope my dick is big enough
To fuck the whole world
Login or register to post a reply.
Rejoining the game to save your special items
6 years 3 months ago #959250
James Stone wrote:
AceInsidious wrote:
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
That displays as disconnected by timed out right?
No clue what does it show, whole game freezes so gotta use task manager to kill it.
If you crash then the system should see that there is a problem and you didn't leave on purpose....i hope
Rejoining the game to save your special items
6 years 3 months ago #959251
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
DEADMONSTOR wrote:
Bunnyslippers69 wrote:
Whitelisting shit such as pickaxes seems like it would be a good idea, because i imagine that's why it was added.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Please explain, i have the smallest idea as to what that might do my guy.
if they were damaged in the last X amount of time then do not give them their stuff back
Thing is, they don't always take damage. They might sneak up behind someone and gluon em, take no damage and retry. What i think would be more effective would be if they damaged someone but i'm not sure if you can do that.
local function EntityTakeDamage( target, dmginfo )
if ( target:IsPlayer() ) then
target.LastAttacked = CurTime()
end
local attacker = dmginfo:GetAttacker()
if IsValid(attacker) and attacker:IsPlayer() then
attacker.LastAttacked = CurTime()
end
end
hook.Add("EntityTakeDamage", "EntityTakeDamage", EntityTakeDamage)
if (target.LastAttacked or 0) > CurTime() - (TIME) then return end // For the give thing back script
Rejoining the game to save your special items
6 years 3 months ago #959318
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
Jugg doesn't get removed from inventory if you equip it, it does if you die in it so dw about timing out
Rejoining the game to save your special items
6 years 3 months ago #959323
Clarky wrote:
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
Jugg doesn't get removed from inventory if you equip it, it does if you die in it so dw about timing out
I usually wear 2.0 or something else with the jugg.
Rejoining the game to save your special items
6 years 3 months ago #959371
AceInsidious wrote:
James Stone wrote:
AceInsidious wrote:
James Stone wrote:
Tbh, i do crash constantly while wearing jugg etc. Would be lowkey unlucky for me if this got accepted
Maybe a rule should be added that rejoining game shouldn't be allowed to save your items.
That displays as disconnected by timed out right?
No clue what does it show, whole game freezes so gotta use task manager to kill it.
If you crash then the system should see that there is a problem and you didn't leave on purpose....i hope
I kept randomly doing due to Wi-Fi issues and not having the car textures installed so it would be bad for people who don't have acs or new players