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

    Lua script edit help

    Hello Znote, thanks so much for u reply... but unfortunately it did not work, i will try explain better using a imagem.
  2. J

    Lua script edit help

    Hello someone can help me with this script? local effectDuration = 3*60 local effectInterval = 2 if not alreadyExecuted then alreadyExecuted = 0 end local function repeatEffect(pos, effect, repeats) Game.sendMagicEffect(pos, effect) if repeats > 0 then...
  3. J

    TFS 1.X+ C++ doubt about function

    Yes, i found many scripts, but my real problem is not the script, is the die method... Scripts dont work with fields damage in ground. For example: if a player1 attack player2 with fire field, ok player2 will be teleported normally without die But, if player1 use a field field in ground and...
  4. J

    TFS 1.X+ C++ doubt about function

    the script worked now, but my problem continue... if the player pass on a energy field without owner for example and die, the player appear died on templePosition with a corpse too
  5. J

    TFS 1.X+ C++ doubt about function

    I did a script called arena.lua in creaturescripts folder I put this inside this local templePosition = Position(32372, 31784, 7) function onPrepareDeath(creature, killer) local tile = Tile(creature:getPosition()) if tile:hasFlag(TILESTATE_PVPZONE) then if creature:isPlayer()...
  6. J

    TFS 1.X+ C++ doubt about function

    I will test now :) thanks first is better i disable this function to check if !=ZONE_PVP? can cause some kind of conflict?
  7. J

    TFS 1.X+ C++ doubt about function

    good !! i need it :/ someone with Lua knowledge can do this for me?
  8. J

    TFS 1.X+ C++ doubt about function

    up this part here if (getZone() != ZONE_PVP || !Player::lastHitIsPlayer(lastHitCreature)) maybe if i remove of function ---> || !Player::lastHitIsPlayer(lastHitCreature) function will check only if not is ZONE_PVP? only it in case
  9. J

    OTClient doesn't start

    yes !
  10. J

    TFS 1.X+ C++ doubt about function

    I was looking the sources of the forgotten server 1.2 I found in Player.cpp bool Player::dropCorpse(Creature* lastHitCreature, Creature* mostDamageCreature, bool lastHitUnjustified, bool mostDamageUnjustified) { if (getZone() != ZONE_PVP || !Player::lastHitIsPlayer(lastHitCreature)) {...
  11. J

    OTClient doesn't start

    What modifications have in this exe?
  12. J

    Lua tfs 1.x script edit

    thanks so much
  13. J

    Lua tfs 1.x script edit

    worked, how to do this script work only one time per day? anyone know?
  14. J

    Lua tfs 1.x script edit

    I will test, thanks so much! Maybe the problem with effect being stacked multiple times etc. Can be resolved with the script work only 1x per day.
  15. J

    Lua tfs 1.x script edit

    Up
  16. J

    OTClient doesn't start

    My first time compiling last otclient, i got a error AL/h in sound/declarations source. Changed <al/al.h> and <al/alc.h> After this fix, my otclient no open after compile, idk why
  17. J

    OTClient doesn't start

    I have the same problem, using visual 15, on windows 10 64 bits, my otclient no open and no errors... i just got some warnings after compile.
Back
Top