• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[SHARE] Welcome Announcement

Banned
Banned
Joined
May 22, 2020
Messages
226
Reaction score
72
CPP: s_CFieldServerMsg.cpp

Find: if( pGLChar->m_wLevel == 1 && pGLChar->m_vSavePos.x == 0.0f && pGLChar->m_vSavePos.z == 0.0f )
Add Below:
Code:
/*Welcome announcement by Jeey, 06/10/23*/
CString strMessage;
GLMSG::SNET_SERVER_GENERALCHAT netmsgchat;
strMessage.Format("Let's Welcome %s(%s) for joining our server", pGLChar->m_szName, GLCONST_CHAR::strSCHOOLNAME[pGLChar->m_wSchool].c_str());
netmsgchat.SETTEXT(strMessage.GetString());
netmsgchat.bNotify = true;
netmsgchat.iColor = 6;
SendAllClient(&netmsgchat);

CPP Header: s_CFieldServer.h
Add to include:
C++:
#include "../Lib_Client/G-Logic/GLContrlServerMsg.h"
 
RaGEZONE VIP
[VIP] Member
Joined
Jul 18, 2023
Messages
373
Reaction score
78
Thanks for sharing
1699431001206 - [SHARE] Welcome Announcement - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 27, 2022
Messages
27
Reaction score
4
Can anyone help this error?
 

Attachments

You must be registered for see attachments list
Elite Diviner
Joined
Jun 18, 2023
Messages
437
Reaction score
245
I successfully added and compile it without any errors, but it doesn't show on my General.

1699562686863 - [SHARE] Welcome Announcement - RaGEZONE Forums


This is the code, and also added header to it too.

1699562786562 - [SHARE] Welcome Announcement - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Elite Diviner
Joined
Jun 18, 2023
Messages
437
Reaction score
245

Attachments

You must be registered for see attachments list
Last edited:
Back
Top