Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
Any time I kill a boss with my god character, it shows me a message: "you cant open this corpse because you are an admin". Is there any way to get this permits to the gods?
turn bossloot from true to false or search in the source code for "you are an admin" and change it so it checks if you are god or not
Post automatically merged:
in actions.cpp
const uint32_t corpseOwner = container->getCorpseOwner();
if (container->isRewardCorpse()) {
// only players who participated in the fight can open the corpse
if (player->getGroup()->id >= GROUP_TYPE_GAMEMASTER) {
return RETURNVALUE_YOUCANTOPENCORPSEADM;
}
const auto &reward = player->getReward(rewardId, false);
if (!reward) {
return RETURNVALUE_YOUARENOTTHEOWNER;
}
if (reward->empty()) {
return RETURNVALUE_REWARDCONTAINERISEMPTY;
}
} else if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) {
return RETURNVALUE_YOUARENOTTHEOWNER;
}
you can change it there or you can change the groups in the database
or you change the monster flags
turn bossloot from true to false or search in the source code for "you are an admin" and change it so it checks if you are god or not
Post automatically merged:
in actions.cpp
const uint32_t corpseOwner = container->getCorpseOwner();
if (container->isRewardCorpse()) {
// only players who participated in the fight can open the corpse
if (player->getGroup()->id >= GROUP_TYPE_GAMEMASTER) {
return RETURNVALUE_YOUCANTOPENCORPSEADM;
}
const auto &reward = player->getReward(rewardId, false);
if (!reward) {
return RETURNVALUE_YOUARENOTTHEOWNER;
}
if (reward->empty()) {
return RETURNVALUE_REWARDCONTAINERISEMPTY;
}
} else if (corpseOwner != 0 && !player->canOpenCorpse(corpseOwner)) {
return RETURNVALUE_YOUARENOTTHEOWNER;
}
you can change it there or you can change the groups in the database
or you change the monster flags