[CSM] Colored names in chat [colored_names]

User avatar
Krock
Developer
 
Posts: 4096
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

[CSM] Colored names in chat [colored_names]

by Krock » Fri Apr 13, 2018 16:02

Colored Names


This post is more or less a converted copy of the README.md file.

Description
Image
This client mod colorizes the nicknames in-game, so communicating gets easier, even when many people are chatting with each other. On some servers with special chatting mods it may not detect the messages correctly or conflict with their formatting.

Installation
0. Close all Minetest processes
1. Join the Minetest directory which contains the directories mods, games, ...
2. (Create and) open the directory clientmods in this location
3. git clone https://github.com/SmallJoker/colored_names.git
5. (Create and) open the file mods.conf in clientmods
6. Add or update the line load_mod_colored_names = true
8. Start Minetest

Tested on: 0.4.17-dev (Dec 2017), 0.5.0-dev (fresh baked)
License: MIT
Links: GitHub Source (.git), Nasty *.zip
Last edited by Krock on Fri Apr 13, 2018 16:04, edited 1 time in total.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Moderator
 
Posts: 5455
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
Enrikoo
Member
 
Posts: 387
Joined: Thu Nov 16, 2017 18:18
Location: Germany
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Wed May 02, 2018 17:45

Krock: If I get damage I get some errors with the client. Could you find the bug?

If you find it then fix it please.
 

User avatar
Krock
Developer
 
Posts: 4096
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [CSM] Colored names in chat [colored_names]

by Krock » Thu May 03, 2018 16:03

Enrikoo wrote:If I get damage I get some errors with the client.

If you see errors: they're either logged in your debug.txt file or at least in the terminal/console window when you start Minetest from there. As I cannot reproduce this error, please provide that information so I know where I can begin to search for a solution.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Enrikoo
Member
 
Posts: 387
Joined: Thu Nov 16, 2017 18:18
Location: Germany
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Thu May 03, 2018 16:34

I got this error
Code: Select all
2018-05-03 18:31:51: ERROR[Main]: ModError: Runtime error from mod '' in callback on_damage_taken(): ....17-3d0617c-win64\bin\..\builtin\client\chatcommands.lua:64: attempt to concatenate local 'param' (a nil value)
2018-05-03 18:31:51: ERROR[Main]: Siehe debug.txt für Details.
 

User avatar
Krock
Developer
 
Posts: 4096
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [CSM] Colored names in chat [colored_names]

by Krock » Thu May 03, 2018 17:19

@Enrikoo: That bug is outside of this mods scope. Neither there's a "on_damage_taken" callback registered nor a call for "minetest.run_server_chatcommand". Search for the occurrence of "register_on_damage_taken" in your clientmods directory to find the bad mod which you should either update, disable or fix manually.
If this doesn't help, close all instances of Minetest and disable all client mods but colored_names. If you still get an error message, update or reinstall Minetest and check again. If the probelm persists, then post the error message here.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Enrikoo
Member
 
Posts: 387
Joined: Thu Nov 16, 2017 18:18
Location: Germany
GitHub: Enrikoo
IRC: Enrico - Enricoo - Enrlco
In-game: Enrico - Enriko

Re: [CSM] Colored names in chat [colored_names]

by Enrikoo » Thu May 03, 2018 18:39

Krock wrote:@Enrikoo: That bug is outside of this mods scope. Neither there's a "on_damage_taken" callback registered nor a call for "minetest.run_server_chatcommand". Search for the occurrence of "register_on_damage_taken" in your clientmods directory to find the bad mod which you should either update, disable or fix manually.
If this doesn't help, close all instances of Minetest and disable all client mods but colored_names. If you still get an error message, update or reinstall Minetest and check again. If the probelm persists, then post the error message here.

Ok I disabled all my csms and just have coloured_names enabled. With that I don't get errors. There's a csm issue.
 


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 1 guest