thx i will check it all.
GMAttack writed by me =) but okey i will create some configs for it.
I cant check it now... server start up? no crashes end etc?
Printable View
thx i will check it all.
GMAttack writed by me =) but okey i will create some configs for it.
I cant check it now... server start up? no crashes end etc?
One crash only when you kill a Kundun in this "if (this->m_Type < 0)".
Add me too skype =)
remove compile errors.at serialcheck shows error.
you have src you can remove errors ;)...
Send to me PM with your facebook acc link ;)Quote:
Add me too skype =)
Crash when GM write /drop 12345123
Fix:
Code:void ChatDrop(int aIndex,char* text)
{
if (strlen(text)<1)
return;
if (isDropOnlyForGM && !IsGM(aIndex))
{
Print(aIndex,0,g_DropOnlyForGMError);
return;
}
int TYPE = 0;
int INDEX = 0;
int LEVEL = 0;
int LUCK = 0;
int SKILL = 0;
int OPTION = 0;
int EXC = 0;
int ANC = 0;
int ITEMID = 0;
sscanf_s(text,"%d %d %d %d %d %d %d %d",&TYPE,&INDEX,&LEVEL,&LUCK,&SKILL,&OPTION,&EXC,&ANC);
if(TYPE > 15 || TYPE < -1 || INDEX > 160 || INDEX < -1)
{
GCServerMsgStringSend("Maximum Group is 15, index is 160!",aIndex,1);
return;
}
ITEMID = ((TYPE * 512) + INDEX);
if(ITEMID == NULL || LEVEL > 13 || LUCK > 1 || SKILL > 1 || OPTION > 4 || EXC > 63 || ANC > 10)
{
GCServerMsgStringSend("Check your syntax.", aIndex, 1);
GCServerMsgStringSend("/drop GROUP INDEX LEVEL LUCK SKILL OPTION EXC ANC", aIndex, 1);
return;
}
GCServerMsgStringSend("Item created.", aIndex, 1);
ItemSerialCreateSend ( aIndex , gObj[aIndex].MapNumber , (BYTE)gObj[aIndex].X , (BYTE)gObj[aIndex].Y , ITEMID , LEVEL , 0 , LUCK , SKILL , OPTION , -1 , EXC , ANC );
}
Syntax error in /add cmd
fix:
Code:else if ( memcmp(lpChat->chatmsg,"/add",strlen("/add")) == 0 )
{
ChatAdd(aIndex,&lpChat->chatmsg[5]);
}
i'm sorry, but...
IllusionTemple.cpp line 10:
IllusionTemple.cpp line 115:Code:bool bIT[7];
is it correct? i think no ^^Code:if(t_time.wHour == IT_Manager[i] && t_time.wMinute == 00 && !bIT[7])
{
IL_EVENT_STATE = IL_STATE_BATTLE_START;
LogAdd("[ ILLUSION TIMER ] Changed state to IL_STATE_BATTLE_START.");
bIT[7] = true;
}
if(t_time.wHour == IT_Manager[i] && t_time.wMinute == 25 && !bIT[8])
{
IL_EVENT_STATE = IL_STATE_BATTLE_CLEAR;
LogAdd("[ ILLUSION TIMER ] Changed state to IL_STATE_BATTLE_CLEAR.");
bIT[8] = true;
}
mmm sorry but i dont see mistake. Maybe im bored...
Regz
thx. I will fix it. But /add command - correct
bool bIT[7];
bIT[7] = true;
bIT[8] = true;
you have array with 7 elements (0-6). You are trying to set 8 and 9 element as true, which is out of array's range.
ps. add call to gObjViewportListProtocolCreate in ILAPI_MaskTeam, without this your illusion skin may not work
Dudi is right. This is big mistake ;)
Quote:
add call to gObjViewportListProtocolCreate in ILAPI_MaskTeam, without this your illusion skin may not work
but Dudi said too: we have to remove: gGameServerAuth.Code:void ILAPI_MaskTeam(IL_TEAMSTRUCT *pTeam, int m_Change) {
for(unsigned i = 0; i < pTeam->v_Members.size(); i++)
{
gObj[pTeam->v_Members.at(i).aIndex].m_Change = m_Change;
gObjViewportListProtocolCreate(&gObj[pTeam->v_Members.at(i).aIndex]);
}
}
- i dont think so but...
Spoiler:
We can remove this defines in gameserver.h
#define HACK_LOG_SERVER_ENABLED 0
#define CSAUTH_VERSION 2
and this code in GameMain.cpp:
#if (GS_PROTECTED==1)
UnProtectProtocolCore();
#endif
and this defines in GameMain.h
#if (GS_PROTECTED==1)
BOOL UnProtectProtocolCore();
#endif
PS. CRYWOLF EVENT DONT WORKS!!!
AND BILL_CLASS SUXX!
Thx. I have some free time. And now going to work with GS =)
I have removed bill system today ;)
can you give me client you use for this?
Oh my god, just find any season 3 client with KOR protocol and change ip serial and version using a hex editor. There is no client there is a source code of server. you have another topic where you can ask about client.
bill system need to check player age?
yup but bill system is no needed ; )
No =) bill system means "pay system" or "Vip" system. But... yep... no need. Recode some CM functions, some changes in IT (thx dudi2), some changes in /drop function. Also removed Bill system (maybe not full).
Then why in first downloaded source I have a Bill system and Vip system ? ; > ...
As I know: Bill system is checking your acc... if you have payed for acc you can play the game but a vip system is checking for etc. additional exp...
by the way... Your eJoinServer dont have auto disconnect ppl when GameServer disconnected/crashed ; )
bug in gobjSaveItemPet
full inventory with horses or reven = crash gs
gObjSavePetItemInfo? Nice, ill try to fix this.
nope... i tested this bug and crashes a dataserver... ; p
==Code:if ( founditemcount )
{
SDHP_SAVE_PETITEM_INFO pMsg;
pMsg.h.set((LPBYTE)&pMsg, 0x57, lofs+sizeof(pMsg));
pMsg.nCount = founditemcount;
memcpy(pbuffer, &pMsg, sizeof(pMsg));
wsDataServerCli.DataSend(pbuffer, lofs+sizeof(pMsg));
}
Code:if ( too_much(pets) ) { DataServer_Crash(); }
we need to limit a pets count in inventory and warehouse or secure this in dataserver... normal users dont have a full inventory of ravens or horses... ;)
its impossible to make full inv of ravens on the server where no pets in shop ;]
i think all it possible. I try to startup server... and i think soon i will fix it