PDA

View Full Version : /who all trakanon & /who all kedge


Cottus
11-24-2010, 02:58 PM
Not sure if this a titanium only issue, but doing /who all trakanon and /who all kedge would always return empty (because its sending race flags instead of the who string)

So to fix change ClientList::SendWhoAll from:


if (whom) {

whomlen = strlen(whom->whom);

...


to:


if (whom) {

if (whom->wrace == 19) /* trakanon */
{
whom->wrace = 0xFFFF;
strn0cpy(whom->whom, "trakanon", sizeof(whom->whom));
}

if (whom->wrace == 103) /* kedge */
{
whom->wrace = 0xFFFF;
strn0cpy(whom->whom, "kedge", sizeof(whom->whom));
}

whomlen = strlen(whom->whom);

...