Page 1 of 1
Receive private messages through Excelsior API?
Posted: Sun Jul 26, 2020 10:04 am
by PierreDole
Just like to ask if it is possible to receive ingame private messages through the uoex api. That would be pretty cool.

Re: Receive private messages through Excelsior API?
Posted: Sun Jul 26, 2020 3:48 pm
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
Re: Receive private messages through Excelsior API?
Posted: Sun Jul 26, 2020 4:00 pm
by PierreDole
I want to have the PMs in my chat window.

- chat.png (1.65 MiB) Viewed 11701 times
Re: Receive private messages through Excelsior API?
Posted: Sun Jul 26, 2020 5:05 pm
by Jantra
How did you get a chat window going like that?
Re: Receive private messages through Excelsior API?
Posted: Mon Jul 27, 2020 5:10 am
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.