PDA

View Full Version : How to Change the ArcEmu Message at Startup



Bing
29-07-10, 03:12 PM
How to Change the Startup Message

It's in your src directory in arcemu-world. You have to edit CharacterHandler.cpp. I say to the leave the current message, but to add a line of text about your server as well.


// Revision
_player->BroadcastMessage("Revision: %s%u, Welcome to QualityWoW!", MSG_COLOR_CYAN, BUILD_REVISION);
// Bugs
_player->BroadcastMessage("Bugs: Please Send all bugs/problems to the Staff of QualityWoW!", MSG_COLOR_***HOTPINK);
// Recruiting message
_player->BroadcastMessage(RECRUITING);
// Shows Online players, and connection peak
_player->BroadcastMessage("Online Players: %s%u |rPeak: %s%u|r Accepted Connections: %s%u",
MSG_COLOR_***GREEN, sWorld.GetSessionCount(), MSG_COLOR_***BLUE, sWorld.PeakSessionCount, MSG_COLOR_***BLUE, sWorld.mAcceptedConnections);

Dimman
02-08-10, 07:58 AM
I remember when someone posted this on mmown and Hasbro enraged and trashed the thread :]

Avidgamer
02-08-10, 09:56 AM
As long as it helps some people then it's worth it really.

Bing
02-08-10, 01:54 PM
This is just an updated version as it used to look like this in the CharacterHandler.Cpp:


#ifdef WIN32
_player->BroadcastMessage("Powered by: %sArcEmu %s r%u/%s-Win-%s %s(Please report ALL bugs to ArcEmu.org/forums/)", MSG_COLOR_WHITE, BUILD_TAG,
BUILD_REVISION, CONFIG, ARCH, MSG_COLOR_LIGHTBLUE);
#else
_player->BroadcastMessage("Powered by: %sArcEmu %s r%u/%s-%s %s(Please report ALL bugs to ArcEmu.org/forums/)", MSG_COLOR_WHITE, BUILD_TAG,
BUILD_REVISION, PLATFORM_TEXT, ARCH, MSG_COLOR_LIGHTBLUE);
#endif

Vodca
27-08-10, 02:29 PM
Thanks for this, but why does it always say

"Online: 1, Peak:" and stuff like that. Is that in the startup message?

Dimman
27-08-10, 06:05 PM
Thanks for this, but why does it always say

"Online: 1, Peak:" and stuff like that. Is that in the startup message?
no the "Welcome to an arcemu based server ArcEmu - World of Warcraft server software package - Open Source Private Server - 3.3.5a (http://www.arcemu.org) rev: 101" something
you can also edit the peak / remove it.