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

    Lua Anti-Aimbot script, not working as intended.

    Yeah that was what I was worried about. I guess the old system really is the way to go when catching aimbotters. (Having the players themselves record them shooting runes under roofs and sending me the evidence) I was sorta planning on abandoning this script because it felt like it would've...
  2. Demnish

    [question] old tibia 7.4 and parcel height block

    If you find my answer satisfactory then do mark it as the answer to the thread, so others can see that it is solved and have an easier time finding answers that they seek. Good luck in your future projects!
  3. Demnish

    Lua Anti-Aimbot script, not working as intended.

    Thanks for helping me mate. However, the script works the same as before. The player keeps their red squared target and is still able to shoot SD's on it, while their autoattack target changes to the one set in the script. I mean, looking at the code it should work, but might it have to do...
  4. Demnish

    Lua Anti-Aimbot script, not working as intended.

    I set it like this: function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end local target = Player(param) local position = target:getPosition()...
  5. Demnish

    Lua Anti-Aimbot script, not working as intended.

    I've been looking into OTC and I'd love to use it, but never got around to compile it. I will give it a shot though! Anyway I managed to get it "partly" to work. Autoattack switched to my assigned target, however the player could still shoot runes on their last target since that one was still...
  6. Demnish

    Lua Anti-Aimbot script, not working as intended.

    TFS 1.2 (Client 10.98) This is my script: function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end local target = Player(param) local position =...
  7. Demnish

    C++ Old burst arrow formula

    What I do when I encounter problems such as this is download a 7.4 Datapack and just copy the code then tweak it to work on my server. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_BLOCKSHIELD, 1) setCombatParam(combat...
  8. Demnish

    [question] old tibia 7.4 and parcel height block

    TD;LR: 2 parcels 1 parcel = you can walk over it. 2+ parcels = you will get blocked. Unless you have enough stuff to get you to 1 height lower. However this stops working after max graphic stack. (Which I think is 4 parcels) So the minimum parcels that can block you is 2 and the maximum is X...
  9. Demnish

    TFS 1.X+ Reset level when login/logout + teleport to temple

    Why do you need to put that onLogout? o_O That function can never work in such a way, because it is trying to use code that can only be executed while a player is online. (at least to my knowledge) If you want it to execute when a player is offline I guess you can use Database Queries? I'm not...
  10. Demnish

    Lua Need help with my "Mass Lifedrain" spell

    TFS 1.2 local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_LIFEDRAIN) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) combat:setArea(createCombatArea(AREA_CIRCLE5X5)) local healing = Healing() healing:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING)...
  11. Demnish

    TFS 1.X+ Reset level when login/logout + teleport to temple

    Here is a script for the level; resetlevel.lua: (I'm afraid I can't help you with the teleport) local function getExp(level) return ((50 * level * level * level) - (150 * level * level) + (400 * level)) / 3 end function getExpForLevel(level, offsetLevel) level = level - 1...
  12. Demnish

    Compiling Anyone that can help me compile this?

    I did indeed, I downloaded everything that the tutorials told me to, installed all the software. But still it says "missing Cryptopp/rsa.h", among many other files, but especially problematic is the cryptopp. I tried downloading cryptopp from the web, to get rid of all the missing files errors...
  13. Demnish

    Compiling Anyone that can help me compile this?

    No matter what I do, no matter how much I include I get errors. Errors on top of errors for eternity. :( So can someone help me compile the latest stable version of TFS? (Windows x64) Link: otland/forgottenserver Thanks in advance!
  14. Demnish

    Which distro's are still being worked on?

    I feared that was the case.. Time to reminice the old times, where everyone was forward with sharing the best distros with everyone else and providing constant support to one another. I guess all the stealing of sources and scripts has taken it's toll..
  15. Demnish

    Which distro's are still being worked on?

    As the title says, I'm curious to see which distro's that you know of does still have support. Some distro's that I've tried have either been labeled "finished" or simply abandoned. All of them have contained more or less a few game breaking bugs. I remember OTLand used to have a section which...
  16. Demnish

    [8.6 OTServ 0.6.4] Capacity doesn't update correctly on "conjureItem" spells.

    I have no doubt that your solution would fix the issue, however I had to abandon the distro I was working with (OTServ 0.6.4) due to bugs like these ones among a lot of other ones that really broke the game the way I ment to make it. I've looked into TFS 1.2 for client 10.98 and hope that one...
  17. Demnish

    Lua This free inventory check script won't work.

    Yeah, thanks a lot for helping me out mate, however I had to abandon that distro. Way too many bugs and glitches to be worth working on, I switched to a 10.98 distro instead since the nature of my project doesn't really depend on the client version. Also a newer distro might be more worth...
  18. Demnish

    Lua This free inventory check script won't work.

    I think it's easier if I just post my whole script: local ITEM = 2195 local COUNT = 1 local DROPONGROUND = false local ITEMNAME = getItemName(ITEM) local STORAGE = getItemIdByName(ITEMNAME) local WEIGHT = getItemWeightById(ITEM, COUNT) function onUse(cid, item, frompos, item2, topos) if...
  19. Demnish

    Lua This free inventory check script won't work.

    I'm not running TFS, I'm actually running OTServ 0.6.4 since I read it is the most stable distro. I tried the ones you mentioned and while it didn't work. I got a new error which was quite interesting: (I also tried "getContainerCapByID(BP.uid)" and got the same result) This works as far as...
  20. Demnish

    Lua This free inventory check script won't work.

    I need a check to determine if the player has any available slots where items can be placed. This script will be used for quests etc, I've already made a check on the player's cap, now I need to check for the player's available slots. function onUse(cid, item, frompos, item2, topos) local BP...
Back
Top