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

position

  1. Curb

    TFS 1.X+ Inconsistency in runonhealth behavior

    TFS 1.4.2 I have two deer scripts, one defined in XML and the other in Revscript, that are identical in terms of settings. However, the deer.xml flees as expected, while deer.lua does not. deer.lua: local mType = Game.createMonsterType("Deer") local monster = {} monster.description = "a...
  2. donabimbo

    RevScripts Problem with position in Revscripts (Action)

    Greetings, I noticed something that I don't know that I would have to add to make it work. I have a Revscripts type Movements, which I can place position on, without the need to use id, aid or uid. local wayOut = MoveEvent() function wayOut.onStepIn(creature, item, position, fromPosition)...
  3. G

    Lua position.lua problem after going up on ladder

    TFS: 1.4.2 Hello everyone i have problem on my server, if i going up on ladder +1 i have that log in my console: Lua Script Error: [Action Interface] data/actions/scripts/other/teleport.lua:onUse getNumber(). Argument -1 has out-of-range value for t: -1 stack traceback: [C]: in function '__add'...
  4. Znote

    Team The AcidsOT project is looking for a Content Editor

    About the AcidsOT Project: IP & website: AcidsOT.com We use a custom map, I consider the project "medium/20x" exp rate (but we use stages with multiple boost plateaus), and uses protocol 8.60. We try to create interesting and fun unique features, such as custom spells, attack behaviors...
  5. El Man

    C++ / Login position ..

    -when logout in anyposition .. character save this position and when die . back to the logout position how to solve it .. -should be back to townid when dead . .not to logout position
  6. Fabi Marzan

    TFS 0.X monster returns to its place of appearance

    Hello, is it possible to make the monster return to its respawn place? In other words, when a player walks away with a monster, in the tibia he makes it disappear. So what I want to do is prevent that. that only walk 12sqm and return to their site. I was looking for one for OTX2 I've seen a...
  7. Kuantikum

    Lua Spawn item at multiples random pos.

    Hello guys, Currently what this script does when the server starts is to create an item in a random position. Is it possible to create the same item in more random positions? local STARTUP = {} STARTUP[#STARTUP + 1] = { -- Quest Stuff action = function() local fromPos = {x=3376, y=776, z=6}...
  8. AyronS5

    Lua Position

    Hello, I'm using friend Mock's snake system on TFS 0.3.6, but I get this error when starting it. system link problem: [Error - Action Interface] data/actions/scripts/snakesys.lua:onUse Description: data/lib/snakesys.lua:69: attempt to index local 'p2' (a number value) stack traceback...
  9. B

    Teleport 80% life boss

    Hey guys how r ya Im here to ask for ur help. I need a globalevent for my quest that reads the boss' life When the boss' life is under 80% he is teleported to the X position, then another monsters appears in the Y positions, after like 10 seconds the boss appears again... When he gets 40% he is...
  10. N

    Lua Position of spell when mooving!

    Hello i have a problem, my spell is ok but when i move the spell em is like getting out of position, why? Screen: On second i casted spell with position on first pickture and move to left. Why is happening that? local test12 = test() test12:setParameter(test_PARAM_TYPE, 2)...
  11. C

    TFS 1.3 Function Player:AddItem

    Hi, I couldn't find any similar topic so I created this one. My problem is, that I don't know how to make this function on 1 specific position, I mean a box that would give 1 item only from 1 position. I tried to make this with pos parameter at actions.xml but no result, every box with id 1738...
  12. M

    Check for Player Position

    Hi, I have all the code I need but I only need to implement a simple if statement, however I have no idea how to do that. I want to know how to check-- how the player is positioned to the target, i.e. if [Player Pos Right From Target] else if [Player Pos Left From Target] etc
  13. M

    Lua Making Target Spell Static

    Anyone knows how to make the spell to ignore player position when casting? I remember it was the way the spells worked in earlier Tibia versions but now it has been changed, examples below; * It is a target-based spell Current Result: --------------------- Expected Result --...
  14. Colandus

    mapArea iterator

    Hey. This is a revised version of my old mapArea iterator. This simplifies looping through areas. My old iterator was a bit more confusing for developers who might have wanted to edit the iterator function itself. This time it's using coroutines so the function should be very easily...
  15. Colandus

    isInArea, loops not needed!

    Hello, I've noticed alot of people use loops to check if someone's in an area. Sure it's needed sometimes, but not as often as you use it. When shall you use loops for checking areas? Well, never because you shall use my mapArea heuaheuah xD But well that's classed as looping too! But...
Back
Top