ULX

Author Topic: Group no perm  (Read 2316 times)

0 Members and 1 Guest are viewing this topic.

Offline Alexandre Nalikase

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Group no perm
« on: June 08, 2016, 08:36:32 AM »
My ULib/ULX versions (run "ulx version" in console):
ULib v2.61
ULX v3.71


Game mode(s) I am having this problem on: darkrp

Lua errors shown in console, if any:
Code: [Select]
<insert errors here>

My Group ex : ulx adduser spec V.I.P
restart my serv and all people is user

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: Group no perm
« Reply #1 on: June 08, 2016, 08:39:27 AM »
Maybe important piece of info: what's are you trying to do? And what's wrong?
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline Alexandre Nalikase

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Group no perm
« Reply #2 on: June 08, 2016, 08:43:36 AM »

on my server there are ulx group that allows for job : CWU 05 /01 supervisor / 05 anticit but every time I restart, and no one has its wl everyone become user

Offline OpticPotatOS

  • Jr. Member
  • **
  • Posts: 53
  • Karma: 0
  • GLaDOS
    • Gaming for Everyone
Re: Group no perm
« Reply #3 on: June 08, 2016, 09:17:32 AM »
I know next to nothing about darkRP, but I'm pretty sure ULX groups don't affect darkRP jobs in any way.
My website isn't my website, rather, it's the gaming network my sever is connected to.

ttt.gfe.nu

Unforeseen Consequences

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Group no perm
« Reply #4 on: June 08, 2016, 11:19:53 AM »
I know next to nothing about darkRP, but I'm pretty sure ULX groups don't affect darkRP jobs in any way.

You can set a customcheck for the DarkRP jobs to only allow certain groups to become that job.

Alexandre, could you run ulx debuginfo in your console and paste the results here or in a pastebin?
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Alexandre Nalikase

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Group no perm
« Reply #5 on: June 08, 2016, 11:27:13 AM »
thanks for reply

Custom Check :
   customCheck= function(ply) return string.find(ply:GetUserGroup() , "V.I.P") or string.find(ply:GetUserGroup() , "Owner") or ply:IsAdmin() end,

Debug i not work

Offline Alexandre Nalikase

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Group no perm
« Reply #6 on: June 08, 2016, 12:24:51 PM »
ulx not writing on user.txt

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Group no perm
« Reply #7 on: June 08, 2016, 09:58:36 PM »
What do you mean "Debug i not work"?

It looks like I was mistaken in how the command works - run ulx debuginfo in console and then copy the contents of garrysmod/data/ulx/debugdump.txt
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: Group no perm
« Reply #8 on: June 09, 2016, 03:31:42 AM »
ulx not writing on user.txt
Have a look at your file permissions, make sure your user, which is running srcds has write permissions to the data folder.
Mind also posting/uploading your users.txt file, maybe it is corrupted?

Cheers

Offline Alexandre Nalikase

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: Group no perm
« Reply #9 on: June 09, 2016, 07:29:39 AM »
Thank you for your help I just put my owner user in the data folder