Have you tried setting your rights inside your save file to be DICEHOST or is it entirely based on the 22 factor?
|
hello rune server,
im trying to add new ranks with icons in it on ruse-base, i want to add a Dicer rank.
i added this in Modicon.java.
SUPPORT(837, 10),
MODERATOR(828, 1),
ADMINISTRATOR(829, 2),
OWNER(830, 3),
DEVELOPER(831, 4),
CONTRIBUTOR(833, 6),
MEMBER(834, 7),
YOUTUBER(1218, 8),
DICEHOST(1219, 22)
;
I putted the emblem for the dice rank in the cache under the name "1219.png" and playerrights "22". now I have everything updated only the problem is it doesnt appear, all i see everytime no matter which playerright i add i get this light blue icon : https://prnt.sc/o0kbnm
and in the cache that icon is under the number "836.png"
i've added the dicehost rank in playerrights :
MEMBER(-1, "<col=FED439><shad=0>", 1, 1),
YOUTUBER(-1, "<col=CD201F><shad=ffffff>", 1, 1),
DICEHOST(-1, "<col=CD201F><shad=ffffff>", 1, 1),
CRAP(-1, "<col=0><shad=FFFFFF>", 1, 1),
SUPPORT(-1, "<col=FFFFFF><shad=0>", 1, 1);
Does anybody know why the icon doesnt change.. please let me know !!
feel free to contact skype live:rickdekker2000 or [email protected]
Thanks for your time
Rick
Have you tried setting your rights inside your save file to be DICEHOST or is it entirely based on the 22 factor?
You probably changed code somewhere when adding the new rank that makes it so that crown is drawn every time as opposed to it being based on the data sent from the server.
There arent files for ranks in the base (RUSE)
so its based on the factor 22 or what ever number you give it @modicon.java :
DICEHOST(1219, 22)
;
private final int icon, rights;
private ModIcon(int icon, int rights) {
this.icon = icon;
this.rights = rights;
i cant find the code of anywhere in the source of this crown..
but the weird thing is when i "Save as" on the number the light Cyan blue icon is.. it changes but thats not what i want i just want to Add it and not replace it
Add me on discord, aNamedSoul#5110
Where in the client have you editted for crown drawing. Crowns won't work by just simply cache packing and changing data on the server (Unless the client is coded to do all the work from the data being sent from the server ; Which I doubt in this case). I'm assuming you've done some changes as a crown is being drawn when your that rank on the server. I'm also assuming that whatever you changed in the client, is what's causing the incorrect crown to load.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |