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!
Hello..
Why does not the FOR start?
Is this going to start only if the creature has registered ??
bool Game::playerRequestOutfit(uint32_t playerId)
{
Player* player = getPlayerByID(playerId);
if(!player || player->isRemoved())
return false...
Normal monsters are affected by the creativecripts and registerCreatureEvent
But when it is a summon the event does not happen.
Anyone know the reason?
Thanks!
Hello.
How do I create a ghost function?
TFS 0.3.6
bool TalkAction::ghost(Creature* creature, const std::string&, const std::string&)
How would I add this function in luascript.cpp?
Sry, tfs 0.3.6
I think there is no way to return true / false for parameters. Not even in TFS1.3
I think I need to do something like this:
registerMethod("Condition", "getParameter", LuaScriptInterface::luaConditionGetParameter);
Thank you for your help.
Hello guys.
What are the features I have with this command? (getCreatureCondition(cid, feature, etc..)
If you want to check a parameter within the attribute, how use?
getCreatureCondition(cid, CONDITION_PARAM_SKILL_SWORD, ?) ?
Help, plz. Thanks
Yes
But I removed the limit by modifying the client with a dll.
So you needed to know the files you would need to modify in 1.x sources
In 0.x sources the way to do this was like this:
protocolgame.cpp:
protocolgame.h:
game.cpp:
game.h:
player.h:
spectators.h