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

Search results

  1. Klank

    [Germany][Custom] Gothania - Gothic II with Jarkendar released[16th December, Saturday 16:00 CEST]

    I made account before i saw the link to register with prem.. Possible to get it now? name ~Klank
  2. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Thanks man, this one works. I had to change to targetPos:isInRange(leftUpperCornerPos, rightBottomCornerPos). Also in line 87 to player:getStorageValue(config[roomNumber].storageKey)
  3. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Could you give me an example? Spawning the creature, register the even and check when it dies? I started look into it and ended up on this function; function Monster:onSpawn(position, startup, artificial)(?) Am i on the right path here? :p
  4. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    1. Entering the door requires a different storage value from a quest line. Entering this door gives a new storage value == 1 (Iused only in this "tower"), to be able to re-do quest if died. 2.. Entering the room by clicking a quest door and 4x minions spawns (ghoul, ghost, demon skeleton and...
  5. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    It's a good Idea, but it seems it will still trigger. I also tried to set the exact storage value ( == ), but it will still run through it all and set the last available storage value :< Maybe i neeed to add an if statement to the whole script? I appreciate the support you have given previously...
  6. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    They are accessing these areas by entering quest doors. Each cleared room gives a storage value accessing the next room (next door)..
  7. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Okey guys, small update. Got it to work with help from "Trollheim", so all credits to Trollheim. However, i duplicated and changed the creatures in config lua for my second script. Also, moved from TFS 1.3 to TFS 1.4.2 (not relevant maybe) Problem is: When executing the first script, i set the...
  8. Klank

    TFS 1.X+ TFS 1.4.2 Creature corpses does not appear on kill

    Hey, as the title says the monsters do not drop corpse upon kill. I just upgraded from TFS 1.3 to TFS 1.4.2 where i discovered this error. Anyone got any clues?
  9. Klank

    [TFS 1.3] Advanced quest chests

    I tried firstly to give a quest chest AID 2000, then unique ID 8026. Added 8026 to uniqueId in code. When clicking on the chest ingame im getting the item ‘8026’ and not the items listed in array [1] for items So i tried to give the exact numbers as the example in code to the chest, leading to...
  10. Klank

    [TFS 1.3] Advanced quest chests

    Im having thos problem aswell, TFS 1.3. Anyone?
  11. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    This is the one that is "working", but create the teleports on first (1/4) kills local config = { center = Position(558, 744, 7), rangeX = 5, rangeY = 2, teleportPos = Position(554,745,7), monsters = {"ghoul","ghost","demon skeleton","skeleton",}, } local function...
  12. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    To be honest, i dont know what RevScripts are yet. Much to learn. I would be fine by changing it, but spent so much time on this, that without proper follow-up im guessing i would use just as much time on the onDeath function xd.
  13. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    It's not that i want that, but im trying to understand functions etc, and i have not worked with onDeath yet. So i guess that would change the whole structure of the code again. Just to make u understand, this is my first creaturescript ever :p
  14. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Note taken, thanks. Thats a very good point, ill have to check summons aswell. Lol, thanks.. Script now goes through, but is spawning teleport upon first creature killed. Just like my own script xd
  15. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Thanks for the reply. I am new to scripting, and trying to learn. Im using TFS 1.3 and well, i just started the scripting from there. However, ur code does not work. I did some minor changes due to errors; local config = { center = Position(558, 744, 7), rangeX = 5, rangeY = 2...
  16. Klank

    TFS 1.X+ Creatureevent; Find killed creature in an area.

    Hello! Im struggling on getting this code to work.. So, the start of this function is 4x different creatures(not random) summoned when performing an action. What i want this script to do, is to search an area defined in the code, to confirm that all 4 creatures are killed. That is, 1 ghoul, 1...
  17. Klank

    [France][10.98/Custom] Trollheim Online - no payments/free to play

    Many great features! Worth trying!
  18. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    ahh thanks man... Now it works perfectly ! Appriciate the help!
  19. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    Hey, thanks that solved the issue, i did not put anything into the global.lua but just removed "local" infront, but that might be the same thing.. I have evolved the script some more and facing a new issue. Scripts works fine, but if i click the wall within the 10 seconds the stair shall appear...
  20. Klank

    TFS 1.X+ [LUA][Newbie] ScriptHelp - Local variables resets and more

    Hello, My plan is two click on two different walls and a stairwell will appear. I'm in the phase of learning scripting and i know my code is super crap.. However, i almost got it to work. The problem i am facing is that "local Wall1" and "local Wall2" resets to 0 every time I activate the...
Back
Top