Jump to content
  • 0

Item prism error in whisper


ReFresh

Question

  • Silver

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

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.