[HELP] Nation chat

Results 1 to 10 of 10
  1. #1
    Valued Member EricThom is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    [HELP] Nation chat

    Some1 please tell me some string or packet of nation chat in source code 4.2....i wanna create it in source code 4.3
    Please give me an answer, don't delete this thread....


  2. #2
    Valued Member 4TheEnjoy is offline
    MemberRank
    Feb 2016 Join Date
    109Posts

    Re: [HELP] Nation chat

    you can take a look ep3.5 code

  3. #3
    Valued Member EricThom is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    Re: [HELP] Nation chat

    But source 3.5 dose'nt have nation chat....

  4. #4
    The Worst One inetpub is offline
    MemberRank
    Oct 2012 Join Date
    C:Location
    232Posts

    Re: [HELP] Nation chat

    So you have to copy others work (for ex. from 3.5 src) otherwise you cannot do that simplest mod?
    Anyway u can always add new 'packet' if u cannot find correct one to work with...

  5. #5
    [HELP] Nation chat Future is offline
    LegendRank
    Dec 2011 Join Date
    2,265Posts

    Re: [HELP] Nation chat

    As said by others you'd need to develop that feature. It's not existent in any code parts from masang as they never built such functionality. Even though simple, it's quite a hassle if you want to do it correctly and NOT with cheap edits to existing packets that can cause trouble later on.

    I can give you a few tips of files / systems their chat system resides in, so you can fiddle around yourself:

    Client sided:
    • CINFGameMainChat::WndProc(Macro) (specially WM_MOUSEMOVE, WM_LBUTTONDOWN, WM_KEYDOWN)
    • CINFGameMainChat::ChangeChatMode
    • CINFGameMainChat::ChatModeChack
    • CIMSocket::OnRecvdPacket
    • CAtumApplication::IMSocketChat...
    • AtumProtocol.h for the chatting packets (MSG_IC_CHAT_... and MSG_FI_CHAT....)


    Server sided:
    • CIMWinSocket
    • CIMIOCPSocket
    • AtumProtocol.h for the chatting packets (MSG_IC_CHAT_... and MSG_FI_CHAT....)


    Basically the chatting works like this:

    1. User hits enter on chat message (WM_KEYDOWN, VK_RETURN)
    2. Chat message is evaluated
    3. Chat message is sent to the IM Server (CIMSocket, CIMIOCPSocket)
    4. Chat message is read and evaluated by the IM Server (CIMIOCPSocket)
    5. Chat message is redirected to the Field Server if required (CIMIOCPSocket, CIMWinSocket)
    6. Either Field OR IM Server distribute the message to all clients (CIMIOCPSocket, CIMWinSocket)
    7. Respective clients receive the message and display it in the chat (CAtumApplication::IMSocketChat..., CINFGameMainChat)


    That should help you to modify the needed things or best case to create your own packets for this.

  6. #6
    Valued Member 4TheEnjoy is offline
    MemberRank
    Feb 2016 Join Date
    109Posts

    Re: [HELP] Nation chat

    build bin and join game.
    after then write map chat, you will see.
    like \mStaff:abc abc abc
    or \cANI or \eBCU
    you can search \mStaff word where is

  7. #7
    [HELP] Nation chat Future is offline
    LegendRank
    Dec 2011 Join Date
    2,265Posts

    Re: [HELP] Nation chat

    Quote Originally Posted by 4TheEnjoy View Post
    build bin and join game.
    after then write map chat, you will see.
    like \mStaff:abc abc abc
    or \cANI or \eBCU
    you can search \mStaff word where is
    That is if you're using the Combat Rivals ep3.5 release only

  8. #8
    Valued Member EricThom is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    Re: [HELP] Nation chat

    thanks everyone. By the way I want to ask how to fix can not download HackShield?

  9. #9
    Valued Member EricThom is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    Re: [HELP] Nation chat

    I have a problem, it display in System chat. I think the problem is here
    http://sv1.upsieutoc.com/2016/11/13/Untitled00fb5.png

  10. #10
    [HELP] Nation chat Future is offline
    LegendRank
    Dec 2011 Join Date
    2,265Posts

    Re: [HELP] Nation chat

    Their sendstring system only shows messages in the system chat or as notice. You need to send one of the respective chatting packets.



Advertisement