Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: SuperBobbis on January 23, 2016, 11:44:04 PM

Title: Making Utime admin only.
Post by: SuperBobbis on January 23, 2016, 11:44:04 PM
I run a Murder server and utime is a double edged sword. While we are alive it helps instead of having to go into admin panel every time to see who is who. But it also means people can target because of the ability to see who is who as well as makes disguising pointless as it means you can call out steam name instead.

I've looked around a little bit before, I found something regarding this but it didn't help me understand what I needed to do. Can someone here help me learn what code I need to add/remove?
Title: Re: Making Utime admin only.
Post by: Megiddo on January 24, 2016, 05:16:49 AM
I have no problem adding this directly to UTime. Please run the following in your server console while running murder and tell me what it outputs to make sure I get the right name:

Code: [Select]
lua_run print(engine.ActiveGamemode())
Title: Re: Making Utime admin only.
Post by: SuperBobbis on January 24, 2016, 11:51:13 AM
Will do when I get home, thanks for this.

Edit: Going to specify before anything happens, I'm talking about the lower part where it shows the persons name of who you are looking at. I wasn't very descriptive last night. If that's possible that would be amazing, thanks.
Title: Re: Making Utime admin only.
Post by: Megiddo on January 24, 2016, 03:07:52 PM
Yes; I've already pushed the change to the UTime repository, just need to verify the name is correct.
Title: Re: Making Utime admin only.
Post by: SuperBobbis on January 24, 2016, 04:06:35 PM
 print(engine.ActiveGamemode())...
murder


Here's what it says when I put it in the console.
Title: Re: Making Utime admin only.
Post by: Megiddo on January 24, 2016, 05:16:23 PM
Okay, my assumption was correct. You can download UTime from GitHub -- https://github.com/TeamUlysses/utime -- and it should work as described.
Title: Re: Making Utime admin only.
Post by: SuperBobbis on January 24, 2016, 07:57:52 PM
Thank you so much!