Guest Posted April 2, 2020 Share Posted April 2, 2020 I noticed in the source that there is a message that when the player is killed by another one he gives the following call. That is not working, when another player kills someone, the message does not appear in the chat.  Quote  public readonly LocalizedString killed = @"{00} has been killed by {01}!";  And also when it leaves the server, even configuring, leaving the part blank. The server regenerates the file.  Link to comment Share on other sites More sharing options...
0 jcsnider Posted April 3, 2020 Share Posted April 3, 2020 The killed string is only used when the admin uses the servers kill command via the admin panel, server console, or the api. If you need that message for PvP then use events. https://github.com/AscensionGameDev/Intersect-Engine/blob/c85fe3381d2e6db6949aa8188cbd1c1a68b7ac7e/Intersect.Server/Admin/Actions/ActionProcessing.cs#L70 Â The left game message is here. You can remove or comment out this line with // https://github.com/AscensionGameDev/Intersect-Engine/blob/c85fe3381d2e6db6949aa8188cbd1c1a68b7ac7e/Intersect.Server/Entities/Player.cs#L304 Â Link to comment Share on other sites More sharing options...
0 Fugaku Posted April 3, 2020 Share Posted April 3, 2020 I am sure that it is not necessary to modify the source code, that can be done with global event. Link to comment Share on other sites More sharing options...
0 Guest Posted April 3, 2020 Share Posted April 3, 2020 I managed in an easier way, changing in the source what it saves in the text when the server opens., Â Â Â Â "left": "{00} has left {01}.", Link to comment Share on other sites More sharing options...
Question
Guest
I noticed in the source that there is a message that when the player is killed by another one he gives the following call.
That is not working, when another player kills someone, the message does not appear in the chat.
Â
Â
And also when it leaves the server, even configuring, leaving the part blank. The server regenerates the file.
Â
Link to comment
Share on other sites
3 answers to this question
Recommended Posts