Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Rank allocation #394

Open
SleepingShadow-bit opened this issue Aug 3, 2022 · 3 comments
Open

Application Rank allocation #394

SleepingShadow-bit opened this issue Aug 3, 2022 · 3 comments

Comments

@SleepingShadow-bit
Copy link
Collaborator

SleepingShadow-bit commented Aug 3, 2022

-Enhancement -
Is it possible to add the rank "Admin" to an application?

IMG_20220803_215118

@FrutyX
Copy link
Collaborator

FrutyX commented Aug 4, 2022

It seems the script is loading available ranks, I am not sure if this is possible, but we keep it open for Apo & Thanos.

@FrutyX
Copy link
Collaborator

FrutyX commented Aug 26, 2022

Just leaving a note here, this is no easy task, because of the way this was implemented. It's locking on the delete rank button, and of course Admin/Master can't be be deleted, so they are excluded. Locking the right element (text in it) and applying will require much more changes to the script, I am not saying it's impossible, but it's very... tricky.

let rule = /<th>([^<]+)<br>\s*<a href="index\.php\?mod=guild&submod=deleteRank&rankId=(\d+)&sh=/;

@FrutyX
Copy link
Collaborator

FrutyX commented Aug 26, 2022

By the way, an extremely easy workaround that can be done in the game, just create a new rank (basically) Administrator2 with Admin permissions, and you are done, problem solved, lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants