View Single Post
10-31-13, 11:41 PM   #30
morpheusxeno
A Flamescale Wyrmkin
 
morpheusxeno's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 126
We are definitely making progress.

At least now we getting a different error. Regardless of how I put the character names in the top. Its always saying that the sender is not trusted.

CHAT_MSG_ADDON / RUN / Dêvoutlight / /dance
Sender not trusted!
:: /runto / devoutlight / /dance
Sending command to devoutlight
- /dance
SendAddonMessage / RUN / /dance / WHISPER / devoutlight-Tichondrius
CHAT_MSG_ADDON / RUN / Devoutlight / /dance
Sender not trusted

Edit ::::::

When commenting the code
Code:
	--if not TRUSTED_SENDERS[sender] then
	--	print("Sender not trusted!") -- #DEBUG
	--	return
	--end
But its really important that I dont have other people sending commands to the other client. It could be very dangerous.

When testing a few commands I sometimes get errors like...

Command Doesnt Work

CHAT_MSG_ADDON / RUN / Devoutlight / /say test 123
Running slash command...
Error running command:
- /say test 123
- [string "/say test 123"]:1: unexpected symbol near '/'

Command Worked

CHAT_MSG_ADDON / RUN / Devoutlight / /follow Devoutlight
Running slash command...
Error running command:
- /follow Devoutlight
- [string "/follow Devoutlight"]:1: unexpected symbol near '/'

When using the follow command I get an error, but It still follows.
__________________
My mother-in-law fell down a wishing well. I was amazed; I never knew they worked...

Last edited by morpheusxeno : 11-01-13 at 12:08 AM.
  Reply With Quote