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

0 Members and 1 Guest are viewing this topic.

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #15 on: October 19, 2013, 08:23:26 AM »
Great work.
Thanks for bringing this to the modern Ulib and Gmod era.

OK, I'm glad you liked.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #16 on: November 04, 2013, 11:41:55 AM »
Doesn't work for 2.5. DarkRP? I've set Admin's etc to have more props, however they dont? I have 60 default on the server and when I put Administrator to have 2.0 they dont have 120? When I put SuperAdmin's to Unlimited they can only have 60.

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 #17 on: November 04, 2013, 12:09:18 PM »
Liam, years ago during my role in UnoLimited, I found that DarkRP uses some of the exact same functions to limit banned props and other limits as UnoLimited does.
It was a conflict that couldn't be helped, other than to not try to use both.
It's likely the DarkRP code hasn't changed, and you'd need to most likely ask the DarkRP authors to write in the same 'group limit' functions as UnoLimited does.
Reference old thread discussion history @ http://forums.ulyssesmod.net/index.php/topic,3864.msg17257.html#msg17257
Nexbr may of course dig deeper and verify, but that would be my guess.
"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: UnoLimited -- Change Spawn Limits per User Group.
« Reply #18 on: November 04, 2013, 12:51:20 PM »
Doesn't work for 2.5. DarkRP? I've set Admin's etc to have more props, however they dont? I have 60 default on the server and when I put Administrator to have 2.0 they dont have 120? When I put SuperAdmin's to Unlimited they can only have 60.

Try change to Max Value Multiplier, but i think is that DarkRP is OverWriting these Hooks.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #19 on: November 04, 2013, 02:24:40 PM »
Liam, years ago during my role in UnoLimited, I found that DarkRP uses some of the exact same functions to limit banned props and other limits as UnoLimited does.
It was a conflict that couldn't be helped, other than to not try to use both.
It's likely the DarkRP code hasn't changed, and you'd need to most likely ask the DarkRP authors to write in the same 'group limit' functions as UnoLimited does.
Reference old thread discussion history @ http://forums.ulyssesmod.net/index.php/topic,3864.msg17257.html#msg17257
Nexbr may of course dig deeper and verify, but that would be my guess.

So I have to ask the creators, That's going to be a mission. :S
Thanks for the reply anyway :)

Try change to Max Value Multiplier, but i think is that DarkRP is OverWriting these Hooks.

I don't understand?
Thanks for the reply. :)

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #20 on: November 04, 2013, 02:28:16 PM »
Try Move the Limit Slider to Maximum value.

But i think the problem is DarkRP, It are Overwriting the UnoLimited Limits Manager.

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #21 on: November 04, 2013, 04:19:20 PM »
I think i know a way to Overwrite DarkRP or any other Gamemode, i'll update the Addon in the next days.

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 #22 on: November 04, 2013, 07:06:41 PM »
I don't understand?
He's saying try setting a different setting, but, he believes DarkRP uses the same Gmod hooks that UNoLimited does.
The same answer as me but with an additional step.

I think i know a way to Overwrite DarkRP or any other Gamemode, i'll update the Addon in the next days.
Be careful..though you could set a ULib hook priority value, you might break what other mods, including DarkRP, are using to do.
I think DarkRP uses the hooks for prop banning. (I've not looked at the DarkRP code in years to know)
"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: UnoLimited -- Change Spawn Limits per User Group.
« Reply #23 on: November 05, 2013, 08:26:34 AM »
I think i know a way to Overwrite DarkRP or any other Gamemode, i'll update the Addon in the next days.

This would be good if you can do it, thanks.

EDIT- This was my response when asking him (https://github.com/FPtje/DarkRP/issues/1149)
« Last Edit: November 05, 2013, 08:34:46 AM by xLiaMz »

Offline nexbr

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 5
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #24 on: November 05, 2013, 11:43:11 AM »
I just tested UnoLimited on DarkRP.

it is working Fine.




Try update your DarkRP.

And check if you have any other addon that can restrict Props limits.
« Last Edit: November 05, 2013, 11:44:47 AM by nexbr »

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #25 on: November 06, 2013, 08:16:51 AM »
I'm using DarkRP 2.5 and im 100% sure its not working for me, Ill test it again soon and give you the results.

EDIT - Working now, I don't know what I did but i believe it is (I tried this with max props set to one, hope it works when its 60)
« Last Edit: November 08, 2013, 03:02:44 AM by xLiaMz »

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #26 on: November 09, 2013, 06:39:51 PM »
The limit doesn't count when trying to stack things, idk if you could edit this or if its stacker's fault anyway thought I'd let you know.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #27 on: November 20, 2013, 12:09:13 PM »
Last post - "The limit doesn't count when trying to stack things, idk if you could edit this or if its stacker's fault anyway thought I'd let you know."

Also, would this have something to do with certain ranks not been able to spawn in any props?

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 #28 on: November 20, 2013, 03:14:30 PM »
Liam, It works for nexbr and I in Sandbox.
It works for nexbr in his quick test of DarkRP.
It's likely you have another addon that's conflicting in someway.
If there's another mod that overwrites the same garry's functions UnoLimited uses, then no, there's no way nexbr (or I) can edit to fix.
It's up to you to determine those answers, and the DarkRP author is apparently not going to help you by adding group limits.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline nex86

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: UnoLimited -- Change Spawn Limits per User Group.
« Reply #29 on: March 14, 2015, 02:44:34 PM »
it does not pop up in xgui and neither in the permissions.
I have it installed correctly like the other mods. what is the problem here?