Newbie Spellweaver
- Joined
- Jul 19, 2005
- Messages
- 22
- Reaction score
- 53
1) only for choice.
2) Drop. Yes, you right.
3) Admin ? But MU havent Admins permission? Or i not right?
4) no =). Maybe in next release i add it
5) Sorry i dont know anything about SCF system
---------- Post added at 10:48 PM ---------- Previous post was at 10:02 PM ----------
Code:[B]if ( ((wsaData.wVersion &0xFF & 0xFF ) != (2 ) ) || ( ( ((DWORD)wsaData.wVersion >> (DWORD)8) &0xFF ) != (2)) [/B]) // Lacking Some Code Here It said SAR and is SHR { WSACleanup(); MessageBox(NULL, "WINSOCK №цАьАМ і·ЅАґПґЩ.", "Error", MB_OK|MB_APPLMODAL); return FALSE; }
Laking code?!?!
Code:{ int unk =lParam & 0xFFFF & 0xFFFF; // HERE is a switch here goes a macro }
Just for fan... GS have many this bullshited code. All GS shenanigans. Particularly all IOCP all connect classes and all core.
The "Lacking Some Code Here It said SAR and is SHR" means deathway had some sort of difficulty while decompiling the code, which is not by the way copy-paste of gs 0.74 as you mentioned before.
Also the GS have no bullshited code at all!! cuz
Code:
int unk =lParam & 0xFFFF & 0xFFFF; // HERE is a switch here goes a macro
Code:
//----------------------------------------------------------------------------
// °ÔÀÓ¼¹ö ¸Þ½ÃÁö (»ç¿ëÀÚ Á¢¼ÓÀ» ó¸®ÇÑ´Ù)
void GMServerMsgProc(WPARAM wParam, LPARAM lParam)
{
switch ( lParam & 0xFFFF & 0xFFFF) //not like WZ but same _asm
{
case FD_ACCEPT :
/*SOCKET cSocket;
IN_ADDR cInAddr;
int ClientIndex;
//LogAdd("SFD_ACCEPT MESSAGE");
if( wsGServer.AcceptSocket(cSocket, cInAddr) == TRUE )
{
ClientIndex = gObjAddSearch(cSocket, inet_ntoa(cInAddr) );
int addnumber = gObjAdd(cSocket, inet_ntoa(cInAddr), ClientIndex);
if( addnumber >= 0 )
{
SCPJoinResultSend( addnumber, 0x01);
}
else
{// »ç¿ëÀÚ¸¦ ©¶ó¾ß µÅ..
wsGServer.Close(cSocket);
}
}
else {
return;
}*/
break;
}
}
GameServer is full of hidden codes due to #if(TESTSERVER=1), even the PcBangPoint from GS90 isn't fully working because the Reset Point System is somehow disabled by a simply "return;" that makes the code really smaller.
Code:
void CPCBangPointTimer::SetUserTimer(CPCBangPointTimer* pthis, int index) //(identical) #hidden code inside
{
short aIndex = index;
return;
pthis->m_iUserIndex = aIndex;
pthis->SetCheckTimer(TRUE);
int iYear = gObj[aIndex].m_sPcBangResetYear;
int iMonth = gObj[aIndex].m_sPcBangResetMonth;
int iDay = gObj[aIndex].m_sPcBangResetDay;
int iHour = gObj[aIndex].m_sPcBangResetHour;
pthis->ChangeTimeDate(&iYear, &iMonth, &iDay, &iHour);
}
Code:
PUSH EBP ; void CPCBangPointTimer::SetUserTimer(CPCBangPointTimer* pthis, int index)
MOV EBP,ESP
SUB ESP,54 ; too big for a 1 line function without return...
PUSH EBX
PUSH ESI
PUSH EDI
MOV AX,WORD PTR SS:[EBP+C] ; arg2
MOV WORD PTR SS:[EBP-4],AX ; short ebp-4 = receving value? (short because aIndex is not WORD...)
POP EDI
POP ESI
POP EBX
MOV ESP,EBP
POP EBP
RETN
Last edited: