Comando /PartyLeader GS crash...
arquivo da da source onde está o comando: GMMng.cpp
parte do codigo
Código:
void CGMMng::NewLoadCommandFile(LPSTR file){
GetPrivateProfileString("commands", "PartyLeader", "/PartyLeader", m_CommandNames.partyleader, 20, file);
GetPrivateProfileString("commands", "ResetTable", "/TableReset", m_CommandNames.resettabulado, 20, file);
GetPrivateProfileString("commands", "NewMakeItem", "/MakeItems", m_CommandNames.MakeItems, 20, file);
GetPrivateProfileString("commands", "ClearInventory", "/clearinv", m_CommandNames.ClearInventory, 20, file);
GetPrivateProfileString("commands", "MakeRandomSet", "/makerandomset", m_CommandNames.MakeRandomSet, 20, file);
}
Código:
case Command::PartyLeader: {
char * TargetName = this->GetTokenString();
int TargetIndex = gObjGetIndex(TargetName);
// ----
if (!gParty.SetLeader(lpObj->m_Index, TargetIndex))
{
return false;
}
o Source da versão Season 9.2 IGCN n tem justamente esses comando que foram adcionados.