Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Notice info when login


ReFresh

Question

  • Premium

Hey guys,

I want to make login info from source and I wanna ask, is that a right way how to do notice info?

input_login.cpp:

Spoiler
static void _send_login_notice_info(LPCHARACTER ch)
{
	ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("Information of server:"));
}

void CInputLogin::Entergame(LPDESC d, const char * data)
And add this above: _send_bonus_info(ch);
_send_login_notice_info(ch);

 

Just correct me if you have another better solution how to send this small ChatPacket at login.

Thanks for answers!

Sincerely,

ReFresh

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I've had systems to check pet/mount when you login doing the exact same thing, so yeah, i think that is one correct way to do it! (instead of checking pet/mount you send the message)

 

Note: i don't think it is strictly necessary to put it under or above "_send_login_notice_info", yet, it is a good place to do it.

It's all lies

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Activity

    1. 1

      Costume shining/costume effect system

    2. 992

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Biologist Manager (C++ & LUA)

    4. 3

      Visual studio 2022 compiling issue

    5. 63

      Metin2 | Mount System Renewal

    6. 58

      Metin2 2004 Beta Client

    7. 0

      🔥Paradise2 PVP SERVER GLOBAL!! EN-ES-PT 🕐📢Apertura 11 de diciembre 21 horas de España!

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.