• Wolf Prop Protection
    85 replies, posted
[IMG]http://img29.imageshack.us/img29/5945/wolfbanner.png[/IMG] [release] [IMG]http://img508.imageshack.us/img508/5301/textn.png[/IMG] WPP Stands for Wolf Prop Protection, Witch is a [b]powerful[/b] new prop protection system. Have you ever been in a situation where you have given one of your friends buddie access on the prop protection to do somthing and then they just abbuse that privalige. Maybe you've been scared to hand out prop protection because people can easily remove and duplicate your contraptions. Well i'm sure every gmod player has said "Oh i wish i could only allow them to do what i want them to do." WPP is the answer to this problem. By seperating the differnt actions players can do to other players props, WPP offers a more secure prop protection. WPP also has a prop share feature and a built in anti-noclip as well as featuring a stlyish and user freindly interface. [/release] [release] [IMG]http://img191.imageshack.us/img191/1327/textwm.png[/IMG] Actions control the limits of your prop protection buddies. Physgun = Speaks for itself allows Physgun control over your entitys. Grab = Gravity Gun access over your entitys. Tool = Again this allows for ToolGun access over your entitys. Use = Allows players to press the use key on your entitys. Remove = Remover tool acces to remove your entitys.* Duplicate = Duplicater and Advanced Duplicater tool acces to your contraptions.* No Clip = Like Uclip it allows players to noclip into your entitys. Damage = Prevent players from smashing up and destroying your props. CPPI = This is just for CPPI based addons. * This Tool is only accesable with this Action even with Tool Access you can not use it with out this Action but also you do not need tool access. [/release] [release] [b]The Menu[/b] [IMG]http://content.screencast.com/users/goluch/folders/Jing/media/5269e8d9-441b-4f08-a0f1-f76dbe1d65a9/2011-02-19_0200.png[/IMG] The list shows players as they join, it also removes players when they leave, so you never have to refresh the menu once its open. You can open the Menu with 'wpp_menu' or 'wpp_share' for prop share. You can access the Admin menu under the 'Admin' section of the 'Utilities' tab. There are also 3 buttons in the utilities tab. [/release] [release] [IMG]http://img140.imageshack.us/img140/5295/texth.png[/IMG] The hud has several modes that cna be changed in the menu. By deafult the hud is in 'Side Box' mode witch is simular to SPP's hud. [IMG]http://content.screencast.com/users/goluch/folders/Jing/media/06543552-2fe2-4af4-9cbc-e5705ee52084/2011-02-19_0146.png[/IMG] You can change the hud to show PP status in the center of props by changing the mode. [IMG]http://content.screencast.com/users/goluch/folders/Jing/media/bfe7b947-edeb-441e-bd06-4fc62f679a6c/2011-02-19_0155.png[/IMG] To better understand this feature just join a WPP server and take a look. [/release] [release] [b]E2 Gate Functions (wiremod)[/b] Number = wppTouch() -> The number returned represents the Touch Action. Number = wppPickUp() -> The number returned represents the PickUp Action. Number = wppTool() -> The number returned represents the Tool Action. Number = wppRemove() -> The number returned represents the Remove Action. Number = wppDuplicate() -> The number returned represents the Duplicate Action. Number = wppUse() -> The number returned represents the Use Action. Number = wppNoClip() -> The number returned represents the NoClip Action. Number = wppDamage() -> The number returned represents the Damage Action. Number = wppCPPI() -> The number returned represents the CPPI Action. Number = Player:wppPlayerCan(Entity,Access) -> Returns (0/1) if Player can do the Action on Entity. Number = Player:wppPlayerTrusts(Player,Access) -> Returns (0/1) if Player1 trusts Player2 to do Action. Number = Player:wppGetTrust(Access) -> Returns (0/1) if the E2 owner trusts Player to do Action. Number = Entity:wppGetPropShare(Access) -> Retruns (0/1) if Entity has PropShare Acces for Action. Player:wppSetTrust(Access,Allow) -> Sets the E2s owners trust for player to do action when allow is (0/1). Entity:wppSetPropShare(Access,Allow) -> Sets the PropShare for Action on Entity, When the E2 owner owns Entity. [/release] [release] [IMG]http://img263.imageshack.us/img263/7329/textw.png[/IMG] [b]Convars[/b] [i]wpp_allow_use_on_world[/i] Default '1' Set to '0' to disable 'use' on world objects. Set to '1' to enable Players to be able to 'use' on world objects. Set to '2' to enable Admins to be able to 'use' on world objects. Set to '3' to enable Super Admins to be able to 'use' on world objects. [i]wpp_allow_admins[/i] Default '2' Set to '0' to disable overpowering. Set to '1' to enable Admins to overpower Players. Set to '2' to enable Super Admins to overpower Players and Admins. [i]wpp_anti_noclip[/i] Default '1' Set to '0' to disable noclip protection. Set to '1' to enable noclip protection. [i]wpp_auto_cleanup[/i] Default '300' Set to the time (in seconds) it takes before a disconected players entities are removed. Set to '0' to disable auto clean up. [i]wpp_auto_admins[/i] Default '0' Set to 0 to enable auto cleanup for all players. Set to 1 to disable auto cleanup for all Admins. Set to 2 to disable auto cleanup for all SuperAdmins. [i]wpp_stop_damage[/i] Default '1' setting this to 0 disables the damage action from preventing damage. [/release] [release] [IMG]http://img14.imageshack.us/img14/2476/textd.png[/IMG] Goluch (Me). Doridian -> Inspired me to learn lua Divran -> Taught me lua. Divran -> CPPI implementation. JamesBond -> Dev Testing PepsiHax -> Dev Testing [/release] [release] [IMG]http://img99.imageshack.us/img99/4348/textr.png[/IMG] Here have an SVN link: [url]http://gmodwpp.googlecode.com/svn/trunk/[/url] DO NOT UPLOAD TO GARRYSMOD.org or any other site. AND REMBER POST BUG REPORTS, (Should be fixed rapidly) [/release] [release] [B]SVN Commits[/b] [35] Fixed Admin Menu not working properly. (For real this time) [30] Added new Admin menu under the 'Admin' section of the 'Utilities' tab. [29] Fixed Damage Action. [27] Added Damage Action. [25] Added new HUD Modes. [21] Added convar 'wpp_auto_admins'. [20] Super Admins can now access disconnected players props. [19] Fixed a minor bug. [18] E2 functions added. [17] Added hook for admin check "WPPAdminCheck->(ActionID,Player,Owner)" [16] Minor bug fix. [15] Fixed bug that would break cppi. [14] First part of admin menu installed. [13] Menu visual upgrade. [12] TOTAL 100% RECODE!! [/release]
Just gave it a try on a listen server (my dedicated sanbox has players on it, so could not test it) I noticed 1 problem, that will cause problems on some maps. I was not able to "use" world items. So on maps like gm_construct_flatgrass_v6 or gm_trainconstruct2 I could not use the track switching buttons.
[QUOTE=NaRyan;26094315]Just gave it a try on a listen server (my dedicated sanbox has players on it, so could not test it) I noticed 1 problem, that will cause problems on some maps. I was not able to "use" world items. So on maps like gm_construct_flatgrass_v6 or gm_trainconstruct2 I could not use the track switching buttons.[/QUOTE] Thank you, This bug has been fixed please update your SVN.
Several new fixes and i remade the menu and i posted a screen shot of that menu.
Very nice sir.
Entire project has been recoded and tested. Should be no bugs now. Post feedback and suggestions.
The picture of the menu makes me want to cry, but this looks good...adding to all of my servers. For the menu, add some different font colors please...it all merges together in my head.
Ok i have changed the menu slightly to make it more eye friendly.
Awesome. Any pics? [editline]20th November 2010[/editline] Also, for the admin settings, can they be displayed in a menu somewhere, so I don't have to log into remote desktop to change everything? [editline]20th November 2010[/editline] GNAHHH does this save your friends + their settings to the client? [editline]20th November 2010[/editline] WPP Stands for Wolf Prop Protection, Witch is a powerful new prop protection system. replace with: [gnazi] WPP stands for Wolf Prop Protection, which is a powerful new prop protection system. [/gnazi]
It currently does not save clients settings. Also there is an admin menu in development.
Falco's Prop protection copy.
[QUOTE=mikeym;26185682]Falco's Prop protection copy.[/QUOTE] It's not a copy. It's what alot of people have had the idea for, even before falco did he just did it first and goluch has made a better one imo. Plus falco adds shitty things with his addons that just piss people off.
*cough* FADMIN
I have started on WPPs admin menu. It only has basic features so far but will be worked on some more.
[QUOTE=foxxeh;26188739]It's not a copy. It's what alot of people have had the idea for, even before falco did he just did it first and goluch has made a better one imo. Plus falco adds shitty things with his addons that just piss people off.[/QUOTE] What kind of features in FPP are pissing people off? [editline]21st November 2010[/editline] [QUOTE=mikeym;26185682]Falco's Prop protection copy.[/QUOTE] I've looked at the code. It doesn't seem like Goluch has stolen any of my code. Some snippets at most, but no one will complain about that.
[QUOTE=FPtje;26200418]What kind of features in FPP are pissing people off?[/QUOTE] I think its just that people dislike it being forced on them in DarkRP. DarkRP would be alot better if it used CPPI but thats for another thread.
I would appreciate a way to disable FAdmin + FPP, but yeah. Anyway, this is going on my Sandbox server, will report back soon
[QUOTE=goluch;26254760]I think its just that people dislike it being forced on them in DarkRP. DarkRP would be alot better if it used CPPI but thats for another thread.[/QUOTE] DarkRP/Gamemode/FPP/sh_CPPI.lua Been there for ages.
Yes but by deafult DarkRP's code is not made to run of CPPI for its entity's like drug labs and stuff.
Cool derma as usual, Goluch
Yep i always work hard on derma.
Good prop protection system! I really like the work you did on the derma.
[QUOTE=emperus;26315049]Good prop protection system! I really like the work you did on the derma.[/QUOTE] Yeah i agree too it looks nice now, like to see more progress though.
Progress how? I cant add features if they are not suggested.
I still find that text that's going up and down hard to read...like, I have to stop and look at it to figure out what it says. I wish I could use this instead of FPP for my DarkRP, I just won't want to edit the fuck out of the gamemode since he updates weekly...
Revision 18. E2 functions have been added to WPP giving you yet more control over your props. See first post for more information.
the menu won't show up.
[QUOTE=Sample;27336976]the menu won't show up.[/QUOTE] Menu works fine just tested it make sure your binds are correct. If you have any error messages in console send me them, maybe its a conflicting addon. (I'm sure its just a user error though.)
After somebody disconnects, admin's cant noclip through the disconnected players stuff
Rev 20: Super Admins can now access disconnected players props.
Sorry, you need to Log In to post a reply to this thread.