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

  1. BboyChaos

    Spell [TFS 1.x] Summon: Hate

    Causes targeted monster to aggro the players summon. local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0) function onCastSpell(cid, var) local player = Player(cid) local player_summon =...
  2. BboyChaos

    Spell [TFS 1.x] Unsummon

    local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0) function onCastSpell(cid, var) local player = Player(cid) local player_summons = player:getSummons() if not next(player_summons) then...
  3. BboyChaos

    GlobalEvent [TFS 1.x] Capacity Affects Player Speed

    function onThink(interval, lastExecution, thinkInterval) local players_online = Game.getPlayers() for _, player_name in ipairs(players_online) do local player = Player(player_name) local player_max_capacity = player:getCapacity() local player_free_capacity =...
  4. BboyChaos

    GlobalEvent [TFS 1.x] Summon Recall (Floor Change)

    function onThink(interval) for _, player in ipairs(Game.getPlayers()) do local player_position = player:getPosition() if not player_position:getTile():hasFlag(TILESTATE_PROTECTIONZONE) then local summons = player:getSummons() if #summons > 0 then for i = 1...
  5. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    I hope this helps someone! :)
  6. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    -- Enums (Continued) ITEM_TYPE_DEPOT ITEM_TYPE_MAILBOX ITEM_TYPE_TRASHHOLDER ITEM_TYPE_CONTAINER ITEM_TYPE_DOOR ITEM_TYPE_MAGICFIELD ITEM_TYPE_TELEPORT ITEM_TYPE_BED ITEM_TYPE_KEY ITEM_TYPE_RUNE ITEM_BAG ITEM_GOLD_COIN ITEM_PLATINUM_COIN ITEM_CRYSTAL_COIN ITEM_AMULETOFLOSS ITEM_PARCEL...
  7. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    -- Enums ACCOUNT_TYPE_NORMAL ACCOUNT_TYPE_TUTOR ACCOUNT_TYPE_SENIORTUTOR ACCOUNT_TYPE_GAMEMASTER ACCOUNT_TYPE_GOD CALLBACK_PARAM_LEVELMAGICVALUE CALLBACK_PARAM_SKILLVALUE CALLBACK_PARAM_TARGETTILE CALLBACK_PARAM_TARGETCREATURE COMBAT_FORMULA_UNDEFINED COMBAT_FORMULA_LEVELMAGIC...
  8. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    -- Extra Functions addEvent(callback, delay, ...) cleanMap() createCombatArea( {area}, <optional> {extArea} ) debugPrint(text) doAddContainerItem(uid, itemid, <optional> count/subtype) doAreaCombatCondition(cid, pos, area, condition, effect) doAreaCombatDispel(cid, pos, area, type, effect)...
  9. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    -- MonsterType(name) monsterType:canPushCreatures() monsterType:canPushItems() monsterType:getArmor() monsterType:getAttackList() monsterType:getBaseSpeed() monsterType:getChangeTargetChance() monsterType:getChangeTargetSpeed() monsterType:getCombatImmunities()...
  10. BboyChaos

    LUA Functions List [TFS 1.1] Updated: 09/08/2015

    -- Combat() combat:execute(creature, variant) combat:setArea(area) combat:setCallback(key, function) combat:setCondition(condition) combat:setFormula(type, mina, minb, maxa, maxb) combat:setOrigin(origin) combat:setParameter(key, value) -- Condition(conditionType[, conditionId =...
Back
Top