Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
How to repair that problem?
Quote:
1>xxx\dataserver\source_db\logproc.cpp(47): error C2371: 'LogAddHeadHex' : redefinition; different basic types
1>xxx\dataserver\source_db\logproc.h(18) : see declaration of 'LogAddHeadHex'
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
Lejman
How to repair that problem?
change void LogAddHeadHexFuncVoid(char* str,char* data,int len) in logproc.cpp for void LogAddHeadHexFunc(int Type,char* data,int len)
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
pegasus128
hello I would like to know
where in the protocol of gameserver put this function?
Protocol 0xF1
aRecv[1] -= 0x0A;
aLen = aRecv[1];
for(int i = 24; i<50; i++)
aRecv[i] = aRecv[i+10];
why are you doing this if you have the whole gameserver source? just rewrite the packet structure to fit the version you're using man.
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Yep, increase array size and no more, or I think read some base tutorial about asm/c/c++ ;)
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
I want to turn into a function and in gameserver
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
any major fixes or crashes i need to know about ?
i fixed login and some of the s4.6 packets /
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
how to change the protocol kor? to enter the user and pass with a client kor disconnects
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
someone could compile it in VS 2010?
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Could someone tell the correct value of the struct to the correct protocol?
struct PMSG_IDPASS
{
PBMSG_HEAD h;
BYTE subcode; // 3
char Id[10]; // 4
char Pass[10]; // ??????? - What is the correct value for protocol KOREAN?
DWORD TickCount; // 18
BYTE CliVersion[5]; // 1C
BYTE CliSerial[16]; // 21
};
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
Sunligth
Could someone tell the correct value of the struct to the correct protocol?
struct PMSG_IDPASS
{
PBMSG_HEAD h;
BYTE subcode; // 3
char Id[10]; // 4
char Pass[10]; // ??????? - What is the correct value for protocol KOREAN?
DWORD TickCount; // 18
BYTE CliVersion[5]; // 1C
BYTE CliSerial[16]; // 21
};
char pass[20]; for new versions of clients.
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
[RCZ]ShadowKing
char pass[20]; for new versions of clients.
unfortunately this value is not
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
Sunligth
unfortunately this value is not
for (int i = 24; i<52; i++) aRecv[i] = aRecv[i+2];
Here fix for 1.07.48kor Credits: Smallhabit
Try this:
#pragma pack(1)
struct PMSG_IDPASS
{
PBMSG_HEAD h;
BYTE subcode; // 3
char Id[10]; // 4
char Pass[10]; // E // 20 for GMO
BYTE UNK[2];
DWORD TickCount; // 18
BYTE CliVersion[5]; // 1C
BYTE CliSerial[16]; // 21
};
#pragma pack()
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Quote:
Originally Posted by
8bitcore
for (int i = 24; i<52; i++) aRecv[i] = aRecv[i+2];
Here fix for 1.07.48kor Credits: Smallhabit
Try this:
struct PMSG_IDPASS
{
PBMSG_HEAD h;
BYTE subcode; // 3
char Id[10]; // 4
BYTE UNK[2];
char Pass[10]; // E
DWORD TickCount; // 18
BYTE CliVersion[5]; // 1C
BYTE CliSerial[16]; // 21
};
on KOR packet the ID have 12 chars, so char Id[MAX_IDSTRING+2]; // 4
Re: GameServer 1.00.90 & DataServer 0.70.05 Source full
Hi guys!, i need help with this, my problem appear when i add some extra .cpp and .h to the project, i have no compile errors but yes exeption error 0x0000005.Access Violation. in debug mode and when execute program.
Can help me please?
Thanks!