-
Posts
98 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Haruka
-
-
Do you have add acce system?
-
You're welcome
-
You're welcome!
-
Yes playersettingmodule.py in /root
-
Have you added the effects in playersettings.py?
-
Follow me!
Server:
In game/packet_info.cpp find this "Set(HEADER_CG_PONG, sizeof(BYTE), "Pong", true);"
replace with
"Set(HEADER_CG_PONG, sizeof(BYTE), "Pong", false);"
Client:
In PythonNetworkStream.cpp find function "bool CPythonNetworkStream::RecvPingPacket()" and change to:
Spoilerbool CPythonNetworkStream::RecvPingPacket() { Tracef("recv ping packet. (securitymode %u)\n", IsSecurityMode()); TPacketGCPing kPacketPing; if (!Recv(sizeof(TPacketGCPing), &kPacketPing)) return false; m_dwLastGamePingTime = ELTimer_GetMSec(); TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(TPacketCGPong), &kPacketPong)) return false; //if (IsSecurityMode()) // return SendSequence(); //else return true; }
In AccountConnector.cpp find "bool CAccountConnector::__AuthState_SendPong()" and change to:
Spoilerbool CAccountConnector::__AuthState_SendPong() { TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(kPacketPong), &kPacketPong)) return false; //if (IsSecurityMode()) //return SendSequence(); return true; }
Hello,
I've seen a lot of questions about header 254 error in server logs, and all what I've found were diffs for binaries. Below you will find a way how to fix it in source.
Let's start:
SERVER:
In game/packet_info.cpp find this "Set(HEADER_CG_PONG, sizeof(BYTE), "Pong", true);" replace with "Set(HEADER_CG_PONG, sizeof(BYTE), "Pong", false);"
CLIENT:
All changes will be in UserInterface folder:
In PythonNetworkStream.cpp find function "bool CPythonNetworkStream::RecvPingPacket()" and change to:
bool CPythonNetworkStream::RecvPingPacket() { Tracef("recv ping packet. (securitymode %u)\n", IsSecurityMode()); TPacketGCPing kPacketPing; if (!Recv(sizeof(TPacketGCPing), &kPacketPing)) return false; m_dwLastGamePingTime = ELTimer_GetMSec(); TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(TPacketCGPong), &kPacketPong)) return false; //if (IsSecurityMode()) // return SendSequence(); //else return true; }
In AccountConnector.cpp find
"bool CAccountConnector::__AuthState_SendPong()"
and change to:
bool CAccountConnector::__AuthState_SendPong() { TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(kPacketPong), &kPacketPong)) return false; //if (IsSecurityMode()) //return SendSequence(); return true; }
In GuildMarkDownloader.cpp find
"bool CGuildMarkDownloader::__LoginState_RecvPing()"
and change to:
Spoilerbool CGuildMarkDownloader::__LoginState_RecvPing() { TPacketGCPing kPacketPing; if (!Recv(sizeof(kPacketPing), &kPacketPing)) return false; TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(TPacketCGPong), &kPacketPong)) return false; //if (IsSecurityMode()) //return SendSequence(); //else return true; }
In GuildMarkUploader.cpp find
"bool CGuildMarkUploader::__LoginState_RecvPing()"
and change to:
Spoilerbool CGuildMarkUploader::__LoginState_RecvPing() { TPacketGCPing kPacketPing; if (!Recv(sizeof(kPacketPing), &kPacketPing)) return false; TPacketCGPong kPacketPong; kPacketPong.bHeader = HEADER_CG_PONG; if (!Send(sizeof(TPacketCGPong), &kPacketPong)) return false; //if (IsSecurityMode()) //return SendSequence(); //else return true; }
- 1
-
Welcome!
-
What's the problem with this quest?
-
Change it to 40k
-
Man,change to 40k+
-
I'm at work now.I can't.
-
If i build in 2013_xp and i use it on windows xp,it's works..
-
I'm waiting you,no problem ahahha
- 1
-
Can you try to compile cryptopp lib on 2013_XP and client,too?
- 1
-
Okey.
Compile it on Distribute
- 1
-
It's a problem about msm
-
I don't understand..
You need to test your game and find bugs..
-
You could try putting 2013_xp
- 1
Anti - exp bug donate for guild ?
in Community Support - Questions & Answers
Posted
It's source.