
Emote
Because everyone loves to portray themselves in the third person
Total Downloads: 1,327 - First Release: Sep 22, 2015 - Last Update: Mar 25, 2017
- 5/5, 4 likes
-
-
Currently, the Emotes plugin compiles correctly and has no error messages from what I can see, but when typing an emote it does not replace the chat entry with the emote entry. Instead, both the chat message and the emote are displayed:
(20:55:23) | [Emote] STANNIS BARATHEON emoted: grins
(20:55:23) | [CHAT] STANNIS BARATHEON[36887/76561198009666310] :
Also, the /me command does not seem to be displaying/relaying emotes. It doesn't provide an error or an emote. Nothing happens when you enter this command. -
What plugins are you currently using?
What Server are you currently using it on?
DM me your server info so i could possible come have a look
Have you looked in all your log files? -
My mistake! The plugin does compile correctly (and has loaded), but has the following error message when using /me:
(09:33:23) | Failed to call hook 'TheFunction' on plugin 'Emote v1.0.7' (NullReferenceException: Object reference not set to an instance of an object)
There is no error message when using the chat entry of an emote,
ex:
Gyazo - e7e7022017f39c592c3bbca928565bed.png
BetterChat's latest version, with oxide's latest version, with the latest version of the Rust server build.
Also, yes, I will DM you my information, thank you very much!!! -
Could you try without Betterchat? UYnload BC then reload Emote - Hydra may have updated his Hooks
-
It works 100% as-intended without BetterChat loaded.
-
Well,, in that case may i be cheeky to ask to use your server as a test bed :/ not got any test stuff set up and recently closed down my dedi
-
Wulf Community Admin
@Hirsty, looking at your plugin... why are you hooking into OnBetterChat and OnUserChat at all? If the emotes are triggered by the /me command, then these hooks are not necessary at all and would only lead to conflicts like the above.
Also, [HookMethod("CheckForEmotes")] can be removed and you'd need to move your mute check to BetterChat Mute as it was split. I'd suggest removing the Puts(player.Name + " emoted: " + msg); log output too as it isn't really necessary. -
Ah thanks Wulf, havent really been focusing on plugins recently as been busy in rl
the Puts was there so console can see if emote is being used for anything naughty mainly
Edit3: was hooking On User Chat as when using my own would get the chat message then the emote message much like the issue above -
-
Wulf Community Admin
-
the Puts printing to console for every emote
-
Wulf Community Admin
-
Getting same issue with BetterChat loaded. Please update hooks or remove them.
-
Hmm have you updated to the latest version? As i was on with the server owner having the issue and patched it
-
Code:
Failed to call hook 'OnBetterChat' on plugin 'BetterChatMute v1.0.5' (InvalidCastException: Cannot cast from source type to destination type.) Failed to call hook 'OnBetterChat' on plugin 'Emote v1.0.9' (InvalidCastException: Cannot cast from source type to destination type.) Failed to call hook 'OnBetterChat' on plugin 'StickyChat v0.0.6' (InvalidCastException: Cannot cast from source type to destination type.) [Better Chat] Titanium: test Calling hook OnUserChat resulted in a conflict between the following plugins: BetterChat - True (Boolean), StickyChat (False (Boolean))
-
-
how do i enable it in chat for all players plus admin use in game
-
Wulf Community Admin
I'd suggest checking out the permissions tutorial from my signature link or directly under the Guides & Tips forum section.