ULX

Author Topic: URM - User Restrictions Module for ULX  (Read 43712 times)

0 Members and 2 Guests are viewing this topic.

Offline PLYSHKA

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: URM - User Restrictions Module for ULX
« Reply #45 on: January 11, 2017, 07:48:48 AM »
I find something really weird... URM is working fine, but only commands. Look:

Offline eriikok

  • Newbie
  • *
  • Posts: 24
  • Karma: 14
Re: URM - User Restrictions Module for ULX
« Reply #46 on: January 11, 2017, 11:04:26 AM »
I find something really weird... URM is working fine, but only commands. Look:


Hmm, do you get any client errors in your game console? What addons are you using?

Offline PLYSHKA

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: URM - User Restrictions Module for ULX
« Reply #47 on: January 12, 2017, 05:46:32 AM »
Hmm, do you get any client errors in your game console? What addons are you using?
No, I have no errors in client console on server. I use a lot of addons for ulx and ulx works fine on my computer (Windows). But on the hosting(linux) URM only works without the xgui...

Offline eriikok

  • Newbie
  • *
  • Posts: 24
  • Karma: 14
Re: URM - User Restrictions Module for ULX
« Reply #48 on: January 12, 2017, 07:11:26 AM »
No, I have no errors in client console on server. I use a lot of addons for ulx and ulx works fine on my computer (Windows). But on the hosting(linux) URM only works without the xgui...

Allright, can you put "sv_allowcslua" to 1 and run this in your game console "lua_run_cl PrintTable(urm)" and post what is printed? This will print out all of the client side data for URM (No sensitive data is contained there).

Offline PLYSHKA

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: URM - User Restrictions Module for ULX
« Reply #49 on: January 12, 2017, 08:47:16 AM »
Allright, can you put "sv_allowcslua" to 1 and run this in your game console "lua_run_cl PrintTable(urm)" and post what is printed? This will print out all of the client side data for URM (No sensitive data is contained there).
Nevermind... I got this in console:
Quote
Limits:
      VIP:
      admin:
            npcs   =   999999999
            ragdolls   =   999999999
      superadmin:
            npcs   =   999999999
            ragdolls   =   999999999
      user:
            wire_expressions   =   0
Loadouts:
Restrictions:
      SANS:
            swep:
                  weapon_ut99_translocator   =   RESTRICTED
      admin:
            swep:
      operator:
            swep:
                  acid_sprayer_minds   =   RESTRICTED
                  weapon_ut99_translocator   =   RESTRICTED
      superadmin:
            swep:
      user:
            entity:
                  entity_obs_computermhs   =   RESTRICTED
                  kekc_broom_ent   =   RESTRICTED
                  kekc_broom_hard   =   RESTRICTED
                  kekc_broom_what   =   RESTRICTED
                  kekc_broom_whew   =   RESTRICTED
                  kekc_fireball_ent   =   RESTRICTED
                  mazegenerator   =   RESTRICTED
            npc:
                  npc_vj_fo3bhs_libertyprime   =   RESTRICTED
                  npc_vj_fo3ene_libertyprime   =   RESTRICTED
            swep:
                  orbital_friendship_cannon   =   RESTRICTED
                  weapon_huntermhs   =   RESTRICTED
                  weapon_orbitalstrikemhs   =   RESTRICTED
                  weapon_ut99_redeemer   =   RESTRICTED
                  weapon_ut99_translocator   =   RESTRICTED
            tool:
                  duplicator   =   RESTRICTED
                  dynamite   =   RESTRICTED
                  emitter   =   RESTRICTED
                  omnispawn_placer   =   RESTRICTED
                  permaprops   =   RESTRICTED
                  wire_explosive   =   RESTRICTED
                  wire_simple_explosive   =   RESTRICTED
                  wire_turret   =   RESTRICTED
      ?????????:
            swep:
                  acid_sprayer_minds   =   RESTRICTED
                  weapon_ut99_translocator   =   RESTRICTED
load_list:
      1   =   xgui_limits.lua
      2   =   xgui_loadouts.lua
      3   =   xgui_restrictions.lua
« Last Edit: January 12, 2017, 08:53:28 AM by PLYSHKA »

Offline eriikok

  • Newbie
  • *
  • Posts: 24
  • Karma: 14
Re: URM - User Restrictions Module for ULX
« Reply #50 on: January 12, 2017, 10:10:13 AM »
Allright, I see what might have caused this. I pushed an update on github, try redownloading urm and see if it works.
« Last Edit: January 12, 2017, 01:35:16 PM by eriikok »

Offline PLYSHKA

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: URM - User Restrictions Module for ULX
« Reply #51 on: January 13, 2017, 01:58:55 AM »
Allright, I see what might have caused this. I pushed an update on github, try redownloading urm and see if it works.
Still no menu in settings tab...

Offline eriikok

  • Newbie
  • *
  • Posts: 24
  • Karma: 14
Re: URM - User Restrictions Module for ULX
« Reply #52 on: January 13, 2017, 05:37:32 AM »
I sent you a private message, will be easier to figure out whats wrong if I am on your server.

Offline PLYSHKA

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
Re: URM - User Restrictions Module for ULX
« Reply #53 on: January 15, 2017, 02:03:52 AM »
I sent you a private message, will be easier to figure out whats wrong if I am on your server.
IT WORKS NOW! I just reinstalled a whole ulx (without addons) and installed new version of urm.  Thanks alot

Offline The Asian Aimbot

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 2
  • Rise and shine, Mr. Freeman, rise... and shine...
    • Asian Domain GMod Sandbox Server
Re: URM - User Restrictions Module for ULX
« Reply #54 on: February 12, 2017, 08:16:03 PM »
It's me again! :D SORRY FOR YET ANOTHER SUPER-BUMP

Before, I made a rank and used the addon to give it a custom loadout. Now it's shooting out this error at me and some of the weapons don't spawn with ammo.

[ERROR] addons/urm-master/lua/ulx/modules/loadouts.lua:81: attempt to call method 'GetPrimaryAmmoType' (a nil value)
  1. fn - addons/urm-master/lua/ulx/modules/loadouts.lua:81
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:110
    3. PlayerSpawn - gamemodes/base/gamemode/player.lua:274
     4. unknown - gamemodes/sandbox/gamemode/init.lua:41
      5. Spawn - [C]:-1
       6. unknown - gamemodes/base/gamemode/player.lua:115

Any help would be greatly appreciated! :D
I used the same loadouts when I removed all the addons from the server (the weps missing ammo are M9K) and switched back. I think this may be causing the issue, but my other ranks don't have the issue? (Tested it with the same guns but on different ranks)
The Asian Toaster man who escaped the Great Martian Coup of '69, hid in Beijing for 9 months, and was cast away by the FSM. Flew away w/ GoombasTasteGood and hid in Addis Ababa after fleeing to Botswana, then to Canada.

http://www.downloadmorewam.com

Offline eriikok

  • Newbie
  • *
  • Posts: 24
  • Karma: 14
Re: URM - User Restrictions Module for ULX
« Reply #55 on: February 13, 2017, 03:52:34 AM »
It's me again! :D SORRY FOR YET ANOTHER SUPER-BUMP

Before, I made a rank and used the addon to give it a custom loadout. Now it's shooting out this error at me and some of the weapons don't spawn with ammo.

[ERROR] addons/urm-master/lua/ulx/modules/loadouts.lua:81: attempt to call method 'GetPrimaryAmmoType' (a nil value)
  1. fn - addons/urm-master/lua/ulx/modules/loadouts.lua:81
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:110
    3. PlayerSpawn - gamemodes/base/gamemode/player.lua:274
     4. unknown - gamemodes/sandbox/gamemode/init.lua:41
      5. Spawn - [C]:-1
       6. unknown - gamemodes/base/gamemode/player.lua:115

Any help would be greatly appreciated! :D
I used the same loadouts when I removed all the addons from the server (the weps missing ammo are M9K) and switched back. I think this may be causing the issue, but my other ranks don't have the issue? (Tested it with the same guns but on different ranks)

Try clearing that usergroups loadout and re-add it. If that does not work, take a backup of your data/urm folder and delete it, and add your loadout manually and see if it works.

Offline The Asian Aimbot

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 2
  • Rise and shine, Mr. Freeman, rise... and shine...
    • Asian Domain GMod Sandbox Server
Re: URM - User Restrictions Module for ULX
« Reply #56 on: February 13, 2017, 04:33:14 PM »
I'll try that now. Thanks!

Edit: it worked!
« Last Edit: February 13, 2017, 05:30:40 PM by The Asian Aimbot »
The Asian Toaster man who escaped the Great Martian Coup of '69, hid in Beijing for 9 months, and was cast away by the FSM. Flew away w/ GoombasTasteGood and hid in Addis Ababa after fleeing to Botswana, then to Canada.

http://www.downloadmorewam.com