Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: tadfirebird on December 31, 2007, 12:23:44 AM
-
ULX works fine but with prop protection a problem arises. Everything on SPP works right except that toolguns aren't blocked. SPP is protecting against the use key and the physics gun though.
Users on my server are able to use their toolguns, such as the remover, on each others props, including my own. This only happens when I have ULX installed. Does anyone have a fix?
I have tried different prop protector scripts and its the same.
I have narrowed this problem down to these two mods. (I did a fresh install and only put on SPP and ULX)
-
Hate to be a barer of bad news.. We all run SPP and ULX together.. and no one has any problems. It isn't those mods conflicting.
I know you only have those two installed, and for that I really don't know, it's puzzling, but like I just said, we all run them together just fine. Make sure you have the latest version of both addons in question. ??? ??? ??? ??? ???
-
i have had that problem so my admins posted me a link to a better prop protect and it works fine if you beg i'll upload the file on filefront ;D
-
forget the begging
http://files.filefront.com/Prop+Protectrar/;9355703;/fileinfo.html
read the readme.txt
-
My problem was a code snippet i put in my autorun script lol.
restrictions = { }
restrictions.tools = { }
function restrictions.Add( tool )
table.insert( restrictions.tools, tool )
end
function restrictions.Blocker( pl, trace, tool )
return !table.HasValue( restrictions.tools, tool ) or pl:IsAdmin( )
end
hook.Add( "CanTool", "ToolRestrictions", restrictions.Blocker )
//To add restrictions, look at the file name of the tool.
//Take the Advanced Ballsocket for example - its name is "Advanced Ball Socket" ( or something like that )
//But its FILE NAME is ballsocket_adv.lua, so we ignore the .lua part and then have the tool's real name.
//To find the tools:
//Go to the tool's folder, and look inside the lua/weapons/weapon_stool/stools folder.
//There should be the file name, so remove the .lua part and use that alone.
//So, if I want stacker to be admin only,
restrictions.Add( "npcspawner" )
restrictions.Add( "slammer" )
-
Glad you found the problem tadfirebird.
See, we told you it wasn't ULX and SPP :D :P