Cheshire Posted August 2, 2020 Share Posted August 2, 2020 [6.2] Display character level and class (Configurable + Language/Colour support)  Description: This patch adds some new configuration options to do the following:  0. Not change the way player names are displayed. 1. Show the player's level next to the character name. 2. Show the player's class and level above the character name.  These options are configured through the server options. There's full language support for both changed use cases, so you can tweak what it should say exactly as well as the layout of it. There's also custom colour support for the newly added class display line, so you can tweak that too if you'd like.  Note, this isn't the prettiest method of doing it. The nice way would be to make a new method that renders the additional label. But I just sort of abused the draw name method. It works, but it won't win any beauty contests.  Media:  Git Patch:  [Download] Supported Build: 0.6.2.421  Updates: [Download] - Displays NPC levels as well when displaying Player classes and levels. It would only do this when displaying only levels before.  Setup:  The following steps are REQUIRED before this will work properly!  Download and install the main patch file for the branch you are using. Download and install any update patches IN THE ORDER THEY ARE LISTED for the branch you are using. Compile and run the server and client, it should automatically generate the new configuration/language entries. Log in and see your class and level displayed!  Optionally, you could set the server config setting to the following switches: 0. Not change the way player names are displayed. 1. Show the player's level next to the character name. 2. Show the player's class and level above the character name.  As well as change the client's language file and some custom colours related to this if you'd like. But that's up to you.  Zetasis, Gibier, Zoagel and 9 others 8 3 1 Link to comment Share on other sites More sharing options...
Vallorz Posted September 7, 2020 Share Posted September 7, 2020 Hey, when I checked this patch with build 6.2 429, I get this error:  Quote error: patch failed: Intersect (Core)/Intersect (Core).csproj:229 error: Intersect (Core)/Intersect (Core).csproj: patch does not apply  When trying to apply the patch anyway, I get this:  Quote .git/rebase-apply/patch:45: trailing whitespace. error: patch failed: Intersect (Core)/Intersect (Core).csproj:229 error: Intersect (Core)/Intersect (Core).csproj: patch does not apply hint: Use 'git am --show-current-patch=diff' to see the failed patch Applying: Add the ability to show level and classes Patch failed at 0001 Add the ability to show level and classes When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".  Is this fixable? I am really new to Intersect and all of this stuff so this my first time trying to do a patch. Thanks <3 Link to comment Share on other sites More sharing options...
Cheshire Posted September 7, 2020 Author Share Posted September 7, 2020 I'm not sure, I'll have to take a look at why that's happening when I have time. Link to comment Share on other sites More sharing options...
Vallorz Posted September 7, 2020 Share Posted September 7, 2020 I was able to bypass this by doing "git apply -3 patchname.patch" and it seems to have compiled fine and it's working but I am a bit hesitant to if I should apply to my live server or not xD I will wait for you to check it and update me, much appreciated Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now