mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
[Improvement] Filtered Messages Extension (#4435)
* [Improvment] Filtered Messages Extension Added: ItemSpeech 25 Strikethrough 26 Stuns 27 BardSongsOnPets 28 I wired up Strikethrough and Stuns as they already had message entries. ItemSpeech and BardSongsOnPets do not appear to be currently used in the source. Note: There are still 5 unknown Filters in RoF2 that need to be investigated: Achievments Fellowships Mercenary Messages PVP Messages Spam * Spelling Error * Missed some stun calls
This commit is contained in:
+6
-1
@@ -3403,6 +3403,11 @@ void Client::ServerFilter(SetServerFilter_Struct* filter){
|
||||
} else { // these clients don't have a 'self only' filter
|
||||
Filter1(FilterHealOverTime);
|
||||
}
|
||||
|
||||
Filter1(FilterItemSpeech);
|
||||
Filter1(FilterStrikethrough);
|
||||
Filter1(FilterStuns);
|
||||
Filter1(FilterBardSongsOnPets);
|
||||
}
|
||||
|
||||
// this version is for messages with no parameters
|
||||
@@ -12700,4 +12705,4 @@ bool Client::TakeMoneyFromPPWithOverFlow(uint64 copper, bool update_client)
|
||||
SaveCurrency();
|
||||
RecalcWeight();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user