ULX

Author Topic: UnoLimited - No spawn limits for Admins or SuperAdmins  (Read 101519 times)

0 Members and 2 Guests are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #30 on: August 10, 2009, 08:30:37 PM »
atomicspark... My idea wouldn't be a separate file... and would hopefully only be a one time edit.
To continue to keep it non-reliant on ULib, I'd just add a table at the top for people to edit similiar to
Code: [Select]
UnoGroups = {
admin = <#some multiplier#>
operator = <#some multiplier#>
...
}

Any one who spawned something that wasn't a member of those groups would simply be limited to the actual limit set on the server. Those in the groups would be limited to <multipler times limit>

Thats my general idea anyway. Still haven't fully written it in stone yet
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #31 on: August 11, 2009, 08:01:55 PM »
So if people didn't use ulib, it should get groups from Garry's Mod users.txt? Makes sense.

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #32 on: August 18, 2009, 02:05:21 PM »
Nice,
Will there be a SVN for this?
I hate to quote myself but this was dumb to ask! Something so small and don't rarely even need updates be a SVN is a joke...

I should have asked,
Will this be included into ULX/ULib later :)
 example: a way to set if users have the right to use it or not is by using the allows/deny system in the files users.txt, and or groups.txt or in-game/console commands

If you don't like my idea just ignore this than :)

Still love the addon :) very usfull

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #33 on: August 18, 2009, 03:39:11 PM »
Dv2236, though it's up to the rest of the team, I'd say probably not.
With the big changes coming to ULib, I don't think it would be overly difficult to make into a ULib group compatible addon, but, that would for all it's current intents and purposes complicate it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #34 on: September 06, 2009, 09:54:17 PM »
UPDATED
Version 1.1 can still be downloaded. - No ULib required. For admins and superadmins, gives no limit.
Version 2 now allows per-ULib group control, range 0 to 2 multiplier (can used decimals .75 , 1.5, etc), or -1 for unlimited.
See first post
« Last Edit: September 06, 2009, 10:08:39 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #35 on: September 06, 2009, 10:24:29 PM »
Yay! :D
Experiencing God's grace one day at a time.

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #36 on: September 07, 2009, 01:42:23 PM »
My players are apparently unable to spawn wiremod. I'm also getting this error spammed in my SRCDS console:

Code: [Select]
ULib/modules/UnoLimited.lua:32: attempt to index local 'ply' (a nil value)
My ULX/ULib are up-to-date as of today at 1PMish CST. My sv_downloadurl cache is also working properly. Since I'm not at home, I'm going to just remove the add-on for now. I'll try to debug later when I get off of work.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #37 on: September 07, 2009, 02:56:38 PM »
I'll have to troubleshoot later. Current in middle of Labor day family duties.
Wire must not follow Garry's sbox information to include the player...which, in it's own right..is odd.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline atomicspark

  • Full Member
  • ***
  • Posts: 196
  • Karma: 12
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #38 on: September 07, 2009, 02:59:34 PM »
Wire does use sbox_maxwire_*. Now if it's a custom script, I'm not sure. What is weird is I didn't get any errors last night. More troubleshooting is needed.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #39 on: September 07, 2009, 05:32:31 PM »
I was aware of the sbox_maxwire stuff... I'm just not sure why it would be causing problems.
It's my understanding that any GAMEMODE limit check sends 'player' being checked, and the 'string' of whats being checked sbox_maxwire_<string>
I'm starting to troubleshoot on my end now.
Putting latest svn of wire on my dev server to see if I get same problem.

EDIT - Found the problem, and I've not even started up my server yet.
Working on a resolution. It deals with something I've not really used before, so be patient while I teach myself.
« Last Edit: September 07, 2009, 05:56:27 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #40 on: September 07, 2009, 07:10:04 PM »
Release v2.1
 - Fixed error mentioned by AtomicSpark.


CheckLimit is a meta function for player... I was trying to call it as though it were literal.

Let me know if you see any more problems or have suggestions.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Joe_

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #41 on: September 18, 2009, 01:37:52 PM »
Hi,
I just did a fresh install of ULX and ULIB then put in UnoLimited v2.1. When I try to spawn a prop nothing happens, no matter whether im superadmin or regular player. Anyone else have this problem?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #42 on: September 18, 2009, 02:19:42 PM »
Hi,
I just did a fresh install of ULX and ULIB then put in UnoLimited v2.1. When I try to spawn a prop nothing happens, no matter whether im superadmin or regular player. Anyone else have this problem?

Is something supposed to happen when you spawn a prop? I think you're just supposed to be allowed more props.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #43 on: September 18, 2009, 03:21:58 PM »
Hi,
I just did a fresh install of ULX and ULIB then put in UnoLimited v2.1. When I try to spawn a prop nothing happens, no matter whether im superadmin or regular player. Anyone else have this problem?

Do you mean no prop spawns?
Check your server console make sure there's no lua error there.
Did you edit the file for your own groups? Even if not edited correctly, an error should appear.

Also, one thing to make sure... UnoLimited v2.1 requires ULib 2.(4!), which currently is SVN only.
If you're using the version downloaded from ulyssesmod.net/downloads, there is no full release there of 2.4 yet.
« Last Edit: September 25, 2009, 04:29:25 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline CTO_7

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #44 on: November 19, 2009, 10:47:33 PM »
I'm getting a conflict while useing darkrp it allows people to spawn props in bannedprops.lua whether be admin or just a normal user this overrides it