Ulysses

General => Developers Corner => Topic started by: Eccid on February 01, 2013, 04:50:18 AM

Title: Change Map permissions
Post by: Eccid on February 01, 2013, 04:50:18 AM
ok, so this may seem weird, but this (http://www.zombiemaster.org/smf/index.php?topic=11669.msg461084#msg461084) was recently brought to my attention, and I don't like the idea of it. is it possible to disable maps from using ulx commands (since they have no need to really anyway)?
Title: Re: Change Map permissions
Post by: Stickly Man! on February 01, 2013, 08:02:06 AM
Thanks for bringing this to our attention. I'll have to run this by Megiddo since he's a little more familiar with this than me, but unfortunately I don't think there's anything we can do to prevent this directly, since I think when any user presses this button (hopefully an admin), it runs a command via their console. I don't think there is a way to detect where the command was run.

However, (again, I'll have to run this by Megiddo :P) it may be possible to have ULX check the map for lua_run entities, and if possible, scan them for ULX commands. I think this sounds feasible and would be fairly easy to implement.

EDIT: If you'd like to respond to that thread for me, that would be helpful. Unless I'm mistaken, we should be able to prevent things like this in the future for ULX.
Title: Re: Change Map permissions
Post by: Eccid on February 01, 2013, 08:25:22 AM
I posted for you with a link back to this thread. Thanks a ton.