View Single Post
  #1  
Old 11-24-2010, 02:58 PM
Cottus
Fire Beetle
 
Join Date: Sep 2010
Posts: 11
Default /who all trakanon & /who all kedge

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:

Code:
	if (whom) {
		
		whomlen = strlen(whom->whom);

		...
to:

Code:
	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);

		...
Reply With Quote