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

Search results

  1. P

    Lua onHealthChange

    Doesn't work still. It's 8.6 downgraded TFS..
  2. P

    Lua onHealthChange

    boost.lua: function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if attacker == nil then return primaryDamage, primaryType, secondaryDamage, secondaryType end if not attacker:isPlayer() then return...
  3. P

    Lua onHealthChange

    function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if attacker == nil then return primaryDamage, primaryType, secondaryDamage, secondaryType end if not attacker:isPlayer() then return primaryDamage...
  4. P

    Lua onHealthChange

    Hi, I want to made spell which boost next auto attack. Spell gives certain storage to player, but my onHealthChange scripts doesn't work. function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType) if getStorageValue(attacker, 1005) == 1 then...
  5. P

    C++ TFS 8.6 Summon getMaster crashing

    In this part of code master never exists, but in spell after summoning when I’m printing master name it exist. So it’s weird. 1588342923 Okay so I figured it out. For future guys with problems. Go to luascript.cpp: find: int LuaScriptInterface::luaGameCreateMonster(lua_State* L) and change...
  6. P

    C++ TFS 8.6 Summon getMaster crashing

    Hello, I'm trying to changing name of summon depending on his master name. In tfs0.3.6pl1 similar code worked, but now everytime I'm trying to master->getName() it's crashing server. It's downgraded tfs to 8.6 and I've no clue how to do this. void ProtocolGame::AddCreature(NetworkMessage& msg...
  7. P

    TFS 0.X TFS 0.3.6.pl1 Creaturescript onStatsChange stack overflow

    Hello, I'm trying to increase damage into monster if player has certain storage. I managed to did this, it works, but damage is stacking infinitly and I got error in console. function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS then if...
  8. P

    TFS 0.X TFS 0.3.6pl1 How to display magic effect under player

    Is there any tutorial how to do it with otclient?
  9. P

    TFS 0.X TFS 0.3.6pl1 How to display magic effect under player

    Hello is there any option to display magic effect under player not above?
  10. P

    TFS 0.X TF 0.3.6pl1 Magic effects limit

    I edited source and still can't display magic effects after 68. When i wrote /z 100 no error, no message, nothing happen. magiceffects.lua edited like this function onSay(cid, words, param, channel) maxEffects = 65535 param = tonumber(param) if(not param or param < 0 or param > maxEffects)...
  11. P

    TFS 0.X TF 0.3.6pl1 Magic effects limit

    bump
  12. P

    TFS 0.X TF 0.3.6pl1 Magic effects limit

    Hello I can't find old post which showed how to increase magic effects limit to 254 from 68. EDIT: I edited unit8_t to unit16_t in methods addMagicEffect/sendMagicEffect protocolgame.cpp/.h, player.h, game.cpp/.h, but it doesn't do anything
Back
Top