http://i.imgur.com/f0gDBII.jpgQuote:
Anybody's chat with server source?
http://i.imgur.com/sXYHltd.jpg
Printable View
http://i.imgur.com/f0gDBII.jpgQuote:
Anybody's chat with server source?
http://i.imgur.com/sXYHltd.jpg
does anyone know how to add new lines to mix.bmd?
i couldnt find an editor for it, but i found a mix.bmd with other 20+ lines for chaos machine mixes
https://mega.nz/#!FBpWTYQB!5XBQL5bKS...4fFxfnBgDg0Fgg
Hy Guys I've looking the HacktoolBlockEx code and found this:
I've looking the in joinserver code and found nothing about it....Quote:
void CHacktoolBlockEx::OnRequestHacktoolStatistics(PMSG_HACKTOOL_CHECK_USE_STATISTICS_REQ * lpMsg)
{
PMSG_REQ_HACKTOOL_STATISTICS pMsg = { 0 };
PMSG_HACKTOOL_CHECK_USE_STATISTISC_ANS pResult = { 0 };
HACKTOOL_DATA * lpHacktoolData = 0;
// ----
lpHacktoolData = this->SearchHacktoolData(lpMsg->wHacktoolIndex);
// ----
if( lpHacktoolData )
{
lpHacktoolData->btHackCheckType = 2;
}
else if( this->AddHacktoolData(lpMsg->wHacktoolIndex, lpMsg->chFilename, lpMsg->lExpireDate, lpMsg->btBlockType) )
{
lpHacktoolData = this->SearchHacktoolData(lpMsg->wHacktoolIndex);
lpHacktoolData->btHackCheckType = 2;
}
else
{
PHeadSubSetB((LPBYTE)&pResult, 0x8D, 1, sizeof(PMSG_HACKTOOL_CHECK_USE_STATISTISC_ANS));
// ----
pResult.btResult = 1;
pResult.wHacktoolIndex = lpMsg->wHacktoolIndex;
pResult.wHacktoolUseCount = 0;
pResult.wTotalUserCount = 0;
// ----
wsJServerCli.DataSend((char*)&pResult, pResult.head.size);
}
// ----
pMsg.h.setE((LPBYTE)&pMsg, 0x8A, sizeof(PMSG_REQ_HACKTOOL_STATISTICS));
pMsg.dwKey = lpMsg->wHacktoolIndex;
memcpy(pMsg.Filename, lpMsg->chFilename, 64);
// ----
for( int i = OBJ_STARTUSERINDEX; i < OBJMAX; i++ )
{
if( gObj[i].Connected >= PLAYER_LOGGED && gObj[i].Type == OBJ_USER )
{
for( int iSlotIndex = 0; iSlotIndex < HACKTOOL_DATA_SIZE; iSlotIndex++ )
{
if( !gObj[i].m_HacktoolUseInfo[iSlotIndex].btUseType )
{
gObj[i].m_HacktoolUseInfo[iSlotIndex].Set(0, 1, lpMsg->wHacktoolIndex);
break;
}
}
}
}
// ----
DataSendAll((LPBYTE)&pMsg, sizeof(PMSG_REQ_HACKTOOL_STATISTICS));
}
// -------------------------------------------------------------------------------
void CHacktoolBlockEx::OnRequestHacktoolBlock(PMSG_HACKTOOL_BLOCK_REQ * lpMsg)
{
if( this->AddHacktoolData(lpMsg->wHacktoolIndex, lpMsg->chFilename,
lpMsg->lExpireDate, lpMsg->btBlockType) )
{
return;
}
// ----
PMSG_HACKTOOL_BLOCK_ANS pResult;
pResult.head.set((LPBYTE)&pResult, 0x8D, 2, sizeof(PMSG_HACKTOOL_BLOCK_ANS));
pResult.btResult = 1;
wsJServerCli.DataSend((char*)&pResult, pResult.head.size);
}
// -------------------------------------------------------------------------------
link dead
someone have already fixed server? + client please share it thank you
Hey everyone :)
can someone re-upload fixed files and sourcecode?
Deleted
gens fix is already in this thread, just search from the beginning, or just serach in questluaabind.cpp and in the lua fles from server, that way you can fix gens quest, zyro quest and add the quest exp rate just by figuring out what these 3 variables do
just load them from somewhere and edit the lua files to match what wanna do with themCode:int gFreeServer = 0;
int gNotGlobalQuest = 0;
int g_QuestExpAddExperience = 1;
http://i.imgur.com/LSQm2qv.jpgCode:#include "StdAfx.h"
#include "FileManager.h"
//---------------------------------------------------------------------------------------------------------------------------
FileManager gFile;
CIniReader ServerInfo(SERVER_INFO_PATH);
//---------------------------------------------------------------------------------------------------------------------------
void FileManager::LoadServerInfo()
{
if (!PathFileExists(SERVER_INFO_PATH))
{
MessageBox(0, "File ""Data\ServerInfo.dat"" not found.", "ERRO", MB_OK | MB_ICONHAND | MB_APPLMODAL);
ExitProcess(0);
}
this->FreeServer = ServerInfo.ReadBoolean("GameServerInfo","FreeServer",0);
this->NotGlobalQuest = ServerInfo.ReadBoolean("GameServerInfo","NotGlobalQuest",0);
this->QuestAddExperience = ServerInfo.ReadInteger("GameServerInfo","QuestAddExperience",1);
}
http://i.imgur.com/ixcFECR.jpg
PS: if you got something fixed just share it, that is why everyone stopped making their fixes public.
In the pictures u saw me the gens system is working; cause I had already done these quest displayed. Sorry for bad English.
Trying to pm but u have no space. I'll send you a pm.