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!
That'd be tough.
I would probably store the names (and hp?) of the creatures in a couple of storages, and summon new one's when the player logs back in.
Thanks for the answer
hmm, I thought about that too.
But I want to make it so that after logging out of the game, the summons are still on the map and no one can heal the summons except the player who summoned them.
I thought the wall would block e.g. mass healing (unless I set the flags wrong)
Thanks for the answer
hmm, I thought about that too.
But I want to make it so that after logging out of the game, the summons are still on the map and no one can heal the summons except the player who summoned them.
I thought the wall would block e.g. mass healing (unless I set the flags wrong)
But when I log out, the "summons" left on the map (after modification in C++) are ordinary monsters and anyone can heal them - and I want only the owner to be able to do it
But when I log out, the "summons" left on the map (after modification in C++) are ordinary monsters and anyone can heal them - and I want only the owner to be able to do it
I guess you will have to introduce a Creature/Monster variable such as "wasSummon", and then add early returns to health changing methods if it was a summon etc.
for (Creature* summon : creature->summons) {
summon->setSkillLoss(false);
summon->setMaster(summon->getMaster()) // i added this but still can't assign player
//removeCreature(summon);
}
Is it even possible to set the owner of a logged-out player's summons (without any major changes)?
for (Creature* summon : creature->summons) {
summon->setSkillLoss(false);
summon->setMaster(summon->getMaster()) // i added this but still can't assign player
//removeCreature(summon);
}
Is it even possible to set the owner of a logged-out player's summons (without any major changes)?
why cant you make them disappear and summon new ones on login? that is the most efficient way since if you block healing people can block 2sqm places if the summons are not pushable and abuse game mechanics to make the server unplayable do you just want to break the server in every possible way instead of making a good solution xikini posted ? which is storing a table inside of storage that is called when logging in?