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

    Someone can help with c++ tfs 1.2

    Hello community In this npc code here bool Npc::getNextStep(Direction& dir, uint32_t& flags) { if (Creature::getNextStep(dir, flags)) { return true; } if (baseSpeed <= 0) { return false; } if (focusCreature != 0) { return false; } if...
  2. G

    C++ TFS 1.2 Someone can help me to modific this code?

    How can I modify this code to work this way. if the item that will be added to the player has property (isStackable()) it will not autostack if the item is added to any container of the player, or arrow slot or in both hands, but if the item is added and there is no empyt slot in the player's...
  3. G

    Lua Need script when move item start decay

    Hello friends, Im using tfs 1.2 I'm looking for a script that when I move a specific one from a list, it starts to decay, an item that is on the floor of the map Can someone help me? Thanks in advance
  4. G

    OTClient OTCV8 weird thing related with opcode.

    Informations, im using tfs 1.2 MY SHOP OPCODE IS 201 in client script and server script. Hello friends, I'm having problems with the opcode, I'm using OTcv8, I have the shop system installed in creaturescripts. <event type="extendedopcode" name="Shop" script="shop.lua" /> I also have the shop...
  5. G

    adapt server to old client 7.4

    I'm adapting the server to connect with client 7.4, im using tfs 1.2, well i already disable the RSA, XTEA, removed soul bytes and changed looktype bytes... I can now access the list of chars and connect, i can see the character logged in on server console... but i got a debug on client...
  6. G

    Lua Doors script tfs 1.2

    This is my script, i'm trying to replicate the cipsoft door system, but i'm not succeeding i'm having difficulty with the logic and how to apply it in the script door = openHorizontalDoors[item:getId()] if door then local doorCreature = Tile(toPosition):getTopCreature() if...
  7. G

    Lua help with my rope script

    My script local ropeSpots = { 386, 421 } local holeSpots = { 293, 294, 369, 370, 385, 394, 411, 412, 421, 432, 433, 435, 482, 5081, 483, 594, 595, 607, 609, 610, 615, 1066, 1067, 1080 } function onUse(player, item, fromPosition, target, toPosition) local tile =...
  8. G

    C++ tfs question

    Well monsters currently check for hasfollowpatch() far away from the blocked location, where can this be changed for monsters to check for hasfollowpatch closer to the blocked passage?
  9. G

    TFS 1.X+ Monsters respawn direction

    Hello guys, im using TFS 1.2 I'm trying to make all monsters appear in the respawn looking north (DIRECTION_NORTH) but i'm encountering a problem, the monsters only appear looking north when the server starts. if i kill the monster, when it appears again it's looking south... Can someone...
  10. G

    Lua How to check queryadd in this script 1.2

    Example: this is my doors script door = openVerticalDoors[item:getId()] if door then local doorCreature = Tile(item:getPosition()):getTopCreature() if doorCreature then doorCreature:teleportTo(item:getPosition():moveRel(1, 0, 0), true) end...
  11. G

    Lua Script help 1.2

    local resultId = db.storeQuery("SELECT `id`, `owner` FROM `houses` WHERE NOT `owner` = 0 AND (SELECT `premdays` FROM `accounts` WHERE (SELECT `account_id` FROM `players` WHERE `id` = `owner`) = `id`) = 0") if resultId ~= false then repeat local house =...
  12. G

    Lua Spell Script help

    local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) function onGetFormulaValues(player...
  13. G

    C++ C++ New Feature resquest

    Hi guys, i need help to implement this https://otland.net/threads/tfs-0-4-overspawn-monsters-like-old-tibia.275933/ On tfs 1.2
  14. G

    script error help tfs 1.2

    someone can help me? i have this script local config = { number_max_ip = 1, } local white_list = {"000.000.000.000", "000.000.000.000"} function onLogin(player) if isInArray(white_list, Game.convertIpToString(player:getIp())) == false then if...
  15. G

    AAC Znote Feedback Forum

    when I click on the topic of creative feedback by a player on my website, nothing happens, I can't see his topic but i can see the text on my database, how can i fix this?
  16. G

    How can i block Otclient?

    Hello, how can i block players that use otclient on my server? I just want connection by default cip client. Theres any way? Im using TFS 1.2 Obs: i found this topic, but no work... https://otland.net/threads/tfs-1-2-7-72-how-to-block-otclient.262987/post-2542731
  17. G

    Lua how add exaust potions in this script 1.2

    Hello, how can i add a exaust of 1000 after this code part if target:isCreature() and target == player then if item:getFluidType() == FLUID_NONE then player:sendCancelMessage("It is empty.") function onUse(player, item, fromPosition, target, toPosition) local...
  18. G

    Programmer Looking programmer with with good knowledge C++

    I am looking for a programmer with good experience. Job: do 3 tasks on this engine. https://github.com/TwistedScorpio/Nostalrius for those interested, send me a pvt msg and i give more details about the tasks. before we make a deal, I'd like a budget payment by paypal, I pay in advance if the...
  19. G

    C++ monster.cpp, How declare a specific condition

    in monster.cpp file, exist this isSummon() how can i declare if it's player or monster summon? it is possible to differentiate?
  20. G

    C++ doubt c++ function tfs 1.2

    in item.h, int32_t getThrowRange() const final { return (isPickupable() ? 15 : 2); } what does that mean there? ? 15 : 2);
Back
Top