Disabling MoTD.
Would it be possible to do so? And if so, is my method below the correct way? My reason for disabling this is because I have a much more dynamic custom MoTD and I'd rather it not send this one.
Line 427-443 of worldserver.cpp. - The original code without any modifications. Code:
case ServerOP_Motd: Code:
case ServerOP_Motd: |
As long as the client doesn't complain about not getting it, you can just comment out all but the break.
|
Quote:
|
Okay, I re-compiled with that and it didn't get rid of the MoTD. I found another occurrence in zoneserver.cpp. Lines 915-925. My again proposed fix for it, but this time in zoneserver.cpp and worldserver.cpp, not just worldserver.cpp.
Code:
case ServerOP_Motd: |
Even with this removed it still sends the messages, almost as though it's just bypassing this code for some reason. :|
I found the following in client.cpp, I believe this is where it's actually sent, thus why it's bypassing the other. Possibly, commenting this out will remove the sending of the MoTD. (Lines 826 - 841 in client.cpp) Code:
outapp = new EQApplicationPacket(OP_MOTD); |
All times are GMT -4. The time now is 05:34 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.