|
rank color change
|
|
02-27-2010, 04:17 PM
Post: #1
|
|||
|
|||
|
rank color change
First off, I would like to say I love the new forums
and minerCPP is awesome. Now to what I would like to have some help with. My C++ knowledge is very limited and I would like to know how to change the rank colors. The red for owner is too hard to read. Thank you, ziek |
|||
|
02-27-2010, 04:26 PM
(This post was last modified: 02-27-2010 04:26 PM by TkTech.)
Post: #2
|
|||
|
|||
|
RE: rank color change
Heya ziek1526. Sadly, you have to manually edit the color codes in the source code. The good news is its all in one spot.
Open up Server.cpp and go to line 1749. This is the function that returns the color codes based on the user level. If you want to change the color for the owner, edit: Code: if(userlevel == 255)Programming Discussion and Help | Want to email me? |
|||
|
02-27-2010, 04:43 PM
Post: #3
|
|||
|
|||
|
RE: rank color change
Thank you so much! and I'll make sure to break the software so I can find you some bugs
|
|||
|
02-28-2010, 02:37 AM
Post: #4
|
|||
|
|||
|
RE: rank color change
Heh, also you might want to change /help entry for owner to whatever new color you set.
minerCPP timeoutee
|
|||
|
02-28-2010, 05:43 AM
Post: #5
|
|||
|
|||
|
RE: rank color change
Also change the levelToClass() function, so they receive the proper message when you change their userlevel.
|
|||
|
03-06-2010, 07:55 PM
Post: #6
|
|||
|
|||
| RE: rank color change | |||
|
03-07-2010, 05:55 AM
Post: #7
|
|||
|
|||
|
RE: rank color change
The colors are listed in 3 places for each rank. the levelToClass() function, the help messages, and getColorCode().
If you change the colors you will have to change them in all three places. |
|||
|
03-07-2010, 11:10 AM
Post: #8
|
|||
|
|||
|
RE: rank color change
I can't understand
.
|
|||
|
03-11-2010, 06:36 AM
Post: #9
|
|||
|
|||
|
RE: rank color change
I have changed the rank names in all instances i could find yet it makes no effect, and the colors, and helpranks i cant even find the user levels and such, is it all in the server file?
|
|||
|
« Next Oldest | Next Newest »
|


and minerCPP is awesome. Now to what I would like to have some help with. My C++ knowledge is very limited and I would like to know how to change the rank colors. The red for owner is too hard to read. 

.