DinoDevs / GladiatusCrazyAddon

This was "A browser addon for the Gladiatus browser game."

Home Page:https://gladiatus.dinodevs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application Rank allocation

SleepingShadow-bit opened this issue · comments

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

IMG_20220803_215118

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

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=/;

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.