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

    C++ [TFS 0.4] Create New Depot without depot chest

    in sources, Search player.cpp Player::getDepot and replace whit this remember PUTYOURDEPOTID change to Depot Town for not create depot and if your depot exist u need remove from database (player_depotitems) 2594 of this depot Depot* Player::getDepot(uint32_t depotId, bool autoCreateDepot) {...
  2. S

    TFS 0.X Paralyze Rune like RL [0.3.7]

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) function onCastSpell(cid, var) local detectspeed = getCreatureSpeed(getTopCreature(variantToPosition(var)).uid) local condition = createConditionObject(CONDITION_PARALYZE)...
  3. S

    TFS 0.X Paralyze Rune like RL [0.3.7]

    condition:setFormula(0, -(target:getSpeed()) + 80, 0, -(target:getSpeed()) + 80). Formula 80 what is? Run speed same level 80?
  4. S

    Lua -=[TFS]=- 0.4 8.60 How do I get started with skills 0

    You need edit Samples in Database...
  5. S

    Lua [SQL] -=[TFS]=- 0.4 8.60 How to click on one item and show message doPlayerPopupFYI

    doPlayerPopupFYI(cid, "Voce Vai Precisar de" .. "\n(" .. getVipCoin(cid) .. " VIP Coin)" .. "\n\n Para Comprar Esse Item!.")
  6. S

    Compiling TFS 1.5 Downgraded Ubuntu 20.04

    i solved it with: if (g_luaEnvironment.loadFile("data/global.lua") == -1) { std::cout << "[Warning - ScriptingManager::loadScriptSystems] Can not load data/global.lua" << std::endl; } change to: g_luaEnvironment.loadFile("data/global.lua");
  7. S

    TFS 0.X [Tfs 0.3.6] How can I put a max level for usage of an item

    You can try with this script dont tested, send me any error for fix it. function onEquip(cid, item, slot) if getPlayerLevel(cid) >= 50 then doPlayerSendCancel(cid, 'You cannot equip AOL above level 50+.') return false end return true end
  8. S

    Compiling TFS 1.5 Downgraded Ubuntu 20.04

    Okey i remove this line and not have errors about loading scripts but i dont change anything from this. this is my global.lua math.randomseed(os.time()) dofile('data/lib/lib.lua') ropeSpots = {384, 418, 8278, 8592} keys = {2086, 2087, 2088, 2089, 2090, 2091, 2092, 10032} openDoors = {...
  9. S

    Compiling TFS 1.5 Downgraded Ubuntu 20.04

    somebody have idea, whats error?
  10. S

    Lua -=[TFS]=- 0.4 8.60 Error Script

    Change local criticalLevel = getPlayerStorageZero(cid, config.storagecrit) To local criticalLevel = getPlayerStorageValue(cid, config.storagecrit)
  11. S

    How to extract spr from ROTS (SOLVED)

    how i can test this code, what i need put and where, for testing extract images? for not only get random pixels?
  12. S

    'sendExtendedOpCode' (a nil value)

    i wasted 6 hours searching the problem, and is one lower case xD Thanks very much!
  13. S

    'sendExtendedOpCode' (a nil value)

    Why i cant send opcode from otclient? i get this error function removeLootItem(item) local protocolGame = g_game.getProtocolGame() if protocolGame then protocolGame:sendExtendedOpCode(54, item) end g_game.talk("!autoloot remove,"..item) scheduleEvent(windowAutoLootSleep, 100) end
  14. S

    Feature Increase player damage

    some years ago i add it, but u need modified somethings lines
  15. S

    Feature Increase player damage

    Yep, its working in 0.4
  16. S

    OTClient Extended Opcodes

    i using otclientv8 tfs 0.4 i try send ping to client but not is working if i actived feature(gameclientping) show my 3.9k-4.5k ping... and have so much lag when i actived that feature without feature all is working perfectly i added function pingback to my sources maybe some help me? maybe i...
  17. S

    Linux MySQL Slow Connections LocalHost

    someone help me, i using 0.4 tfs rev 3884 When i use localhost database of my server All Querys slow i dont know is slow conection server with database but when i use extern database of out my server is more fast of local database example Local Database: House Syncronization Delay 18 to 24...
  18. S

    TFS 0.X where i can found C++

    i have this line maybe i change if(change < 0 && caster && caster->getPlayer() && target->getPlayer()) to if(change < 0 && caster && caster->getPlayer() && target->getMonster()) working only in monsters? Okey i testing it and is working with monsters only :) now i need how i can get damage...
  19. S

    TFS 0.X where i can found C++

    8.60 in all type of damage Example some storage value = value% increament damage to monsters only not players
  20. S

    TFS 0.X where i can found C++

    The forgotten server 0.4 rev 3884 Where i can found Damage Players to monsters??? i only found this line but is for monster to player.. if (target->getPlayer() && attacker && attacker->getMonster()) damage *= 2; any can help me? Srry for my bad english..
Back
Top