nlwarning("!!!!!!!!!!!! Someone is trying to hack us");
nlwarning("!!!!!!!!!!!!");
nlwarning("ERROR/HACK : an npc is trying to give to a player a item that is not a plot item SheetId='%s' sheetIdAsInt=%u",sheetId.toString().c_str(),sheetId.asInt());
nlwarning("His ai instanceId is %u, use log to know the sessionId and the user ",msg.InstanceId);
nlwarning("!!!!!!!!!!!!");
nlwarning("!!!!!!!!!!!!");
return;
}
}
uint32quantity;
uint32quantity;
NLMISC::fromString(itemAndQty[1],quantity);
NLMISC::fromString(itemAndQty[1],quantity);
@ -1774,6 +1743,7 @@ Then user events are triggered on the group to inform it about what happens:
nlwarning("!!!!!!!!!!!! Someone is trying to hack us");
nlwarning("!!!!!!!!!!!!");
nlwarning("ERROR/HACK : an npc is trying to give to a player a item that is not a plot item SheetId='%s' sheetIdAsInt=%u",sheetId.toString().c_str(),sheetId.asInt());
nlwarning("His ai instanceId is %u, use log to know the sessionId and the user ",msg.InstanceId);
nlwarning("Attempted to give deprecated sitem sheet %s to player character %s in session %i",items[j].SheetId.toString().c_str(),c->getName().toUtf8().c_str(),sessionId.asInt());
}
elseif(sitem->Family!=ITEMFAMILY::SCROLL_R2)
{
nlwarning("Attempted hack to give non-R2 item %s to player character %s in session %i",items[j].SheetId.toString().c_str(),c->getName().toUtf8().c_str(),sessionId.asInt());