Poll

Was this module useful, and helpful?

Yes it was :)
114 (95.8%)
No it was not :(
5 (4.2%)

Total Members Voted: 118

Author Topic: Autopromote XGUI Version [4.09v]  (Read 93135 times)

0 Members and 1 Guest are viewing this topic.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Autopromote XGUI Version [4.09v]
« on: November 30, 2013, 02:42:59 AM »
Autopromote XGUI Version

This plugin is better for those big servers with ton of groups. This is basically any regular autopromote, but this one involves xgui, and allows you to change things while in game. This requires utime, and this also goes well with my other plugin; Utime Hour Changer , so you can test if it works for you :p
I should of uploaded this like six months ago, so yeah... better late then never. This was originally made by one of my friends named "Lead4U", but he abandoned the project, and it stopped working after some time, so I came back and fixed it now. This is my second to last project for this year, my last project is going to be my super project that a lot of you guys have been waiting for. :)

Please Keep Note:
If you like this addon, I would really appreciate a "Compliment" Karma which is located next to my name. That's how I know you care :)
You must be registered and logged in the ulx forum to see the download link which is found under the preview image


Requirements:
Ulx 3.50+
ULib 2.50+
Current version of Utime

HOW TO USE:
You'll need superadmin (unless you have a rank that inherits from superadmin w/e), and go to Settings > APromote. Make sure it's enabled, and then you can start adding your hours to the ranks and such.
Hour -1 means it's disabled and that group will be ignored completely.
Play Sound is when someone gets promoted, it will play a small sound to that player.
Global Sound will play that sound to everyone.
Confetti will just make an effect around the promoted player, and will go away after 5 seconds.
Auto Demote is dangerous if you haven't set all your usergroups hours yet. I suggest before setting this to yes is you set all your usergroups hours first, then turn that on if you want to. It's not required to be on. What auto demote does is if you are part of a usergroup's hours that are higher than the hours you actually have, it willl demote you to the next usergroup below your current usergroup (unless that usergroup is above group user, as it can not be demoted back down.)


FEATURES:
  • Default Permission set to Super Admins. This can be changed in the Groups tab in !xgui


KNOWN BUGS:
Maybe being dumb you can cause problems.


Preview:



DOWNLOAD LINK BELOW
You must be registered and logged in the ulx forum to see the download link which is found under the preview image
« Last Edit: July 02, 2015, 10:33:35 AM by JamminR »
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Autopromote XGUI Version
« Reply #1 on: November 30, 2013, 07:55:48 AM »
Nice simple configuration, chaos. What does auto demote do?

Also, this is apparently my 5300th post. I feel old.
Experiencing God's grace one day at a time.

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #2 on: November 30, 2013, 10:33:23 AM »
Nice simple configuration, chaos. What does auto demote do?

Also, this is apparently my 5300th post. I feel old.


I should better explain myself in the original post.

(This would either happen if you have deleted the sv.db (for w/e odd reasons) or utime has suddenly stopped working, or your using my addon to lower players time)
So say you have all groups set and you(as a player) have 50 hours:
operator - 5 hours
admin - 10 hours
superadmin - 50 hours

So you assume you will be promoted to superadmin, and that is correct.. Now, let's say somehow your time got (re)set to 49 somehow, well the script would automatically demote you back to admin usergroup.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Re: Autopromote XGUI Version
« Reply #3 on: November 30, 2013, 03:10:26 PM »
I'm going to assume if you are a higher rank in an inheritance tree than what is set as your promotion ranks, you won't be demoted back to the lower rank when you meet the required time. Is this correct?
Also, would turning on Auto Demote affect this?



First post! Hello, world of Ulysses! :D
« Last Edit: November 30, 2013, 04:06:24 PM by Princess Twilight Sparkle »
bw81@ulysses-forums ~ % whoami
Homepage

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #4 on: November 30, 2013, 06:03:48 PM »
I'm going to assume if you are a higher rank in an inheritance tree than what is set as your promotion ranks, you won't be demoted back to the lower rank when you meet the required time. Is this correct?
Also, would turning on Auto Demote affect this?



First post! Hello, world of Ulysses! :D

I'm not sure if I can take that username serious but I will attempt to.

As long as you make the high ranks excluded (-1 hours) you will not be demoted back down (if you even have auto demote on anyways). I really don't suggest even having Auto Demote on as it's not really needed, and if you or anyone doesn't understand it, it's best to just leave it off.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Autopromote XGUI Version
« Reply #5 on: December 02, 2013, 07:21:52 PM »
Off-topic split
Never start a new release thread just to get back on topic.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #6 on: December 02, 2013, 08:32:40 PM »
Off-topic split
Never start a new release thread just to get back on topic.

That works to.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
Make APromote work with Inheritance disabled
« Reply #7 on: February 01, 2014, 02:15:53 PM »
Hi there,

So, essentially what it says in the title: can Apromote work with inheritance disabled?

Thanks
Haz
« Last Edit: February 01, 2014, 04:17:56 PM by HazCP »

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Make APromote work with Inheritance disabled
« Reply #8 on: February 01, 2014, 05:36:55 PM »
Hi there,

So, essentially what it says in the title: can Apromote work with inheritance disabled?

Thanks
Haz

Yes it can, or it should. I think I tested it while I had inheritance was off, as I usually don't set it up correctly on my test servers.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline HazCP

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
  • Founder of KGN
Re: Autopromote XGUI Version
« Reply #9 on: February 02, 2014, 05:29:30 AM »
I'm not sure if it does. So I've got my regular rank at 20 hours. uTime on one of my player is 21 hours  and yet no promotion. He's a member rank, which can only be acquired by joining our forums.. Is that the problem?

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #10 on: February 02, 2014, 01:56:14 PM »
I'm not sure if it does. So I've got my regular rank at 20 hours. uTime on one of my player is 21 hours  and yet no promotion. He's a member rank, which can only be acquired by joining our forums.. Is that the problem?

No, it shouldn't be a problem. This might be a stupid question, but I want to ask it anyways for reinsurance.

On the left side buttons in this picture, those are all the settings that are on be default (which personally I think should be left like that). I'd make sure that you have enabled on, because if it's off than that is your issue... Please tell me if that wasn't your issue, because than I'll get on my garrysmod sever without inheritances and test it.
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline d162740

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #11 on: February 04, 2014, 04:17:30 AM »
No, it shouldn't be a problem. This might be a stupid question, but I want to ask it anyways for reinsurance.

On the left side buttons in this picture, those are all the settings that are on be default (which personally I think should be left like that). I'd make sure that you have enabled on, because if it's off than that is your issue... Please tell me if that wasn't your issue, because than I'll get on my garrysmod sever without inheritances and test it.

I got same problem too. After i installed the addon , it works . It promoted all my online user who played over 30 hours. But now (2 weeks after) , some player told my that he played over 1 days and got nothing. I want to know when would the system check the played time of the player and promote them.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Autopromote XGUI Version
« Reply #12 on: February 04, 2014, 08:05:53 AM »
1 day is not 30 hours...
Out of the Garry's Mod business.

Offline d162740

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Autopromote XGUI Version
« Reply #13 on: February 04, 2014, 08:36:08 AM »
1 day is not 30 hours...

Sorry , my fault . I want to say 1 day 6 hours .

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: Autopromote XGUI Version
« Reply #14 on: February 04, 2014, 03:41:04 PM »
Sorry , my fault . I want to say 1 day 6 hours .

Please provide this for me, and I'll get back to you ASAP:
[1] The players name who is not being promoted (exactly how it's spelled with uppercase {just copy and past please}):
[2] Players STEAMID(I hope you know how to get that):
[3] Your server IP(I'll join it and see what's going on {and no I do not need any more of admin/mod, nor will I ask for it}):

Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.