• Simple Prop Protection
    779 replies, posted
Impossible to go in the admin options. Your mod said im not an admin when im playing local. And my admin config is perfectly configured thx
[QUOTE=Mini Franki;14421636]Impossible to go in the admin options. Your mod said im not an admin when im playing local. And my admin config is perfectly configured thx[/QUOTE] When you are playing a local game your steamid changes.
Why you dont put a function for put admin the owner of the local server like ULX???
I have the exactly same steam id on local and on my dedi... All admins are correctly configured in the settings/users.txt file
I think i dont have the choice to use your old simple protection for get it work...
1...2...3 post in a row :/ This didn't work for me but it is great :P
PLease can you fix your addon??? I use your SVN version and impossible to get the admin panel
Why would you need prop protection in singleplayer? And it works fine for me.
[QUOTE=Mini Franki;14584364]PLease can you fix your addon??? I use your SVN version and impossible to get the admin panel[/QUOTE] Does it give you any errors when you try to use the toggles?
Awesome, no more minges ruining my props
[QUOTE=HOUSEMASTERR;14584689]Why would you need prop protection in singleplayer? And it works fine for me.[/QUOTE] its for multiplayer; if you have a public server and you get minges
No i dont get any error
Your SVN stopped to work and can you fix it please :(
[QUOTE=Mini Franki;14627350]Your SVN stopped to work and can you fix it please :([/QUOTE] No it still works. Just enter it exactly how it says.
Yeah now it work but 1h ago, that didnt work. Do you find a fix for the admin panel???
[QUOTE=Mini Franki;14629349]Yeah now it work but 1h ago, that didnt work. Do you find a fix for the admin panel???[/QUOTE] I don't know whats wrong with it.
Everything seems to work fine for me ?
I have superadmin and i cant get acces to the admin panel of the SPP I get that in my listen and dedicated server: [URL=http://img13.imageshack.us/my.php?image=sanstitrezws.jpg][IMG]http://img13.imageshack.us/img13/1416/sanstitrezws.jpg[/IMG][/URL]
[QUOTE=Mini Franki;14630741]I have superadmin and i cant get acces to the admin panel of the SPP[/QUOTE] Take a picture of your scoreboard and type this in console "lua_run_cl print(LocalPlayer():IsAdmin())" and tell me what it says.
That say: false I get this in my listen and my dedi server Its impossible... You have here my users.txt contain: "Users" { // // This is your users file // // You can use this file to add people as admins on your server // Add them to the relevant section // // If you're a Lua coder you can add your own sections and use them // in your script by doing pl:IsUserGroup( "admin" ) etc // "superadmin" { "Mini Franki" "STEAM_0:0:22944120" } "admin" { "Chainsaw" "STEAM_0:0:14869603" "ElectroZero" "STEAM_0:0:6119028" "Hammer" "STEAM_0:0:9517685" "Monsieurd" "STEAM_0:1:13488004" } }
I think i find the problem... its a ULX incompatiblity because when im removing ULX, all working perfectly
[QUOTE=Mini Franki;14632454]I think i find the problem... its a ULX incompatiblity because when im removing ULX, all working perfectly[/QUOTE] No it's not. In ulx you have to setup a custom user group file. [url=http://ulyssesmod.net/docs/files/ULib_readme-txt.html#Installation]Look here[/url]
This is conflicting with onslaught evolved and it spams error codes, I never downloaded this but I know it's on a server I visit alot, what folders would I find it if I got from a server?
[QUOTE=seklum;14820316]This is conflicting with onslaught evolved and it spams error codes, I never downloaded this but I know it's on a server I visit alot, what folders would I find it if I got from a server?[/QUOTE] What are the errors?
I love SPP, and am happy to see you're using SVN now. How might I Lua an entity so that it could be Physgunned, toolgunned, etc by anyone? I figured I'd take the approach of "World" entities, and simply put... Inside sv_Init.lua, function SPropProtection.PlayerCanTouch(ply, ent) if(ent:GetNetworkedString("Owner") == "All") then return true end And then in my own seperate (E2) function, write entity:SetNetworkedString("Owner", "All") But while this does update the mouseover ingame (I tested an initially-ownerless object), and prevents me from setting myself as owner by touching it, non-admins can't touch it. Could you perhaps add a SPropProtection.SetOwnerless function, or tell me what I'm doing wrong? Thank you.
[QUOTE=zzorange;14826606]Could you perhaps add a SPropProtection.SetOwnerless function, or tell me what I'm doing wrong? Thank you.[/QUOTE] SVN Update. I added Entity:CPPISetOwnerless(Bool)
Thanks a ton Spacetech! I bundled that into an E2 function, works perfectly. Edit: Throw this in wire/lua/entities/gmod_wire_expression2/core/custom/anythingyouwant.lua registerFunction("setOwnerless", "e:", "", function(self, args) local op1 = args[2] local rv1 = op1[1](self, op1) local entity = checkEntity(rv1) if(!entity) then return end entity:CPPISetOwnerless( true ) end)
SO.... wait.... what does that do ? Can some things now be set to no owner ... or world owner ?
[QUOTE=meeces2911;14854814]SO.... wait.... what does that do ? Can some things now be set to no owner ... or world owner ?[/QUOTE] It's only for developers.
Woo just started a server <3 this thing so much
Sorry, you need to Log In to post a reply to this thread.