• Simple Prop Protection
    779 replies, posted
Well I do. (It's the Camera List code I want credit for, the other bit goes to foszor).
[QUOTE=Cunzer]Well I do. (It's the Camera List code I want credit for, the other bit goes to foszor).[/QUOTE] Conna, will you just give it a break. Seriously you should be proud someone used a few of your ideas in something else. Instead of trying to block the addon development by starting a flame war. Your complaining like your code is so unique when he honestly did alot of that stuff the same because it is the best way to do it. Not because he was trying to steal your code. This is like saying this: [quote=Someone] [code] void main(){ cout << "I am a program" << endl return } [/code] WTF you stole my code! [/quote] So just give it a break.
Oh here come the 'fanboys' or am [i]I[/i] not allowed to say that?
[QUOTE=Cunzer]Oh here come the 'fanboys' or am [i]I[/i] not allowed to say that?[/QUOTE] I'm not a fanboy, i'm just defending a friend just like anyone else would. I do have morals though and wouldn't defend him if he was knowingly stealing. [b]This flame is over[/b]
Why have you but "[b]Bugs: None[/b]" then?
[QUOTE=jaybuz]Why have you but "[b]Bugs: None[/b]" then?[/QUOTE] 1 in 100 people will ask, are their any bugs?. Also for leaving room for the unknown.
You said you know about the nail exploit is't that classed as a bug?
[QUOTE=jaybuz]You said you know about the nail exploit is't that classed as a bug?[/QUOTE] That will be fixed in the next version.
Better not look at my code for the fix :D
Conna grow up :) if he did steal a bit of your code so what how do you think most people become good at scripting erm... looking at others code and if you are conna arn't you not spose to have 2 accounts ?
Version 1.1 is out: Now has nail protection and I optimized some code. [url=http://www.garrysmod.org/downloads/?a=view&id=19454][img]http://www.garrysmod.org/img/?t=dll&id=19454[/img][/url]
I claimed first download :) [b]Edit:[/b] Has this got material protection ?
[QUOTE=BomBom]I claimed first download :) [b]Edit:[/b] Has this got material protection ?[/QUOTE] Material Protection?
like erm minges can't materialize your props
[QUOTE=BomBom]like erm minges can't materialize your props[/QUOTE] Can they do it in the current release? Also, thanks for the script. this is a great addon and I probably won't run my server without it. The USE protection is what made me happy. Is there any chance you could implement a system of having a white list for certain actions? Such as, you want to enable USE for anyone on and prop/SENT/whatever (suit dispenser, button for trap, or whatever), or you want people to be able to move an object, but not weld/use STOOLs, or you may want people to color change, but not move/weld/use. Like list of check boxes. I know that would be complicated, but I have one more if you decide to do that: Add Adv Dupe. support for each white listed prop's settings.
[QUOTE=bord2tears]Can they do it in the current release? Also, thanks for the script. this is a great addon and I probably won't run my server without it. The USE protection is what made me happy. Is there any chance you could implement a system of having a white list for certain actions? Such as, you want to enable USE for anyone on and prop/SENT/whatever (suit dispenser, button for trap, or whatever), or you want people to be able to move an object, but not weld/use STOOLs, or you may want people to color change, but not move/weld/use. Like list of check boxes. I know that would be complicated, but I have one more if you decide to do that: Add Adv Dupe. support for each white listed prop's settings.[/QUOTE] Well the best thing to do is just add a player as a buddy. I've seen many people say stuff like [quote] Why did you use my suit dispenser. I didn't say you can use it! [/quote]
[QUOTE=Spacetech]Well the best thing to do is just add a player as a buddy. I've seen many people say stuff like[/QUOTE] If they don't want everyone using it, then don't whitelist it. I don't want to buddy someone to allow them to use some items. (A buddy can do anything to your props)
[QUOTE=bord2tears]If they don't want everyone using it, then don't whitelist it. I don't want to buddy someone to allow them to use some items. (A buddy can do anything to your props)[/QUOTE] Should I add an admin setting saying something like "Buddies can tool" / "Buddies can use"
You could have an option to make the entity 'shared' so anyone can use it but no one can claim it.
Space add those as client settings so if one person wants to do that with their props they can and the people who don't can have it off.
[QUOTE=Cunzer]By the way, returning true on this hook probably isn't a good idea: [lua] function SPropProtection.PlayerUse(ply, ent) if(tonumber(SPropProtection["Config"]["Use"]) == 0) then return true end if(!ent:IsValid() || ent:IsPlayer()) then return false end if(SPropProtection.PlayerCanTouch(ply, ent) || ent:GetNetworkedString("Owner") == "world") then return true else return false end end hook.Add("PlayerUse", "SPropProtection.PlayerUse", SPropProtection.PlayerUse) [/lua] [lua] function SPropProtection.PlayerUse(ply, ent) if(tonumber(SPropProtection["Config"]["Use"]) == 0) then return end if(!ent:IsValid() || ent:IsPlayer()) then return end if(!SPropProtection.PlayerCanTouch(ply, ent) and ent:GetNetworkedString("Owner") != "world") then return false end end hook.Add("PlayerUse", "SPropProtection.PlayerUse", SPropProtection.PlayerUse)[/lua] Returning nil doesn't stop other hooks running. No, it's not the done thing. Scripers don't take other scripter's work without credit. You're being as bad as HuntsKikBut right now, the point is if you use someones work - you give credit. And considering you used a large chunk of PropSecure - I advise you put some credit in this duplicate.[/QUOTE] Don't your dare say anything bad about huntskikbut
[QUOTE=Gipsy]Don't your dare say anything bad about huntskikbut[/QUOTE] No, my dare doesn't say anything bad about HuntsKikBut.
Lawll I like this moarr than EPS mainly because of the USE, and the fact that there isn't an obtrusive box in the middle of the screen even when you look at your own stuff, which messes up your view if you have a windshield on vehicles..
There's a con command to turn that off you know. Though I totally agree with you.
Conna stole codes, then tell all his fanboyz that it's his very own work. Then whine people steal his hard work. Nice script, but there is a bug: when a player change his nick, his props aren't updated when you look at them (i was sure about this one :p). (You maybe want to use Get/SetOwner() :))
[QUOTE=Kyzer]Conna stole codes, then tell all his fanboyz that it's his very own work. Then whine people steal his hard work. Nice script, but there is a bug: when a player change his nick, his props aren't updated when you look at them (i was sure about this one :p). (You maybe want to use Get/SetOwner() :))[/QUOTE] I know about that bug. It not a bug, more of a me not wanting to make a think function. Setowner is not a good idea. Wiki description: [quote] Sets the 'owner' of an entity. This disables collision between the entity and it's owner. If the prop kills another entity, the player will be the inflictor and will get credit for the kill. [/quote]
Lua kinged. I only have one complaint. When the server spawns something (IE ULX spawning a jail around a player) the owner of the props the server spawns shows up as "N/A." So the first person to touch the prop becomes the owner, which means the person I put in jail could easily move a jail wall and escape (the jail is just 6 pieces of fence). This really isn't a big deal, I just thought I would point it out.
[QUOTE=bucky100]Lua kinged. I only have one complaint. When the server spawns something (IE ULX spawning a jail around a player) the owner of the props the server spawns shows up as "N/A." So the first person to touch the prop becomes the owner, which means the person I put in jail could easily move a jail wall and escape (the jail is just 6 pieces of fence). This really isn't a big deal, I just thought I would point it out.[/QUOTE] I'm not sure theirs a good way to fix that. ULX should be the one that makes it so it's not touchable.
Why do all releases of anything turn into arguments? :confused:
[QUOTE=Kyzer]Conna stole codes, then tell all his fanboyz that it's his very own work. Then whine people steal his hard work. Nice script, but there is a bug: when a player change his nick, his props aren't updated when you look at them (i was sure about this one :p). (You maybe want to use Get/SetOwner() :))[/QUOTE] I never steal code, I always give credit. You know nothing sir. [QUOTE=Auctionedlla]Lawll I like this moarr than EPS mainly because of the USE, and the fact that there isn't an obtrusive box in the middle of the screen even when you look at your own stuff, which messes up your view if you have a windshield on vehicles..[/QUOTE] Well the new EPS doesn't display that if you're in a vehicle. Also I believe this does the same thing (The code for displaying it is so damn similiar to mine). If you mean USE as in stopping people using your shit, EPS also now has that too. EPS has everything this has except it doesn't do anything stupid like overwrite libraries. EPS also has fixed the nail exploit and remover exploit, it has options to share entities too. I don't care anymore Spacetech, just credit me for the code that you use and let that be that.
Sorry, you need to Log In to post a reply to this thread.