• 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 GOD Half

  1. GOD Half

    The end - for botters. BattlEye comes to Tibia

    What program use to compile?
  2. GOD Half

    The end - for botters. BattlEye comes to Tibia

    Hi, you have UOPilot source code ?
  3. GOD Half

    TFS 1.X+ Summons with different names - TFS 1.3

    Hello everyone, I'm trying to develop a system to summon different types of summons. It is working, but when I have another summoned summon, it identifies as the same, and blocks how much I need each of them. Can someone help me? function onCastSpell(creature, var) local player =...
  4. GOD Half

    Lua Check summon names

    Hi, I'm trying to make a system with different summons. And I need to have the count of each summon different that I have summoned (Exemplo: print->Rat = 2, Bug = 3, ...). I'm not sure how to build this code, can anyone help me based on this one? Please
  5. GOD Half

    Question about monster:remove()

    Hi, can you explain how/where to use this script? Pls
  6. GOD Half

    TFS 1.X+ Summon in other players - TFS 1.3

    Hi guys, I need fixing this problem. I did this script to summon some monsters, but he always summons the other players too, can anyone help me, please? Thank's local configId = { [1] = {"Corym Charlatan"} } function onCastSpell(creature, variant) for _, player in ipairs(Game.getPlayers())...
  7. GOD Half

    TFS 1.X+ About summons code

    I tried, tried, tried and tried and solved. Thank's! local configId = { [1] = {26382} } function doRemoveCreatureSummons(cid, name) if isCreature(cid) and type(name) == "string" then local c = getCreatureSummons(cid) if #c > 0 then for i, v in ipairs(c) do...
  8. GOD Half

    TFS 1.X+ About summons code

    Hi Sarah Wesker, thanks for the explanation, but I trying this inside an onThink(), and I don't know if that's why, but I'm trying a bug: Lua Script Error: [GlobalEvent Interface] data/globalevents/scripts/check_pet.lua:onThink data/globalevents/scripts/check_pet.lua:24: attempt to index global...
  9. GOD Half

    TFS 1.X+ About summons code

    Hi again, I have developed a code to summon a Pet, but I don't understand much about how the "master" or "getCreatureMaster" system works ... I think I'm using it the wrong way. If anyone can explain to me the logic of this system, please. There have been some errors because of this, in the...
  10. GOD Half

    TFS 1.X+ getDirection() of target - TFS1.3

    Thank you!
  11. GOD Half

    TFS 1.X+ getDirection() of target - TFS1.3

    Hi guys, how do I print the direction the target is looking? The model below prints the direction the player is looking, but I need the direction that the target of the player is looking to be printed: function onThink(interval, lastExecution, thinkInterval) for _, player in...
  12. GOD Half

    Lua prevent summon attacks

    Add in creaturescripts.xml <event type="HealthChange" name="summonsHealDmg" script="summon_dmg.lua"/> <event type="ManaChange" name="summonsManaDmg" script="summon_dmg.lua"/> Create new file with name summon_dmg.lua in creaturescripts/scripts/ and add: function onHealthChange(creature...
  13. GOD Half

    Lua prevent summon attacks

    Try: events/scripts/creature.lua function Creature:onTargetCombat(target) if not self then return RETURNVALUE_NOERROR end local master = self:getMaster() if master and master == target then return RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER end if...
  14. GOD Half

    Lua prevent summon attacks

    BUMP!
  15. GOD Half

    TFS 0.X Offer expire auction system

    Edit marketcleaner.lua as below and try: function onStartup() local result = db.getResult("SELECT `id`, `player`, `item_id`, `item_name`, `count`, `cost`, `date` FROM `auction_system` ORDER by `date` ASC;") local days = 30*3600*24 local nowtime = os.date('*t') if (result and...
Back
Top