Autorank

Autorank

380k Downloads

Group in perms not valid

Towel98 opened this issue ยท 35 comments

commented

I'm using Pex as a permmisions plugin and I'm trying to get it to where after a certain amount of time a player gets a rank added on( sub rank). When I type in my group names in auto rank it tells me that the group is invalid and is not in the perms, I'm trying to use advanced configs.

commented

The player is still in the Scribler group I'm adding First/Second/Third/etc. to scribler group so that they get more perms. So essentialls if they have Third and are still in scribler they would have: Scribler,First,Second,Third under their perm groups. Also if I add in new groups above scribler, for exdample artist as a rank above scribler would this still work with ranking such as: Artist,Scribler,First,Second,Third?

commented

If a player is in groups Scribler and first, it will get the requirements for the first group, which in this case would be Scribler.

commented

I'll see what I can do.

commented

Every time It autoranks one group at the set time it spams a bunch of the others randomly. http://puu.sh/91d3h.png

commented

Can I see what you setup?

commented

I'm going to test your setup and see what I find.

commented

http://pastebin.com/MEnKJGsB

when it get to tone it spams other in random order.

commented

Okay, Thanks. You can alter the time to lower numbers, I had them that high cause that was the time I had played since putting autorank in, so I using times above my play time.

commented

I've messed around with your setup. Try new build 237, it should work.

commented

Okay, I'll tell you how it goes.

commented

So the spamming ranks is fixed now, but it's not taking times into account. I have the first one set to 55 minutes and when i got to 54 minutes it ranked me to I tried using ar check to see if that was working and it just ranked me up to second and every time after I typed ar check it ranked me again. So I think all that needs to be fixed is the requirements being taken accounted for in it. Here is pictures of ingame and console:
http://puu.sh/96Fr1/881951ccf0.jpg (In-Game)
http://puu.sh/96FsX/70e6754847.png (Console)

Advanced configs are same just changed times:
http://puu.sh/96Fv8/ae839f3678.png (Not the whole advanced config shown)

commented

Hmm, that's odd. I didn't change the settings for that. But I'll take a look

commented

Find Anything?

commented

Unfortunately no, it is working on my side, so I'm not sure what is wrong. I'll try to test with your new setup.

commented

okay

commented

I've recently contacted a old friend and he willingly made me a custom skript to do what I needed from autorank. Thank you for being so helpful through the past month but I'm gonna have to stop using autorank and use his skript. Thanks again and I hope the best. Topic can be closed.

commented

It's good to hear that you found another way. If you ever find yourself using Autorank again, don't be afraid to ask!

commented

Hmm, so if you remove the rank change, it breaks? What happens when it breaks?

commented

I got it working on your most recent build, But I want it to not change from on rank to another I was it to add a group, not set. (Pex user &p group add [Rank]). When I remove the change rank config, it breaks the requirements. I just want it to execute a command after they reach a certain gameplay time.

If this setup worked then I'd be fine, but it doesn't work.

ranks:
Scribler:
requirements:
time:
value: 1d
results:
command: 'pex user &p group add First'
message: 'Congratulation and thank you for playing for 1 day'

commented

Before I remove the rank change it lists the requirements for the next rank and says a next rank and then when I remove it, it says there is no next rank or requirements.

http://puu.sh/8JPvY.jpg

commented

Hmm, I'll take a look at the code for you.

commented

Thank you.

commented

Did you find anything?

commented

No sorry, not yet. I'm not sure what's causing this.

commented

Are you getting the error too, or is it just me?

commented

I'm not getting this error, that's why it is harder to fix.

commented

What does your config look like after you removed the rank change?

commented

Let me compile some things together.

commented

I think this is all the info that would be in any way of use to you for solving the issue. Browse through it. I got Server log, Autorank Advanced/Simple Config file, Autorank Settings file, Ingame Pictures for both when rank change is in and when it is not in the Advanced Config. Only look at the first rank bracket, the second one is of no use, I just never changed it. I want it so that after a certain amount of time played a command is executed; in this case "pex user &p group add First", this way they can have a rank added onto their account. Let me know if you need any other info.


With rank change in the config info:
http://pastebin.com/JGuq21WM

Ingame info with rank change:
http://puu.sh/8Uhjw.jpg


Without rank change in config info:
http://pastebin.com/T27R8iXr

Ingame info without rank change:
http://puu.sh/8UhHD.jpg

Plugins List:
http://pastebin.com/YAm8mQJb

commented

Okay, cause otherwise it only changes the rank and doesn't add ranks. This limits the ability to have sub rank perms that add onto a current rank.

Thanks for the info, let me know when you get that updated.

commented

Okay, so this is not a bug but a design flaw on our side. Autorank doesn't work with rank changes without actual rank ups yet, so I have to rewrite a pretty important piece of code. It can take up a few days

commented

Okay, this is fixed in dev. build 234. Download that one and let me know if it works!

commented

Okay, I'll get back to you when I put it in.

commented

Works now but there is a problem. When i type in the name of the rank under ranks it doesn't register unless i put the default rank down first. I'll put it in pastebin.

This is how I want it: http://pastebin.com/mFUCm6c7
Tells me there is no rankup or requirements

This is what it allows me to use: http://pastebin.com/L3UmQ05N
Using this second version bugs out the ranking, it will rank after the time for the first one and then bug out and start ranking the other ones in order before the time requirement has been reached.

Adding in Scribler(default) rank in the autorank didn't change anything just made it so nothing would rank.

Also when I have it this second way it says there is no rankup even though it is not defined in teh configs, removing this message would be nice for when rank change is not in configs. (if it's possible)

commented

The name of the group is the start group. So if you look at your second config file, you see the Scribler group that will add the rank First to the player. A person will only be able to get into that group if he is in the scribler group. Players in the First group will be able to get the group Second added after they played for 15 minutes and are in the First group. However, you're adding the groups and not overwriting it, thus Autorank still thinks the player is in the Scribler group.