ULX

Author Topic: URS BETA - A Highly Customizeable Restriction System (or will be)  (Read 566760 times)

0 Members and 2 Guests are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #450 on: March 09, 2015, 09:02:18 PM »
Haha...  Hello!  It's been a while.  Falco actually added me on Steam and posted on github about some issues. I happen to be on spring break, so I was like... meh, why not.  I honestly kinda just lost interest in Garry's Mod.  Perhaps my interest will spark once again with me putting some effort in URS.

PS.  I'm working on rewriting URS.  Right now I'm just recoding some small background things that will have no noticeable change.  Just cleaning code and fixing what I can.  This will be a long process to say the least haha... I was not a very experienced programmer back 2 or 3 years ago (not that I'm a pro now).


EDIT:  WOW!  I cannot believe this is 4 years old already!
« Last Edit: March 09, 2015, 09:25:04 PM by Aaron113 »

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #451 on: March 09, 2015, 10:06:45 PM »
Welcome back! :)

EDIT:  WOW!  I cannot believe this is 4 years old already!

It's amazing how time flies.. I can't believe how old XGUI is either, let alone ULX itself :P
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #452 on: March 11, 2015, 09:17:56 AM »
I suppose in tradition I might as well post a changelog.

Code: [Select]
Changelog 3/11/2015:
 + Added ulx_urs_echo_spawns [0/1] (See Wiki)
 + Added ulx_urs_overwrite_sbox [0/1] (see wiki)
 - Removed ulx_ursecho
 * ulx_urs_weaponpickups defaulted to 2
 * Fixed restriction echos
 * Fixed two return true lines that broke other scripts (Thanks Falco)
 * Saves one table at a time (no need to save all at once)
 * LOTS of recoding to clean code and fixing errors in my recode

We are down about 60 lines and I've only just started.

Offline williamdefly

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #453 on: March 11, 2015, 09:35:48 PM »
this addon is not compatible any new version for ulx.

please update <3

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #454 on: March 11, 2015, 10:18:33 PM »
Working as far as I can tell on my end.  Can you give more information?

I'm on ULX and ULib revisions 263 and URS revision 100.

EDIT:  I'm working on a big update for the next revision, so hopefully I don't have to make any huge changes to fix something in the mean time.

EDIT2:  This is kind of important to fix, but it will have to wait until tomorrow night since I haven't gotten a response yet.
« Last Edit: March 11, 2015, 11:05:57 PM by Aaron113 »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #455 on: March 12, 2015, 08:45:26 AM »
Perhaps I did break something.  I am getting a lot of people adding me.  I just need one of them to tell me what the problem is.

Offline williamdefly

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #456 on: March 12, 2015, 11:16:43 AM »
good evening,

your addon to not appear in the new version ulx
via the menu !menu

ULX v3.62 and v2.52 ULib
« Last Edit: March 12, 2015, 12:15:57 PM by williamdefly »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #457 on: March 12, 2015, 03:43:56 PM »
I am going to need more information.  I have no problems with the latest versions.

Can I get a copy of your
<gmod folder>/data/ulx/restrictions.txt
<gmod folder>/data/ulx/limits.txt
<gmod folder>/data/ulx/loadouts.txt

Offline williamdefly

  • Newbie
  • *
  • Posts: 3
  • Karma: 0

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #459 on: March 12, 2015, 07:04:00 PM »
I still am not having any problems.  You have to have some kind of error either in the server's console or your client's.  I can't fix anything unless we can find the source.

EDIT:  You are aware your data files are near blank?
« Last Edit: March 12, 2015, 11:10:07 PM by Aaron113 »

Offline lionfly2005

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #460 on: March 13, 2015, 05:28:11 AM »
With the b62db660e353b973c058c14c4f6e01ec4d6a5a82 commit and latest ulib/ulx (from github) folowing error:
[ERROR] addons/urs/lua/ulx/modules/urs_server.lua:43: attempt to index a nil value
  1. Check - addons/urs/lua/ulx/modules/urs_server.lua:43
   2. fn - addons/urs/lua/ulx/modules/urs_server.lua:146
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:179
     4. Give - [C]:-1
      5. RunClass - gamemodes/sandbox/gamemode/player_class/player_sandbox.lua:76
       6. Call - gamemodes/base/gamemode/player.lua:317
        7. PlayerSpawn - gamemodes/base/gamemode/player.lua:274
         8. unknown - gamemodes/sandbox/gamemode/init.lua:41

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #461 on: March 13, 2015, 07:47:35 AM »
Thank you!  It has been fixed.

EDIT:  I rewrote how URS was loaded and it wasn't quite making all the tables like it should have.  I guess the one thing I lacked was testing it with a blank data file.
« Last Edit: March 13, 2015, 07:50:08 AM by Aaron113 »

Offline Grizly

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #462 on: March 13, 2015, 08:58:10 AM »
Hello,

I was wondering is there possibility to make Material restricted on Vehicle using URS Restriction system?

If i write in tool : material it disable all material but i want it disabled only on vehicle...

« Last Edit: March 13, 2015, 09:42:35 AM by JamminR »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #463 on: March 13, 2015, 09:05:27 AM »
Probably best posted in URS topic itself, but there is no way to restrict a specific tool from doing a very specific thing.  Who knows though, perhaps a feature for the future?  We'll have to see how it goes.
« Last Edit: March 13, 2015, 09:42:53 AM by JamminR »

Offline Grizly

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #464 on: March 13, 2015, 09:38:32 AM »
Probably best posted in URS topic itself, but there is no way to restrict a specific tool from doing a very specific thing.  Who knows though, perhaps a feature for the future?  We'll have to see how it goes.

Maybe there is a lua script for that ?
« Last Edit: March 13, 2015, 09:43:06 AM by JamminR »