Jump to content

Item prism error in whisper


Recommended Posts

  • Gold

Hey guys,

I'm trying to color the text variable, but there's a problem. When I try to send a message to player, I'll get an erorr: item prism needed, also if I have item prism in my inventory, error will be same and the message won't be send.

I know why it's happening, it's because in server input_main.cpp exist a function, which is checking for the characters like | etc. But I cannot get rid out of it.

Someone got some idea how it could be solved?

PS: I don't want to remove item prism requirement for highlighting items in chat.

net.SendWhisperPacket(self.targetName, player.GetName() + " (" + str(player.GetStatus(player.LEVEL)) +") " + "|cFF8000FF" + text)

Thanks for possible answers!

Sincerely,

ReFresh

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.