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

Recent content by Ancores

  1. Ancores

    Solved Stepin, wait 10 second and respawn

    Here are a few ways you can achieve players not being able to do this over and over again. Using storage values: Prevent a player from doing this more than once. local config = { delay = 10, -- Time for monsters to spawn storage = 5000, -- Storage monsters = { {name =...
  2. Ancores

    Solved Stepin, wait 10 second and respawn

    local delay = 10 -- seconds local function doDelayedSpawn(monster, pos) doSummonCreature(monster, pos) doSendMagicEffect(pos, 10) end function onStepIn(cid, pos) if isPlayer(cid) then addEvent(doDelayedSpawn, delay * 1000, "Rotworm", {x=974, y=938, z=7}) end return...
  3. Ancores

    Solved onUse help, very simple script.

    Your client is most likely crashing because TALKTYPE_ORANGE does not exist. Try using TALKTYPE_ORANGE_1 instead with Breed's code.
  4. Ancores

    Solved Error i cant resolve if anyone can help me please read this!!

    local corpse_ids = { [0] = 3065, -- female [1] = 3058 -- male } function onPrepareDeath(cid, deathList) if getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 2196 then doCreatureSetDropLoot(cid, false) doSendMagicEffect(getThingPos(cid), CONST_ME_HOLYAREA)...
  5. Ancores

    Full Blessings with a 1% drop chance

    Do you like the idea of players having 1% drop chance on equipment when killed with full blessings?
  6. Ancores

    Lua onUse, summon monsters, 5 min exhaust.

    local timeToUse = 300 local monsters = { {name = "Rat", pos = {x = 111, y = 111, z = 7}}, {name = "Troll", pos = {x = 112, y = 112, z = 7}}, {name = "Demon", pos = {x = 113, y = 113, z = 7}} } local lastTime = 0 -- Ignore this function onUse(cid, item, position, itemEx, toPosition)...
  7. Ancores

    Ctrl walking

    You mean move through everything as a GM with CTRL + arrows? In that case, you can change your Player:eek:nTurn() function in events to this: function Player:onTurn(direction) if(self:getGroup():getAccess() and self:getDirection() == direction) then local pos = self:getPosition()...
  8. Ancores

    Latest OT Client Compile Error

    Same problem.
  9. Ancores

    Action [TFS 1.0] Rail System

    Long time ago I released something, so here's a rail system for TFS 1.0. Set action id on an ore wagon depending on direction: North - 3013 East - 3014 South - 3015 West - 3016 actions.xml <action actionid="3013" script="cart.lua"/> <action actionid="3014" script="cart.lua"/> <action...
  10. Ancores

    onCastSpell(cid, target, group, spell)

    In need of a creature event, onCastSpell(cid, target, group, spell). group as in SPELLGROUP_ATTACK or SPELLGROUP_SUPPORT etc. spell as in "light" or "fierce berserk" etc. Also, returning false would cancel the spell. so I could use it like this: function onCastSpell(cid, target, group...
  11. Ancores

    Lua Function Saving map in game - creates a new otbm

    Can someone update this to work with TFS 0.3.7? I'd really appreciate it!
  12. Ancores

    TalkAction Bomberman

    I made a new bomberman which is alot more like the real game, with sudden death after 2 minutes so players can't afk and it's alot easier to configure. Might release it if people still want this. :)
  13. Ancores

    LUA House Functions

    Hello, I have a pretty big request, but I hope someone is able to help me out. I need all LUA functions needed to create a house. Something like: doCreateHouse(id, name, townId, exitPos) doCreateHouseTile(houseId, pos) doCreateHouseDoor(uid, doorId) setHouseOwner(cid, houseId) I only need...
  14. Ancores

    Changing view distance

    Also, if the tiles outside the original area would change in any way, they wouldn't change on the client unless the tiles are in the original area. It's obvious that something needs to be changed in the server source, otherwise you could use this client on real tibia servers and see...
  15. Ancores

    Changing view distance

    Changed all of these: GetFloorDescription(msg, oldPos.x - 8, oldPos.y - 6, 4, 18, 14, 4, skip); to: GetFloorDescription(msg, oldPos.x - 15, oldPos.y - 15, 4, 18, 14, 4, skip); also tried: GetFloorDescription(msg, oldPos.x - 15, oldPos.y - 15, 4, 32, 32, 4, skip); That didn't make any...
Back
Top