Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Anyone try use s13 igcn client for this gs sources? Anyone have s13 gs with pdb?
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
minhvn12
/gpost work, /post not work
how to both server+client side scripts bro?
In this file (server side), they use a switch in ..\DATA\GameServerInfo - Command.dat [GameServerInfo].CommandPostType to control type of POST. type 0-3: same server. 3-7: multi(global) post.
post command is in Message.txt (index 33).
In both types /post /gpost... gs will send 0xF3 0xE0 to clients.
Check on your dll protocol process... if it has 0xF3 0xE0 or not. cause main.exe does not have it by default as I think.
If you don't have the proper dll script, you can see how igc s9 dll handle it... and do your own.
btw, I don't use the files in this post. so I don't have any scripts realated
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Why don't you think that IGC they developed their GS without PBD ?
By their s12 files codes, I believe that, atleast They made it when they didn't have pbd yet
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Anyone know how to unpack main.exe ? Or have good guide? OR unpacked main (1.18.70) ?
Thanks in advance )
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
this 1 the small of the split source will give the wait again
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
tieugiao
this 1 the small of the split source will give the wait again
https://i.imgur.com/k69nhlU.jpg
Ps. I'm sorry for this but i could not resist :P
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
I tried to use custom post source from xteam 8.3 but not worked it receive fine on protocol but dont display in-game anyone know what is wrong?
.h
Code:
#define pScaleFormAction ((void(__cdecl*)(DWORD Form, LPSTR ElementName, LPSTR Command, ...)) 0x009F4253)//ok?
#define pMessageBoxThis ((DWORD(__cdecl*)()) 0x00A0714B)//ok?
struct PMSG_NEW_MESSAGE_RECV
{
PSBMSG_HEAD h; // C1:F3:E4
char message[128];
};
void GCNewMessageRecv(PMSG_NEW_MESSAGE_RECV* lpMsg);
.cpp
Code:
__declspec(naked) void ScaleFormAction(DWORD Form, LPSTR ElementName, LPSTR Command, ...)
{
__asm
{
MOV EDX, 0x009F4253; // S9
JMP EDX;
}
}
void GCNewMessageRecv(PMSG_NEW_MESSAGE_RECV* lpMsg) // OK
{
wchar_t buffW[128];
int tmpClass = pMessageBoxThis();
if (MultiByteToWideChar(CP_ACP, 0, lpMsg->message, sizeof(lpMsg->message), buffW, _countof(buffW)) != 0)
{
//MessageBoxA(NULL, ("%s %d", buffW), "Error", MB_OK);
char buffA[256];
if (WideCharToMultiByte(CP_UTF8, 0, buffW, _countof(buffW), buffA, sizeof(buffA), 0, 0) != 0)
{
pScaleFormAction(*(DWORD*)(tmpClass + 0x124), "SetChatLogText", "%s %d", buffA, 2);
//MessageBoxA(NULL, ("%s %d", buffA), "Error", MB_OK);
console.Log("%s %d", buffA);
}
}
}
Protocolcore
Code:
case 0xF3:
{
PMSG_DEFAULT2 * lpMsg2 = (PMSG_DEFAULT2 *)aRecv;
switch (lpMsg2->subcode)
{
case 0xE0:
GCNewMessageRecv((PMSG_NEW_MESSAGE_RECV*)aRecv);
break;
}
}
break;
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
florus
Anyone know how to unpack main.exe ? Or have good guide? OR unpacked main (1.18.70) ?
Thanks in advance )
thank you bro!!!
- - - Updated - - -
Quote:
Originally Posted by
xuanthanhyt
thank you bro!!! you are great!!!
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
ashlay
I tried to use custom post source from xteam 8.3 but not worked it receive fine on protocol but dont display in-game anyone know what is wrong?
.h
Code:
pScaleFormAction(*(DWORD*)(tmpClass + 0x124), "SetChatLogText", "%s %d", buffA, 2);
Not 0x124, try 0x128
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
LTPTeam
Not 0x124, try 0x128
Thanks working now.
https://image.prntscr.com/image/HB4m...Nn_oJNDL_Q.png
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
server damage limit 65k. Anyone fix it?
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
how do you compile the gscs?
can not compile gs in debug mode, I do not know if it's the right one.
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
how to remove skills bugs for all class ? do not displayed skills in the table, only show elf skills
Re: [Development] Season XII Source Chinesse Team - based on X-TEAM
Quote:
Originally Posted by
darkroh
how to remove skills bugs for all class ? do not displayed skills in the table, only show elf skills
your bad client, use china client to fix