• 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. 2Rec

    Lua Displaying amount that potions gives

    Try target:sendTextMessage(MESSAGE_HEALED, 'Youve regained ' .. manaToAdd .. ' mana points.', player:getPosition(), manaToAdd, TEXTCOLOR_SKYBLUE)
  2. 2Rec

    How to achieve dmg around traget

    Burst arrow is a weapon script i believe. Go to your spells.xml and delete selftarget parameter, then add needtarget="1". (or however that parameter was called)
  3. 2Rec

    2rec//Mapping thread

    So, i tried to shape this gate(middlepart) so it looks a bit like an anvil, since it's another dwarven town i came up with. Does it even look right? Ideas? --- ---
  4. 2Rec

    2rec//Mapping thread

    Nope, it's a different map.
  5. 2Rec

    2rec//Mapping thread

    Carved like into the mountain? Not bad idea. But maybe in another town.
  6. 2Rec

    2rec//Mapping thread

    --- --- --- ---
  7. 2Rec

    OTX Set Npc Skull

    skull="green" Like here mattyx14/otxserver
  8. 2Rec

    Action Lever by time

    if player and isInRange(player:getPosition(), config.room.fromPos, config.room.toPos) then about line 81 Next time use code tags while pasting a code so everybody could read it.
  9. 2Rec

    TFS 0.X create chests on ground

    local locations = { {x = 1255, y = 1062, z = 6, stackpos=1}, {x = 1256, y = 1062, z = 6, stackpos=1}, {x = 1257, y = 1062, z = 6, stackpos=1}, {x = 1258, y = 1062, z = 6, stackpos=1}, {x = 1259, y = 1062, z = 6, stackpos=1}, {x = 1260, y = 1062, z = 6, stackpos=1}, {x...
  10. 2Rec

    Lua A Table and a Function: My Spiral Down to Madness

    What are you gonna do exactly? If you wanna get any single item from the array the table call: Mining[x].Item/Price is just good. // For the function you can just return an array i guess. function getItemData(x) return Mining[x] end
  11. 2Rec

    2rec//Mapping thread

    Some dwarvish city --- --- --- --- ---
  12. 2Rec

    TFS 1.X+ Making two-handed weapons give bleeding condition

    Weapons table should be moved outside a function, creating new local function just for this table is overkill, i can see 2 possible errors in the code: while being hit by no attacker; while bleeding hit occurs on last hit. Check this out. Also why not scripting this in onUseWeapon function? //...
  13. 2Rec

    attempt to call global 'getDistanceToCreature' TRADER

    So maybe try to change it to 'sellable' instead? Wow! Its like magic!
  14. 2Rec

    attempt to call global 'getDistanceToCreature' TRADER

    Why don't you just make npc for 1.2 instead of copying some old ass scripts... Trade npc are the easiest you can do on 1.2. otland/forgottenserver
  15. 2Rec

    How does support work?

    That's exactly what moderators are for.
  16. 2Rec

    Solved Npc walking on Furniture

    You can put some stone or any unwalkable item of size that this table would cover and put it underneath.
  17. 2Rec

    Mapper Project X - Looking for a Mapper

    @Printer what about the old map? It was dope.
  18. 2Rec

    2rec//Mapping thread

    Thanks. I tried to make it like provisional looking, so it looks like a patchwork of a little bit of everything. //Added night version of a first pic in the spoiler.
  19. 2Rec

    2rec//Mapping thread

    the Colony --- --- --- ---
  20. 2Rec

    Remplace items on map

    Try repeating it couple times. Its related to RME settings. Check Preferences.
Back
Top