Soy nuevo en estos temas de las soucer apenas estoy aprendiendo agregar y quitar cosas atravez de las soucer bueno estoy trabajando sobre el codigo de ExTeam de la season 2 y por su defecto no trae /Maker por ningun lado procedi a montarlas yo mismo a travez de otras soucer que encontre de una misma version pero a a hora de copilar me da el siguiente error..
Soucer que estoy agregando.
//Make
char MakeCommand[] = "/Make"; //Make
//--------------------------------------------------------------------------------------------------
//Make
void MakeCommand(int aIndex,char* Message)
{
if(!_strcmpi("/make",Message))
{
GCServerMsgStringSend("Usage: /make <type> <index> <lvl> <skill> <luck> <opt> <exc>",aIndex,1);
return;
}
if(strlen(Message) < 1)
{
GCServerMsgStringSend("Usage: /make <type> <index> <lvl> <skill> <luck> <opt> <exc>",aIndex,1);
return;
}
int Spaces = 0;
for(int i = 0; i < strlen(Message); i++)
{
if(Message[i] == ' ')
{
Spaces++;
}
}
if(Spaces < 6)
{
GCServerMsgStringSend("Please re-check the code string you gave.",aIndex,1);
return;
}
int ItemType,ItemNr,ItemLevel,ItemSkill,ItemLuck,ItemOpt,ItemExc;
sscanf(Message,"%d %d %d %d %d %d %d",&ItemType,&ItemNr,&ItemLevel,&ItemSkill,&ItemLuck,&ItemOpt,&ItemExc);
DWORD Item = ItemType * 512 + ItemNr;
ItemSerialCreateSend(aIndex,gObj[aIndex].MapNumber,gObj[aIndex].X,gObj[aIndex].Y,Item,ItemLevel,0,ItemSkill,ItemLuck,ItemOpt,aIndex,ItemExc,0);
GCServerMsgStringSend("Item created successfully.",aIndex,1);
}
void InitCommands(int aIndex,unsigned char* Protocol)
{
/*char CommandMake[] = "/make";
if(!memcmp(&Protocol[13],CommandMake,strlen(CommandMake)))
{
MakeCommand(aIndex,(char*)Protocol+13+strlen(CommandMake));
}*/
}
#ifndef __COMMANDS_H__
#define __COMMANDS_H__
void ChatDataSend(DWORD gObjId,LPBYTE Protocol);
void InitCommands(int aIndex,unsigned char* Protocol);
#endif
Error al terminar proceso de copilacion.