• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Ascuas Funkeln

    Compiling Anyone can extract map to images?

    Hello Otlanders, I have little quest, can you extract this *.img files? :) ITS QUEST NOT REQUEST I know how to do that. Thread is, that anyone can extract it? And if you success jsut paste screenshoot of extracted files...
  2. Ascuas Funkeln

    Lua onThink Technical Question

    Can u throw light? How i can send all storage values, protections and other when player equip item? Not creating script for each id, something like "player equip anything then"
  3. Ascuas Funkeln

    Lua onThink Technical Question

    local Physical = (Player(player):getProtectionPhysical()) - Working local Physical = (player:getProtectionPhysical()) - Not Working :) When enemy debuff you protection then how to call it? Ofc i think about this, i have alot things that improve all character stats, and i thinking how to made...
  4. Ascuas Funkeln

    TFS 1.X+ mount on login

    int LuaScriptInterface::luaPlayerLoginMount(lua_State* L) { Player* player = getUserdata<Player>(L, 1); if (player) { return; } pushBoolean(L, player->toggleMount(mount)); } Check this one
  5. Ascuas Funkeln

    Lua onThink Technical Question

    This is the part, in future i want send more information! So if you guys forcing to help with improve it(instead of the subject), im open for suggestion :) function onThink(player, opcode, buffer, interval) local Physical = (Player(player):getProtectionPhysical()) local Magic =...
  6. Ascuas Funkeln

    Lua onThink Technical Question

    Yeah, that why i just need little information about this example: 150 lines have information about 150 storages. 150 lines send msg of this storage values. In this case what is better, one script with 300 lines or 10 scritps with 30 lines. The point is, i just need knowledge for future, that...
  7. Ascuas Funkeln

    Spell Help

    "direction="0" ->"direction="1" function onCastSpell(cid, var) local start = getCreaturePosition(cid) local parameters = {cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3} addEvent(onCastSpell1, 100, parameters, start) addEvent(onCastSpell2, 200...
  8. Ascuas Funkeln

    Map clean but dont remove specific items

    What do you mean specific? If i remember in 1.2 map clean dotn clean items from PZ.
  9. Ascuas Funkeln

    TFS 1.X+ mount on login

    Give you full "luascript.cpp"
  10. Ascuas Funkeln

    Lua onThink Technical Question

    "Evil hero: The question is, what do you even need it for" - No this is not thread question :) This is not the point of question... I ask about performance, what is better for server -> one script with 300 lines or 10 scritps with 30 lines...
  11. Ascuas Funkeln

    Lua onThink Technical Question

    Hello, I have question about onThink in technical side. For example i have script contains 300 lines. 150 lines have information about 150 storages. 150 lines send msg of this storage values. And the question is... Better is making one 300 line script or divide it to multiple scripts? In which...
  12. Ascuas Funkeln

    TFS 1.X+ mount on login

  13. Ascuas Funkeln

    Can I run an AI script continually (once per "game tick") in the background?

    I thinking about this a little and if i were to do this, first what i would do is two types of monster. Alfa and normal ones called in file "a, b, c" etc. Then to avoid summoning wolf by alfa(make it summon only when Alfa spawn) and check if wolves live do something like this. function...
  14. Ascuas Funkeln

    Set player storage on death

    Yes, make send msg, so you will see on chat it after death. function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified) player:setStorageValue(110000, -1) player:sendTextMessage(MESSAGE_EVENT_ORANGE, "Cycki i krew") return end
  15. Ascuas Funkeln

    Set player storage on death

    login.lua player:registerEvent("DeathStorage") creaturescripts.xml <event type="death" name="DeathStorage" script="DeathStorage.lua" /> DeathStorage.lua function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified) player:setStorageValue(110000, -1) return end
  16. Ascuas Funkeln

    [TFS 0.3.x, 8.6] Movement not smooth

    I SEE YOU SERVER VERSION~! I SEE YOU CLIENT VERSION OR EVEN OTCLIENT USING~! I SEE ALOT~!
  17. Ascuas Funkeln

    CreatureEvent [TFS 1.3] Vocations Balancing [Easiest Way]

    (secondaryDamage * 12 / 100) Better way is (secondaryDamage * 0.12), I think good idea is to avoid multiple math operations if they are added unnecessarily and adds nothing to the operation.
  18. Ascuas Funkeln

    Can I run an AI script continually (once per "game tick") in the background?

    If i good understand, you can do this by using Game.setStorageValue with onThink.
  19. Ascuas Funkeln

    Lua TFS[1.2] - Define player in condition

    Hello, Guys have you an a idea how i can define player here: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local condition = Condition(CONDITION_REGENERATION)...
Back
Top