• 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. D

    Lua delay time before teleport (onKill)

    @Gesior.pl ahh i am so blind, u did that lowercase above, okay okay, sorry for spam then, well written.
  2. D

    Lua delay time before teleport (onKill)

    found bug, if target:type():name():lower() == monsterName then this will looking for "rat" while we have in config "Rat" quick fix: if target:type():name():lower() == monsterName:lower() then or it doesnt matter for monsterType?
  3. D

    Lua delay time before teleport (onKill)

    try now
  4. D

    Lua delay time before teleport (onKill)

    local destination = Position(32337, 32087, 7) function onKill(creature, target, lastHit, player, item, fromPosition, toPosition) local player = Player(creature) if not player then creature:teleportTo(fromPosition, true) return false end if (getCreatureName(target)...
  5. D

    OTClient Add new image on top enter game otcv8

    get anchor from enter game window then create a widget with image https://www.w3schools.com/css/
  6. D

    Pet level

    you have to create a new level system for pets from scratch. this is what you posted its MonsterType, if you edit anything here, another monster that is created from this monster type will get these changes, you are aiming for special level of pet in monster class, not monstertype class
  7. D

    Canary Canary 3.1.2 Virustotal

    fake result, its safe.
  8. D

    Lua Body of summoned creature

    or even gen-y. solution: creature.cpp under: void Creature::dropCorpse(DeathList deathList) { add: Monster* monster = this->getMonster(); if (monster && monster->getMaster()) { return; } and for player to prevent dop the corpse if he had summons (?? i think from request) under our new...
  9. D

    Lua [TFS 0.X] Improve Reward Chest System

    maybe something like register 3 values in tables for each class different, damage dealer = percentage of damage dealt as global percent count blocker = 25% of damage dealt / 75 of damage taken as global percent count healer = 10% of damage dealt / 10% of damage taken / 80% of healed teammates...
  10. D

    Lua Item - daily reward

    why it can't be on ground? i dont see any line that will return something wrong when you use it from ground, give console log please.
  11. D

    Ring bag

    Yes, actions.cpp bool Actions::useItem(Player* player, const Position& pos, uint8_t index, Item* item, bool isHotkey) here you can check slot from "clicked item" and do whatever you want, like "slot" = item->getSlotPosition() "ringslot" = ring slotp then write something like that if (slot...
  12. D

    TFS 1.X+ Block / remove browse field.

    yes and yes
  13. D

    Lua Block push players in protection zone.

    ? if it supposed to check creature tile after being pushed its the best way, maybe i missunderstood the request
  14. D

    Lua Block push players in protection zone.

    local ec = EventCallback function ec.onMoveCreature(player, creature, fromPosition, toPosition) if not player or not creature:isPlayer() then return true end local tile = Tile(toPosition) if not tile then return true end if...
  15. D

    new slots

    wtf, im lost @edit 1. Create a new slot, lets name it "emblemSlot" 2. Create a new item that will be a container with xx slots 3. Set this new item slotType to emblemSlot
  16. D

    new slots

    every container has declared size in items.xml <item id="1988" article="a" name="backpack"> <attribute key="weight" value="1800" /> <attribute key="containerSize" value="20" /> <attribute key="slotType" value="backpack" /> </item> containerSize this is what you...
  17. D

    Lua Change on critical script

    CPP Version about register for all monsters
  18. D

    Job - bot for db ots

    details what this bot should do? 😉
  19. D

    ModalWindow Esc-Enter

    I think [TFS 1.2] Modal Window Helper Lib (https://otland.net/threads/tfs-1-2-modal-window-helper-lib.238773/) this one work like charm
  20. D

    Lua quick help on this script

    Then remove in source that message, create one function to loot display corpse:content() + boosted content as single message, hint: this must be an addEvent with 5ms delay, somehow corpse items/description return nill without that small delay. so: Remove that message from c++ probably...
Back
Top