I know this isnt the right place for this topic but i couldnt find any where else.
I have fcraft 0.537 (the latest one available on the website) and i wanted to get color names on it.
I used to have a server using 0.535 but that is outdated, but it had the thing which u could edit with visual c. But there isnt on this version.
Can someone help me, mainly fragmer and other hosts, how to get coloured names on this version.
Thanks
[CLOSED] Color names in 0.53x
-
- Offline
- Posts: 11
- Joined: August 4th, 2011, 2:21 pm
Re: Help
and another thing after comparing the two versions ive noticed the new version only gives me what looks like the bin folder for 0.535.
Does this have anything to do with my problem
Does this have anything to do with my problem
-
- Offline
- Posts: 11
- Joined: August 4th, 2011, 2:21 pm
Re: Help
and another thing
where can i get fcraft 0.6000
where can i get fcraft 0.6000
-
- Offline
- Posts: 11
- Joined: August 4th, 2011, 2:21 pm
Re: Help
Not to be annyoing fragmer, but could u ask my first question. How can i get the change color names thing for windows c cos it seems i only have what look like the bin folder from 0.535
Re: Help
To change name colors (on the released branch of fCraft) you need to open up playerinfo.cs (its in the player folder)
in playerinfo, look for a section annotated with "IClassy"
it should look like this:
you can then add your own name after this section using color code '&'
for example
when Fragmer releases branch 0.60x later this week, you will be able to change name colors with command /setinfo playername displayedname %1Name%2With%3Colors
you can get the source code from using svn with url http://svn.fcraft.net:8080/svn/fcraft
if you don't know how to do this... WAIT FOR BRANCH-0.60 TO BE RELEASED.
If you do modify the source code, remember to untick the "send all my bugs to fragmer" section in the advanced tab of the configtool.
k?
in playerinfo, look for a section annotated with "IClassy"
it should look like this:
Code: Select all
// implements IClassy interface
public string ClassyName {
get {
StringBuilder sb = new StringBuilder();
if( ConfigKey.RankColorsInChat.Enabled() ) {
for example
Code: Select all
public string ClassyName {
get {
StringBuilder sb = new StringBuilder();
if( ConfigKey.RankColorsInChat.Enabled() ) {
if (Name == "Jonty800") return "&1Jonty&4800";
sb.Append( Rank.Color );
}
if( ConfigKey.RankPrefixesInChat.Enabled() ) {
sb.Append( Rank.Prefix );
}
you can get the source code from using svn with url http://svn.fcraft.net:8080/svn/fcraft
if you don't know how to do this... WAIT FOR BRANCH-0.60 TO BE RELEASED.
If you do modify the source code, remember to untick the "send all my bugs to fragmer" section in the advanced tab of the configtool.
k?
You cannot use certain BBCodes: [img].
-
- Offline
- Posts: 11
- Joined: August 4th, 2011, 2:21 pm
Re: Help
okay thanks. Is there a exact time of when 0.600 brnachwill be released or is that yet to be decided
Re: Help
I guess it will be ready when Fragmer has tested all of it and finished off the important things on his to do list.
He said it would be released sometime this week, but there's always the change of unexpected delays.
He said it would be released sometime this week, but there's always the change of unexpected delays.
You cannot use certain BBCodes: [img].
- DreamingInsane
- Owner
- Offline
- Posts: 1303
- Joined: May 24th, 2011, 12:05 am
- Location: California, US
Re: Help
Can't guarantee a release some time soon.
Hopefully, He'll get around it.
Hopefully, He'll get around it.
"Words have no power to impress the mind without the exquisite horror of their reality.."
~ Edgar Allan Poe
~ Edgar Allan Poe