Author Topic: groups.txt  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
groups.txt
« on: June 27, 2010, 07:58:53 PM »
When I (manually) change my groups.txt some of the commands don't apply.  For example:
Code: [Select]
] ulx vote "Test" test test
Command "ulx vote", argument #1: invalid string
When I know for a fact that the group I was in had the access to vote.  Now if I were to go into game and type ulx groupallow <group> "ulx vote" it would work just fine after that.[/code]

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: groups.txt
« Reply #1 on: June 27, 2010, 08:00:15 PM »
When I (manually) change my groups.txt some of the commands don't apply.  For example:
Code: [Select]
] ulx vote "Test" test test
Command "ulx vote", argument #1: invalid string
When I know for a fact that the group I was in had the access to vote.  Now if I were to go into game and type ulx groupallow <group> "ulx vote" it would work just fine after that.[/code]

Manually editing is discouraged. It looks like you're trying to restrict the user to a subset of strings on argument one while you're manually editing.
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: groups.txt
« Reply #2 on: June 27, 2010, 08:05:51 PM »
Code: [Select]
"ulx asay" ""That is what I have under my group....


This is the outcome....
Code: [Select]
] ulx asay This is a test
Command "ulx asay", argument #1: invalid string

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: groups.txt
« Reply #3 on: June 27, 2010, 08:08:11 PM »
Ok I figured it out.... You can't put "" after the command.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: groups.txt
« Reply #4 on: June 27, 2010, 08:13:39 PM »
This is why manual editing is discouraged. :P
Experiencing God's grace one day at a time.