EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   /who all trakanon & /who all kedge (https://www.eqemulator.org/forums/showthread.php?t=32532)

Cottus 11-24-2010 02:58 PM

/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);

                ...



All times are GMT -4. The time now is 06:43 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.