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....
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....
you can take a look ep3.5 code
But source 3.5 dose'nt have 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...
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:
- User hits enter on chat message (WM_KEYDOWN, VK_RETURN)
- Chat message is evaluated
- Chat message is sent to the IM Server (CIMSocket, CIMIOCPSocket)
- Chat message is read and evaluated by the IM Server (CIMIOCPSocket)
- Chat message is redirected to the Field Server if required (CIMIOCPSocket, CIMWinSocket)
- Either Field OR IM Server distribute the message to all clients (CIMIOCPSocket, CIMWinSocket)
- 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.
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
thanks everyone. By the way I want to ask how to fix can not download HackShield?
I have a problem, it display in System chat. I think the problem is here
http://sv1.upsieutoc.com/2016/11/13/Untitled00fb5.png
Their sendstring system only shows messages in the system chat or as notice. You need to send one of the respective chatting packets.