• 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. Cornwallis

    Compiling [1.2] Soul Regen

    Hello, I'm trying to add 5 soul regen to every character when they eat food similar to the health and mana regeneration. I also couldn't find the original soul regeneration system in the sources, could someone direct me? Here's what I've done: players.cpp...
  2. Cornwallis

    Lua [1.2] Problem with movement script

    thank you
  3. Cornwallis

    Lua [1.2] Problem with movement script

    I think it has to do with the storage value. Currently I have the storage set as 15000 value 15000 and it teleports me through the 15001 action id, but won't let me through 15000. local t = { [{15000, {x = 988, y = 1005, z = 8}}] = "", [{15001, {x = 1152, y = 988, z = 10}}] = "" } function...
  4. Cornwallis

    Lua [TFS 1.1] addEvent help

    i get this error: Lua Script Error: [Main Interface] in a timer event called from: (Unknown scriptfile) LuaScriptInterface::luaDoCombat(). Creature not found stack traceback: [C]: at 0x7ff6d10a1470
  5. Cornwallis

    Lua [TFS 1.1] addEvent help

    I've been searching for how to properly use addEvent but i couldn't find any recent results. The while loop may be the problem too. So what it's supposed to do is divide the players soul by 10+ (3*party memebers) so if there's 2 party members then soul = 16, which if i have 100 soul then 100/16...
  6. Cornwallis

    Compiling [TFS 1.1] Constant health/mana regeneration

    would onAdvance and onLogin be efficient?
  7. Cornwallis

    Compiling [TFS 1.1] Constant health/mana regeneration

    bump, i'm using a globalevent atm, it refreshes every 2 seconds. Is that a safe alternative or could it cause lag?
  8. Cornwallis

    Solved [OTHire] Use on yourself / Use on target

    Which distro are you using? It removes fine with me. and sorry about that, i see that's why you guys were talking about talkactions, i misunderstood, original post edited.
  9. Cornwallis

    Solved [OTHire] Use on yourself / Use on target

    Not tested: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) function onGetFormulaValues(cid, level, maglevel) min = ((level / 5)...
  10. Cornwallis

    Solved [TFS 1.2] Imitate spell

    This works for 1.1, I'd convert it but I can't find a functions list for 1.2 that's as simple as the one posted for 1.1, sorry. I doubt it'd be hard though. local combat = Combat() function onTargetCreature(creature, target) local outfit = getCreatureOutfit(creature)...
  11. Cornwallis

    Compiling [TFS 1.1] Constant health/mana regeneration

    Hello, all I'm trying to accomplish is constant regeneration. I've previously had something similar, but if I remember right I used level and it wouldn't update whenever I advanced levels, which I imagine if this would have worked, which it won't, it would've done the same thing but I'm just...
  12. Cornwallis

    Compiling GainSoulAmount in vocations.xml TFS 1.2

    I'm trying to add a gainsoulamount for each vocation in vocations.xml, similar to gainhealthamount. There is already a gainsoulticks. I've been searching through vocations.cpp and vocations.h and i couldn't find where gainhealthamount is defined because i was just going to use that as a template...
  13. Cornwallis

    Spell with both aggression types

    I'm trying to make a spell that the first part is not aggressive so it can be casted inside protection zone and be casted at the same time as attack spells, but the second part is aggressive. The part that is casted depends which if statement is true I have this for my combats: local combat1 =...
  14. Cornwallis

    Solved Teleport my summon to me

    Thank you both, is liking your post the same as repping? Also what had happened with the creature and player thing was I was copying it from a spell and forgot to change creature to player ctfu. Quick question, whenever you put summons[1] does that reference the first summon in the table? I only...
  15. Cornwallis

    Solved Teleport my summon to me

    I'm trying to create a talkaction to teleport my summon to me but it seems I can't get the position of it. function onSay(player, words, param) local summons = #player:getSummons() local oldPosition = creature:getPosition() local newPosition =...
  16. Cornwallis

    [ENGLAND][8.6] RPG-Evolution - By ZooL

    How many hours until it's started?
  17. Cornwallis

    [USA]Dragon Knight Custom

    i can't get on the website :/
  18. Cornwallis

    Linux Compiling 0.2.14.r101

    In the tutorial it says: mv 0.3.5pl1 source How do i make that connect to my server?
  19. Cornwallis

    Linux Compiling 0.2.14.r101

    as of right now i deleted the source file because with the svn co command, i thought the downloads and installs it somewhere
Back
Top