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

    max level

    hi, i have a war server and need set max level i test this script but dont work tfs 1.2 local c = { savePlayersOnAdvance = true, maxLevel = 600 } function onAdvance(player, skill, oldLevel, newLevel) if(config.savePlayersOnAdvance) then player:save() end if newLevel >=...
  2. xLosT

    Gesior Count storage

    How do I display the total number of storage on a page? gesior 1.0 exemple db.query('SELECT COUNT(*) as `player_storage` FROM 'key' = 81262 ...? [code] Show 'value' number from storage 81262
  3. xLosT

    Ignore if storage xx

    How do add not teleport a player with storage xx i change this local pos, player = mapPositions[newTemple] player = players[i] player:teleportTo(pos) to this local pos, player = mapPositions[newTemple], players[i] if player:getStorageValue(81262) == 1 then...
  4. xLosT

    Teleport gain storage

    I tried to create a system where the player pass teleport and gains storage, but this does not happen 17:12 You see a magic forcefield. Item ID: 1387, Action ID: 8126 Position: 32357, 31782, 7 function onStepIn(creature, item, position, fromPosition) if item.actionid == 8126 then...
  5. xLosT

    Remove Storages with free account

    i need creaturescripts if login check Premium or free account, if free account remove five storages
  6. xLosT

    Npc exhaust

    my server is down, and now is not possible to trade or travel with npc because have exhaust in lib npc modules elseif os.time() < getPlayerStorageValue(cid, exhausts) then npcHandler:say('Sorry, but you need to wait three seconds before travel again.', cid) How can i...
  7. xLosT

    Bug Gesior Logout

    Today after the serve save, when I enter some account of the gesior and I go any page auto logout, is not possible create character because logout in create account another error The Following Errors Have Occurred: Information about verification code in session is empty. @edit this bug is on...
  8. xLosT

    Restart Linux

    How can i restart tfs only at scheduled time on linux? I thought i'd do it for crontab, but how do i go back to the screen before running tfs @edit i creat sh with directory and work #!/bin/bash ulimit -c unlimited while true; do cd /home/otserv && ./tfs; done one more question, how do i...
  9. xLosT

    Store game debug

    i configure /data/store store.xml <?xml version="1.0" encoding="UTF-8"?> <store> <category name="Tool" icons="Sneaky_Stabber_of_Eliteness.png" description="Buy items direct for your character."> <offer name="Sneaky Stabber of Eliteness" price="2" icons="Sneaky_Stabber_of_Eliteness.png"...
  10. xLosT

    Cant connect OTX

    Hello, I have a ubuntu 14.04 with tfs 1.2 tibia 8.6 server running i compile OTX from github The server opens, but I can not connect to it >> Global IP address(es): 177.54.157.185 > Bound ports: 7171 7172 >> Everything smells good, server is starting up... >> OTXSERVER server Online...
  11. xLosT

    exp kill tfs 1.2

    How can I increase the exp obtained when killing player X player? only way I found was to increase the loss of exp (deathLosePercent = 1) Some other way to increase without mechanics in the deathLosePercent?
  12. xLosT

    Script Unsafe

    in tfs 1.2 have one erro Lua Script Error: [Weapon Interface] data/weapons/scripts/wand.lua:onUseWeapon luaAddEvent(). Argument #3 is unsafe stack traceback: [C]: in function 'addEvent' data/weapons/scripts/wand.lua:17: in function w = { [1] = {ef = 36, sh = 3, dmg =...
  13. xLosT

    Bug Up Ladder

    if item, magic wall, any rune wall in ladder, block to up TFS 1.2 teleport.lua local upFloorIds = {1386, 3678, 5543} function onUse(player, item, fromPosition, target, toPosition, isHotkey) if isInArray(upFloorIds, item.itemid) then fromPosition:moveUpstairs() else...
  14. xLosT

    Clone Character tfs 1.2

    i have edit my source 0.4 to clone character if(!_player || name == "Account Manager" || g_config.getNumber(ConfigManager::ALLOW_CLONES) > (int32_t)players.size()) { player = new Player(name, this); player->addRef(); to if(!_player || name == "Druid" || name ==...
  15. xLosT

    Push Player

    pushCreatureDelay = 1 * 1000 dont have on tfs 1.2, where can I edit in sources?
  16. xLosT

    Exp Kill

    i have one script exp from killing high players, How can i modify to give exp to everyone even if kill level high or low player, and add the lost exp of the other player EX: Player 1 kill player 2 player 2 loss "X" Exp, Player 1 gain "X" exp function onKill(cid, target, lastHit) local...
  17. xLosT

    Kill Player Gain Gold

    i need script to tfs 1.2 if kill player gain gold i have one but dont work and not erros in console function onKill(cid, target, lastHit) local reward = { item = 2152, --ITEM ID! count = 1 -- How many? } if cid ~= target and isPlayer(target) and getPlayerLevel(target) <=...
  18. xLosT

    Convert to new tfs

    How can i pass this to tfs 1.2? doPlayerAddExperience to doPlayerAddExp? getExperienceForLevel to ?? function onLogin(cid) if getPlayerLevel(cid) < 130 then doPlayerAddExperience(cid, (getExperienceForLevel(130) - getPlayerExperience(cid))) end return TRUE end[code]
  19. xLosT

    Compiling Error Lib

    my server dont start in ubuntu 12.04 root@localhost-101:/home/server# ./theforgottenserver ./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
  20. xLosT

    delete accounts

    must command to delete all accountas on database except two accounts
Back
Top