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

creatureevent

  1. blokerzinha

    TFS 1.X+ Problem implementing an event in creaturescripts

    Hey guys, I'm sorry for the bad English because it's not my native language so I'm using the translator, but I have a problem and I don't know where to turn. firstly, the basis of the problem for me to arrive at this script was the following, I have an 8.6 server with sprites from 12.xx...
  2. L

    Lifesteal on attack onHealthChange

    I'm trying to create a script that when I attack with a monster or player part of the damage heals me, for example, if I take 100 life, I heal 50% back, I knew how to do that with onStatsChange in tfs 0.4 but in 1.0 I don't I'm getting it, in this version it uses onHealthChange, and also the...
  3. potinho

    Lua [TFS 0.X] Monster Boosted problem - Attempt to index a boolean value when kill

    Hi guys, Im trying to use the system from this topic: https://otland.net/threads/monster-of-the-day-0-4.264969/ But i got error sometimes when a monster of day is killed: 2022-09-23 13:39:26 - [Error - CreatureScript Interface] 2022-09-23 13:39:26 -...
  4. Schlangemann

    LUA Monster onDeath give storage id to party

    TFS 1.4 Hi! I am trying to make a boss give storage id to all party members who have damaged it when it dies. I am using a variation of Slavi's code from this post Lua - onKill players on party sharing xp to get task counted...
  5. Raikou

    TFS 1.X+ onKill script get's triggered more than once

    Hello all, I got a problem with getting the onKill event triggered more than once. Several checks have been done and my conclusion is that the script gets triggered several times. The script is called within the creaturescript: <event type="kill" name="Bosskill" script="Bosskill.lua"/>...
  6. Znote

    [TFS 1.3] Broadcast a welcome message when a new account logs in for the first time

    File install path: data/scripts/welcome.lua When a player logs in for the first time (on an account), broadcast a message to every player online, welcoming them to the server. This gives existing players a chance to welcome and help them get started on the server. I believe persistent...
  7. D

    HELP - Call stack overflow.

    Hello everyone. Can someone please help me, we're running OTServBR , updated version, and after running OK for couple days, yesterday the server crashed with LOTS of "call stack overflow" , in various scripts (npcscript onthink, player on gain exp, and many other scripts). This is very weird...
  8. M

    Help I've not located - C++/LUA

    I know it's available in the forum. But I couldn't find... If you find or can do I'll be grateful I USE TFS 0.4 1 - Message before the monster sends spell ---- Like Gaz Haragoth... 2 - Monster Spell Disarm Player weapon, the weapon goes to backpack... 3 - Spell of the character It is not...
  9. Aldo Axel

    C++ By getting 4 storages you get another storage

    Greetings, my request now is when a player get 4 storages, Storage 1: 9000 Storage 2: 9001 Storage 3: 9002 Storage 4: 9003 Automatically get another storage New Storage: 9004 I mean when they have those 4 storages, give him another new storage. Please, thank ya.
  10. GhostWD

    Lua CreatureScripts error spam

    @@EDIT Have done little research and now i know that it's fault of script idle.lua which kicks after specified amount of time is any possible solution on this? maybe before kick removing of onThink statement in my script? idk ;/ Hello OTLanders i need your help ! I've scripts(3) which send...
  11. 115820

    !Stats COMMAND 1.2

    Hii, I need a script, when i use command "!stats" show : Payer LEVEL and RESET (STORAGE 500); Player MAGICLEVEL; PlayerMANA/MAXMANA ; PlayerHealth/MAXHEALTH . TFS 1.2 Ot : 10.99
  12. ianelli

    [TFS 0.3.6] onSpawn (Changed)

    Hi. I've seen some "onSpawn" functions to TFS 1.0 and other versions, but none seems to work correctly on 0.3.6, so i've created my own and am posting here, may help someone. Some people made the "onSpawn" from HERE work, but only when the monster RE-spawn. So, you have to kill him so he...
Back
Top