Poll

Do You Like The New GUI Better?

Yes, Much Better!
71 (59.7%)
Yeah
22 (18.5%)
I Don't Care, I Use The Console
14 (11.8%)
No
4 (3.4%)
I Prefer The Old GUI
8 (6.7%)

Total Members Voted: 116

Author Topic: URestrict [Depreciated-author no longer supports]  (Read 491543 times)

0 Members and 1 Guest are viewing this topic.

Offline robdog121

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #630 on: July 19, 2010, 08:00:10 AM »
hello
ive got the latest version
updated with svn etc

i own a 16 slot gmod darkrp server running the latest version (svn) of darkrp

i bought it off serverffs.com they use linux...
this itself has brought on some problems which are still not fixed (to do with phx and there filepaths having lower case and upper case)
but we have been setting up
running ulx and ulib svn version (up to date)

but i installed this
now i have even added in groups.txt everything, double checked, reinstalled, redownloaded, reuploaded.
nothings working...
i type
URestrict
in console and it just returns unknown command : URestrict

PLEASE OH PLEASE HELP!!!

i really need this for having respected,donator,mod,admin,superadmin all set up properly (im gonna have a little prop increase over them all... and different tools etc etc

so please help (if this mod works it seems like its gonna be EPIC and i really wanna use it but....)

PLEASE HELP ASAP!!!

thankyou.
« Last Edit: July 19, 2010, 05:59:22 PM by robdog121 »

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #631 on: July 19, 2010, 08:55:41 AM »
I really appreciate your interest in URestrict, but I won't be able to help you out until about 7pm central time. If that's ok with you, feel free to add me. Jay209015
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline robdog121

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #632 on: July 19, 2010, 06:00:22 PM »
thats ok, as long as i recieve help :P
ive added u to friends list im under name of [vG]|angry||bob|

Offline MaMuS

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: URestrict
« Reply #633 on: July 31, 2010, 04:40:27 PM »
I can reproduce the same "failure" on a linux server.

There seems to be no log about Urestrict being loaded or failing...

Everything else is working properly. Ulib, ULX, XGUI, UTime and AutoPromote.

If you need more information I can provide, just asks  ;)

edit: could it be a letter case problem? Most of the problems with linux compatibility seems to come from this cause.
« Last Edit: July 31, 2010, 04:44:35 PM by MaMuS »

Offline robdog121

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #634 on: July 31, 2010, 07:42:19 PM »
yeah dont worry, jay actually came on and tried and tried again to fix it but nothing worked.

now ive got a new server which runs on windows and works perfect LOVE THE URESTRICT, except adding blocked things is a little annoying.

i heard something bout u may add too it laters or when u remake i dunno but till then this is epic.
it would be good if instead of setting the prop things and that does all the sbox limits in 1 make each one changeable.

eg
super admin can have a prop limit of say 80
and be able to use say 15 emitters

admin can have 60 props
10 emitters

mod can have 45 props

5 emitters


i would love to be able to set each individual sbox limit to each thing (in a nice neat and easy menu if you could ) :P

BUT GREAT ADDON!!!

also darkrp has problems with it, but i deleted the file that is to do with giving players weapons it was causing problems. and ive disabled all loadouts for all groups as it fucks with darkrp classes.


i cant wait for more features. good job.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #635 on: July 31, 2010, 10:21:06 PM »
Robdog, you may wish to research a bit more.
Though I'm not positive, I'm pretty sure Jay based his limits system on UNoLimited v2 (a release I made based on some code floating around that Megiddo had originally done (complicated tree, yes, but, we all work together to make great stuff)).
In UnoLimited, groups can be set to multipliers of the original sbox limits.
So, if sbox_maxprops = 10, user multiplier 1 = 10, respected 1.5 = 15, admin 2 = 20 (those groups are examples, you'd have to set them in a config)
At least, I thought Jay added that feature. He was asking me about it one night some months ago.
Couldn't get it in his head for a few seconds why I was using multipliers... it's cause multipliers allow for changing server limits real time, and still allowing the groups to have more than set on the server without changing configs.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #636 on: August 01, 2010, 09:52:59 AM »
I still used static numbers instead of multipliers.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline MaMuS

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: URestrict
« Reply #637 on: August 01, 2010, 10:19:49 AM »
Made it load with Linux. The trick seems to be that you can't have the ULib directory with case.

Renaming .../URestrict/lua/ULib to .../URestrict/lua/ulib made it load the first module.

To load everything else I edited .../URestrict/lua/ulib/modules/urestrict.lua and .../URestrict/lua/ulib/modules/base/init.lua to reflect the new directory path.


Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #638 on: August 01, 2010, 10:28:02 AM »
Revision 33:
     - Fix thanks to MaMus finding out the conflict with Linux based servers with the case of (ULib)
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #639 on: August 01, 2010, 11:03:46 AM »
Jay, ULib svn's fix for compatibilty with linux was to change all ULib and ULX folder paths to lowercase, including not only the folder name, but the actual paths within the code too.
I recommend for standardization sake you go ahead and make "URestrict" be "urestrict" too.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline guitarfreak10452

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URestrict
« Reply #640 on: August 01, 2010, 09:45:06 PM »
So i downloaded the SVN and when i went into gmod and typed in URestrict, it said unknown command. Can u help me?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #641 on: August 02, 2010, 07:26:28 AM »
Try lowercase , "urestrict"
SVN of all our projects have been changing somewhat lately to make them compatible with linux.
If that doesn't work, make sure ULib is running (check your server console during startup, let us know any errors about it)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline guitarfreak10452

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URestrict
« Reply #642 on: August 02, 2010, 01:05:11 PM »
im not sure how to check if ULib is running. i dont know how to activate it. couldnt really find a whole lot of instructions. i suppose that is probably y. can u tell me how to check and get that working?
« Last Edit: August 02, 2010, 08:03:12 PM by guitarfreak10452 »

Offline MaMuS

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: URestrict
« Reply #643 on: August 03, 2010, 06:11:18 AM »
check for this on your server log:

Code: [Select]
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/datastream.lua    //
//  shared/misc.lua          //
//  shared/util.lua          //
//  server/upgrade.lua       //
//  shared/hook.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////

if you can't find it, you don't have ULIB....

ULIB is here: http://ulyssesmod.net/?UL=download

Offline robdog121

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: URestrict
« Reply #644 on: August 03, 2010, 06:38:38 AM »
GREAT WORK, i had tried changing things to lower case already but somehow failed :p

also yeah while urestrict was not working on mah old linux server i used unolimiter, umm i think changing the multiplier thing still effected all sbox limits which i dont like, coz this can cause ppl with respected to have double lights instead of normal. so yeah.

all i need now is to fix the  PHX problem i was having with linux (i would need to edit each file, i posted on facepunch asking ppl just said all this complex stuff and wer rude)
so i thought this lol.
they could have done what you have and fixed the capital problem and updateed svn ima go ask them now :P

once again thanks and love URESTRICT!!!