Receive private messages through Excelsior API?

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Post Reply
PierreDole
Novice Scribe
Posts: 8
Joined: Sat Sep 12, 2015 3:59 pm

Receive private messages through Excelsior API?

Post by PierreDole »

Just like to ask if it is possible to receive ingame private messages through the uoex api. That would be pretty cool. :nod:
kurganwins
Journeyman Scribe
Posts: 27
Joined: Sun Jun 05, 2016 4:59 pm

Re: Receive private messages through Excelsior API?

Post by kurganwins »

Type [PM it will bring up the message system, find who u want to message and send them a message. Chat commands are here:

http://www.uoex.net/wiki/Commands
PierreDole
Novice Scribe
Posts: 8
Joined: Sat Sep 12, 2015 3:59 pm

Re: Receive private messages through Excelsior API?

Post by PierreDole »

I want to have the PMs in my chat window. :)
chat.png
chat.png (1.65 MiB) Viewed 3157 times
Jantra
Grandmaster Scribe
Posts: 72
Joined: Sun Apr 24, 2016 9:54 am

Re: Receive private messages through Excelsior API?

Post by Jantra »

How did you get a chat window going like that?
PierreDole
Novice Scribe
Posts: 8
Joined: Sat Sep 12, 2015 3:59 pm

Re: Receive private messages through Excelsior API?

Post by PierreDole »

With C# WPF. The Wrapper I use is based on EasyUO's uo.dll, so I just read the Journal on a timer tick and sort the messages in their categories. Unfurtunately there is a bug in the dll, it don't return the color of an journal entry but an empty string.
Since the global messeages start with an '[', etc, its easy to work around.
Post Reply