• 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!

Recent content by milbradt

  1. milbradt

    C++ (tfs 0.3.6) creaturescripts offTarget - unlike onTarget

    Found in creature.cpp: void Creature::internalCreatureDisappear
  2. milbradt

    C++ (tfs 0.3.6) creaturescripts offTarget - unlike onTarget

    I'm having trouble finding something to identify a destination cancellation (containing cid) i need the creature that got off target (VICTIM xD)
  3. milbradt

    Solved [C++] CreatureEventList not start

    register creature: player->registerCreatureEvent("nameRegister");
  4. milbradt

    Solved [C++] CreatureEventList not start

    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...
  5. milbradt

    Solved Summon does not register[registerEvent - creaturescripts]

    Solved! in creature.cpp: void Creature::dropCorpse(DeathList deathList) remove: if(master) { g_game.addMagicEffect(getPosition(), MAGIC_EFFECT_POFF); return; }
  6. milbradt

    Solved Summon does not register[registerEvent - creaturescripts]

    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!
  7. milbradt

    C++ Doubt IOLoginData::savePlayer [source 0.4] [BugSaveItems]

    Is not there anything wrong with the code then? Not even a security breach?
  8. milbradt

    C++ Doubt IOLoginData::savePlayer [source 0.4] [BugSaveItems]

    Source: otxserver/path_8_6x/sources at otxserv2 · mattyx14/otxserver · GitHub //item saving query.str(""); query << "DELETE FROM `player_items` WHERE `player_id` = " << player->getGUID(); if(!db->query(query.str())) { std::clog << "[Warning - IOLoginData::saveItems]...
  9. milbradt

    C++ Luascript.cpp (add function)

    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?
  10. milbradt

    Lua getCreatureCondition

    "getParameter" Not have. In TFS1.3 also does not have xD
  11. milbradt

    Lua getCreatureCondition

    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.
  12. milbradt

    Lua getCreatureCondition

    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
  13. milbradt

    C++ (tfs1.x)Otxserv3 - path_8_6 Increase limit for effects/shotEffect/health/mana/skills

    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
  14. milbradt

    Solved [Znote] Php7 Doubt

    Thanks man.
Back
Top