June Server, Client, Tools Source .....
#11
Anyone paying for server files at this point has more money than sense and will never have a populated LC server.

#12

how about a Thumbs up guys for post ... ill add a working server and a client using sl.dta... and explain what you have to change in each file to compile with out any issues our errors....

 

Assassin (if you dont know the step of compiling this client then iam not going to break it all down for you ...) First thing to compile is Ecc....... Hint: Once you understand why you will see the missing files.......

#13

what i changed in Client source   (This is how i did it to keep the original code).

 

  F:\NEW 6-1-2015\SRCDesign\Engine\Contents\Login\UILoginNew.cpp(642):// CDWriter IP contact Barunson 14.63.127.144
 

// CDWriter IP contact Barunson 14.63.127.144

const unsigned char ip4 = 1;
const unsigned char ip3 = 0;
const unsigned char ip2 = 0;
const unsigned char ip1 = 127;

// reports to Barunson
/*
const unsigned char ip4 = 144;
const unsigned char ip3 = 127;
const unsigned char ip2 = 63;
const unsigned char ip1 = 14;
*/

  F:\NEW 6-1-2015\SRCDesign\Engine\Graphics\GfxLibrary.h(46):#define    MAX_BTN        21  // CDWriter ItemBtn Max Value
 

// Button element arrays
// item button image count. [3/15/2012 rumist]
#define MAX_BTN 21 // CDWriter ItemBtn Max Value

  F:\NEW 6-1-2015\SRCDesign\Engine\Define_GAMIGO.h(25):// CDWriter
 

// CDWriter
//#define XTRAP_SECURE_CKBANG_2010_07_20 // 2010-07-20 ¹æÃ¢±Ô - XTrap º¸¾È ¼Ö·ç¼Ç Àû¿ë

  F:\NEW 6-1-2015\SRCDesign\Engine\Define_USA.h(17):// CDWriter
 

// CDWriter
//#define XTRAP_SECURE_CKBANG_2010_07_20 // XTrap º¸¾È ¼Ö·ç¼Ç Àû¿ë

  F:\NEW 6-1-2015\SRCDesign\Engine\Interface\UICashShopEX.cpp(2341):                                        // CDWriter cash shop link
 

// CDWriter cash shop link

ShellExecute( NULL, "open", "http://192.168.1.56/test2/index.php/", NULL,NULL, SW_SHOWNORMAL );

This part here adds in IP for Client

  F:\NEW 6-1-2015\SRCDesign\Engine\Network\CommunicationInterface.cpp(785):        TempIP.SetIP( 192, 168, 1, 56, USA);  // CDWriter IP
  F:\NEW 6-1-2015\SRCDesign\Engine\Network\CommunicationInterface.cpp(788):        TempIP.SetIP( 192, 168, 1, 56, USA);  // CDWriter IP
 

{ // 192, 168, 1, 56,
TempIP.SetIP( 192, 168, 1, 56, USA); // CDWriter IP
m_vecIPFilter.push_back( TempIP );

TempIP.SetIP( 192, 168, 1, 56, USA); // CDWriter IP
m_vecIPFilter.push_back( TempIP );
}

This is how you remove the ip check in Client and put it back to sl.dta

 

  F:\NEW 6-1-2015\SRCDesign\Engine\Network\CommunicationInterface.cpp(917):            // CDWriter Ip removal check...returns ip back to SL.dta
 

if (CheckIPFilter() == TRUE)
{
// CDWriter Ip removal check...returns ip back to SL.dta
// how to remove it is below. by adding /* and */ Omitting the lines
//
/*if (IsValidIP() == FALSE)
{
cci_iSelectedServerNum = -1;
return;
} */
        }
        // ¼­¹ö¿¡ â¼ÓÀ» ½Ãµµ.
        _tcpip.ConnectToServer(cci_szAddr, cci_iPort); //¼­¹ö°¡ ¶ç¿öîÀÖ´Â ÄÄÇ»Åà ¾ÆÀÌÇÇ    

        cci_hSocket = _tcpip.Socket;
        g_hSocket    = cci_hSocket;
    }

  F:\NEW 6-1-2015\SRCDesign\Engine\Network\SessionStateExten.cpp(2286):                //CDWriter New Account logins
 

//CDWriter New Account logins from Launcher
temURL.PrintF("http://shop.gamigo.com/game_%d/login/user/%s/hash/%s/", nGrupID, strUserID, strCode);
ShellExecute( NULL, "open", temURL, NULL,NULL, SW_SHOWNORMAL );
}else

This must be removed to get client to work

  F:\NEW 6-1-2015\SRCDesign\Engine\Engine.cpp(744):// CDWriter removed TimeBomb protection
 

// [2013/01/16] sykim70
// CDWriter removed TimeBomb protection
ENGINE_API bool SE_CheckEngine()
{

// Orginal code Protection
/*
{
#if !defined(_DEBUG) && !defined(KALYDO) && !defined(G_KOR) && !defined(VER_TEST) && !defined(G_CHINA)
AnalyzeApplicationPath();

// check binary.lod
CTString strFullPath = strDirPath;
CTString fnTemp = strFullPath + "data\\etc\\binary.lod";
CTString data = OpenPersistentSymbolFile2(fnTemp);

CTString oneline;
if (!GetOneLine(data, oneline))
return false;
int nCount = atoi(oneline.str_String);

if (!GetOneLine(data, oneline)) // stamp
return false;

UINT srcLen, targetLen, targetTime;
UINT minTime = -1;
UINT maxTime = 0;
for (int i = 0; i < nCount; i++)
{
if (!GetOneLine(data, oneline))
return false;
fnTemp = strFullPath + oneline;

if (!GetOneLine(data, oneline))
return false;
srcLen = (UINT)atoi(oneline.str_String);

if (!GetFileInfo(fnTemp.str_String, targetLen, targetTime))
return false;

if (srcLen != targetLen)
return false;

minTime = min(minTime, targetTime);
maxTime = max(maxTime, targetTime);
}
if (maxTime-minTime > 60*3) // 3 min
return false;

#endif
*/
return true;
}

These are just what i changed ....hopeful i did not miss any? But barunson can be tricky

 

Give me a Thumbs up please!!!  More will follow just keep following this post.

 

CDWriter

#14


if (CheckIPFilter() == TRUE)
{
// CDWriter Ip removal check...returns ip back to SL.dta
// how to remove it is below. by adding /* and */ Omitting the lines
//
/*if (IsValidIP() == FALSE)
{
cci_iSelectedServerNum = -1;
return;
} */
        }
        // ¼­¹ö¿¡ â¼ÓÀ» ½Ãµµ.
        _tcpip.ConnectToServer(cci_szAddr, cci_iPort); //¼­¹ö°¡ ¶ç¿öîÀÖ´Â ÄÄÇ»Åà ¾ÆÀÌÇÇ    

        cci_hSocket = _tcpip.Socket;
        g_hSocket    = cci_hSocket;
    }

 

 

i cried so hard when i saw this... so much unnecassary work 

#15
It would be informative to add the correction of errors existing in source code, a list of groups,correction, retail shops and other errors, many would be helped.

#16

not true, You asked me like 100€ or more to get decend server files with tool and client,till now i've got like few tools and crapy server files, then wonder why I get den your board( sure I had acces to it from you but still? Anyways I m done off topic. Thanks CDwriter for this release

No hard feelings, I gave you march server files, and all you bought was a website, you never paid for the files..

#17

Fix Party - 2

 

PartyAutoUIInviteList.cpp

 

Before

if (m_pList != NULL)
{
int max = m_vectorPartyListData.size();


CUIListItem* pItem;
CTString strTmp;
CUIText* pTxt;
CUIImage* pImg;

for (i = 0; i < max; ++i)
{
pItem = (CUIListItem*)m_pList->GetListItemTemplate()->Clone();

m_pList->AddListItem(pItem);

int no = ((m_nCurrentPageNum * 10) + i + 1);

pTxt = (CUIText*)pItem->findUI("txt_no");

if (pTxt != NULL)
{
strTmp.PrintF("%d", no);
pTxt->SetText(strTmp);
}

pTxt = (CUIText*)pItem->findUI("txt_name");

if (pTxt != NULL)
{
pTxt->SetText(m_vectorPartyListData[i].strSubject);

if (m_vectorPartyListData[i].nPartyNum >= 8)
{
pTxt->setFontColor(0xA7A9A5FF);
}
else
{
pTxt->setFontColor(DEF_UI_COLOR_WHITE);
}
}

pTxt = (CUIText*)pItem->findUI("txt_pos");

if (pTxt != NULL)
{
strTmp = CZoneInfo::getSingleton()->GetZoneName(m_vectorPartyListData[i].nZone);
pTxt->SetText(strTmp);
}

if (m_vectorPartyListData[i].nLeveldiff == 0)
{
pImg = (CUIImage*)pItem->findUI("img_level");

if (pImg != NULL)
{
if (m_pImgLevel != NULL)
m_pImgLevel->Copy(pImg);
}
}

pImg = (CUIImage*)pItem->findUI("img_class");

if (pImg != NULL)
{
DWORD dwFlag = m_vectorPartyListData[i].dwJobflag;
int job = 0;

while (dwFlag >= 2)
{
dwFlag /= 2;

++job;
}

if (m_pImgClass[job] != NULL)
m_pImgClass[job]->Copy(pImg);
}

pImg = (CUIImage*)pItem->findUI("img_type");

if (pImg != NULL)
{
int type = m_vectorPartyListData[i].nPartyType;
if (m_pImgType[type] != NULL)
m_pImgType[type]->Copy(pImg);
}

}
}
}

After

if (m_pList != NULL)
{
int max = m_vectorPartyListData.size();

CUIBase* pItem = NULL;
CTString strTmp;
CUIText* pTxt = NULL;
CUIImage* pImg = NULL;

for (i = 0; i < max; ++i)
{
CUIBase* pItemTmp = m_pList->GetListItemTemplate();


m_pList->AddListItem(pItemTmp->Clone());
pItem = m_pList->GetListItem(i);

int no = ((m_nCurrentPageNum * 10) + i + 1);

pTxt = (CUIText*)pItem->findUI("txt_no");

if (pTxt != NULL)
{
strTmp.PrintF("%d", no);
pTxt->SetText(strTmp);
}

pTxt = (CUIText*)pItem->findUI("txt_name");

if (pTxt != NULL)
{
pTxt->SetText(m_vectorPartyListData[i].strSubject);

if (m_vectorPartyListData[i].nPartyNum >= 8)
{
pTxt->setFontColor(0xA7A9A5FF);
}
else
{
pTxt->setFontColor(DEF_UI_COLOR_WHITE);
}
}

pTxt = (CUIText*)pItem->findUI("txt_pos");

if (pTxt != NULL)
{
strTmp = CZoneInfo::getSingleton()->GetZoneName(m_vectorPartyListData[i].nZone);
pTxt->SetText(strTmp);
}

if (m_vectorPartyListData[i].nLeveldiff == 0)
{
pImg = (CUIImage*)pItem->findUI("img_level");

if (pImg != NULL)
{
if (m_pImgLevel != NULL)
m_pImgLevel->Copy(pImg);
}
}

pImg = (CUIImage*)pItem->findUI("img_class");

if (pImg != NULL)
{
DWORD dwFlag = m_vectorPartyListData[i].dwJobflag;
int job = 0;

while (dwFlag >= 2)
{
dwFlag /= 2;

++job;
}

if (m_pImgClass[job] != NULL)
m_pImgClass[job]->Copy(pImg);
}

pImg = (CUIImage*)pItem->findUI("img_type");

if (pImg != NULL)
{
int type = m_vectorPartyListData[i].nPartyType;
if (m_pImgType[type] != NULL)
m_pImgType[type]->Copy(pImg);
}
m_pList->UpdateList();
}
}
}

PartyAutoUIPartyList.cpp

 

Before

pImg = (CUIImage*)pItem->findUI("img_type");

if (pImg != NULL)
{
int type = m_vectorPartyListData[i].nPartyType;
if (m_pImgType[type] != NULL)
m_pImgType[type]->Copy(pImg);
}
After

pImg = (CUIImage*)pItem->findUI("img_type");

if (pImg != NULL)
{
int type = m_vectorPartyListData[i].nPartyType;
if (m_pImgType[type] != NULL)
m_pImgType[type]->Copy(pImg);
}
m_pList->UpdateList();

#18

Thread cleaned..

Please keep replies on topic of helping compile, if you want to say thanks use the like & or feedback system.

#19
thank you but the link is dead,can you reupload please ?

#20

thank you but the link is dead,can you reupload please ?

Will look for the links


Forum Jump:


Users browsing this thread: 1 Guest(s)