ULX

Author Topic: UnoLimited - Change spawn limits per user group  (Read 34135 times)

0 Members and 1 Guest are viewing this topic.

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
UnoLimited - Change spawn limits per user group
« on: November 26, 2012, 08:20:58 AM »

UnoLimited v2.5.2 is based on the old UnoLimited v2.3 by JamminR and other contributors.

Features
  • Change Limits of ragdolls, props, effects, vehicles, NPCs and SENTs per User Group.
  • Fresh Code: I made a total code rewrite on the UnoLimited.
  • XGUI Powered: Now using XGUI for Limits management.
  • Access Flag: Allow which users can manage UnoLimited (UnoLimited -> unolimited manager).
  • Fully functional with Garry's Mod 13.
  • New Github Repository: You can download, add issues / bug reports and etc.
  • Garry's Mod 13 Workshop Ready.
  • Updates on the Fly: If you change any limits on XGUI, everybody will receive the new limits instantly, no need restart server.

New XGUI Interface:


Download Now: From Github or From Steam Workshop

For historical release, see archived release; http://forums.ulyssesmod.net/index.php/topic,3864.0.html
« Last Edit: January 16, 2017, 05:53:07 PM by nexbr »

Offline bobcat4848

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #1 on: March 15, 2013, 09:33:08 PM »
Can you do this with non-dedicated servers with a host?

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #2 on: March 15, 2013, 09:42:58 PM »
Can you do this with non-dedicated servers with a host?

I think it works with SinglePlayer or Listen Servers, never tested.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #3 on: March 15, 2013, 10:43:12 PM »
I think it works with SinglePlayer or Listen Servers, never tested.
Unless Gm13 changed, single player doesn't have limits. Guess garry figured you're limited by your hardware.
No idea what a listen server would do.
"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: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #4 on: October 13, 2013, 09:42:43 AM »
Though I think it was mentioned in the original release thread a few times, if you're using this on a non-Sandbox server, the gamemode you use will likely have some type of prop control and/or conflict with this.
UNoLimited was intended for Sandbox Build servers... your gamemode mileage may vary.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #5 on: October 15, 2013, 05:32:24 AM »
Could a limit of props per rank be implemented? So that you can make Administrators have so many along with the VIP... for e.g. VIP's can have 100 props as normal players can only have 50?

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #6 on: October 15, 2013, 07:01:04 AM »
That can be done, but need a complete Rewrite of the Module.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #7 on: October 15, 2013, 08:00:07 AM »
That can be done, but need a complete Rewrite of the Module.

Could you do that or would I need to?

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #8 on: October 15, 2013, 08:02:12 AM »
Well if you know LUA maybe you could do that.

I can do it, i just don't know when.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #9 on: October 15, 2013, 10:39:41 AM »
Well if you know LUA maybe you could do that.

I can do it, i just don't know when.

I don't know LUA :S I guess i'll just have to wait.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #10 on: October 15, 2013, 07:50:53 PM »
Uh, guys, no rewrite is necessary.
Unless nexbr really totally redid code to make it work (I didn't look)
Look at the top of the lua file.
Code: [Select]
-- The numbers are a percentage and will be multiplied to the actual sbox limit.
-- Range is 0 (0 percent) to 2 (200 percent). Setting a group to 0 will limit that group to nothing.
-- Example - Server has "sbox_maxprops 400" limit. .5 percent of that is 200 props.
-- Any group = .5 will have a 200 prop limit. However, 1.5 would give them 600
-- NOTE!!! - Any decimals will be rounded DOWN to nearest whole number.
-- If you allow sbox 1 of something...any multiplier below 1 will set that groups limit to 0. Any not 2 will be 1.
-- All groups not specified get 'standard' limit set in your server.cfg.
-- Any group set to -1 becomes unlimited
-- ==================
-- Edit the following table. Add groups as necessary. Add comma at end of previous line if additional added.

UNL.groups = {
superadmin = -1,
admin = 2,
operator = 1.5
}

That table is meant to be editable.
You add 'groups' as necessary.
Set multiplier 0 to 2 (nothing out of range)
group = #, that group would get <maxprops> multiplied by #
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #11 on: October 15, 2013, 08:18:25 PM »
Yes, i know that, but i'm rewriting all the code.

To Make UnoLimited more Flexible, not everybody knows how edit lua files.

So i'm adding a Panel on XGUI to do that.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: [GM13+] UnoLimited - No spawn limits for Admins or SuperAdmins
« Reply #12 on: October 19, 2013, 05:08:14 AM »
Yes, i know that, but i'm rewriting all the code.

To Make UnoLimited more Flexible, not everybody knows how edit lua files.

So i'm adding a Panel on XGUI to do that.

Have you updated it?

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #13 on: October 19, 2013, 05:38:23 AM »
As you can see on the Top of the Topic Yes.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #14 on: October 19, 2013, 08:21:14 AM »
Great work.
Thanks for bringing this to the modern Ulib and Gmod era.

EDIT - Oh, and though I don't have any strict 'version number' rules, the vague ideas I have about them in my head would have this perfectly fine at version 3.0.
You've made it yours..a new version number seems worthy. :)
« Last Edit: October 19, 2013, 08:25:10 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming