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

    TFS 0.X [Solved]Storage overflow?

    I really like 8.54 version. Im trying with tfs 0.4 and otx 2 patch 8.54 that problem still is.. so..
  2. kubernik

    TFS 0.X [Solved]Storage overflow?

    This is just test storage, in main function i have something like 1000+ and problem still is. That function is only test, add storage and back to 0. Because i have random problem when function have one mission.. just 1+1 and something is not 2... It is `ç$·˙
  3. kubernik

    TFS 0.X [Solved]Storage overflow?

    Hello! i'm using tfs 0.3.6 i have big problem with storage :/ i'm using storage to count killed monster and i seen that sometimes my storage has changed to string like this: count from 1 to 4 AND... 4 -1 `ç$·˙ `ç$·˙ `ç$·˙ `ç$·˙ i dont know what function work wrong im trying to delete all from...
  4. kubernik

    TFS 0.X Change potion formula

    health = {50, 100} It is range to heal? You want make heal with range from50 to 100? Or heal for 50 or for 100?
  5. kubernik

    TFS 0.X Monster of the day 0.4

    Like i remember in tfs 0.4 and 0.3.6 you cannot use global.lua or lib for globalevent. You have to write boostedMonstersList to startup function. Just.. open your onStartup script and do something like this: local config = { creationTime = 7 * 86400, checkTime = 7 * 86400...
  6. kubernik

    C++ Level Rang Name. Where i find line with this function?

    engine version...? if something like 0.3+ you can trying edit it in protocolgame.cpp find it: void ProtocolGame::AddCreature(NetworkMessage_ptr msg, const Creature* creature, bool known, uint32_t remove) below: if(!known) { msg->AddU16(0x61); msg->AddU32(remove)...
  7. kubernik

    Lua Item which give skill rate crash server

    @gicu0770 If you don't have some function in server you will get information in console, not crash. xd @topic This is problem with engine, you will try add this item in any container. If you get item to backpack this will work fine. btw.. If you get item in slot(necklace) and you have this in...
  8. kubernik

    TFS 0.X Cast System on tfs 0.3.6

    Deleted
  9. kubernik

    TFS 1.X+ player:setStorageValue(100, Rat) dont work, why?

    Did you want string value? Try: player:setStorageValue(100, "Rat")
  10. kubernik

    TFS 0.X Monster Level

    Hello i trying to add this monster level system to tfs 0.3.6, but my compilator spits with error: map.cpp monster->name = monster->getName() + " [" + itoa(level, buffer, 10) + "]"; ‘itoa’ was not declared in this scope Code in spoiler monsters.cpp monster.h monster.cpp map.cpp...
  11. kubernik

    C++ getPlayerItem by slot(SOLVED)

    What the heck? i just used your code and it work <.< I suffered seven hours because of that code... trying to do something in c++ but... i did something wrong in LUA? O.O kill.. me XD
  12. kubernik

    C++ getPlayerItem by slot(SOLVED)

    local armor_id = 13539 local legs_id = 13540 function onEquip(cid, item, slot) if(slot == 7) or (slot == 4) then if getPlayerSlotItem(cid, CONST_SLOT_LEGS).itemid == legs_id and (getPlayerSlotItem(cid, CONST_SLOT_ARMOR).itemid == armor_id) then...
  13. kubernik

    C++ getPlayerItem by slot(SOLVED)

    @Apollos Thanks, i will trying with this later. I need this code to make little change in movement.cpp @Off Topic At the beginning I added this code: Feature - Attributes MOD (https://otland.net/threads/attributes-mod.156649/) BUT... When i make any code in movement(in LUA) for example: --DONT...
  14. kubernik

    C++ getPlayerItem by slot(SOLVED)

    Hello, someone can tell me how to check item on slot in c++? i want to check helmet in c++, but i don't know how.. :c It must be in c++! someone? help? please? :c
  15. kubernik

    Lua [8.6 OTServ 0.6.4] (SOLVED) Need help with simple quest.

    Yup. [LUA] 0.4 TFS Functions
  16. kubernik

    Lua [8.6 OTServ 0.6.4] (SOLVED) Need help with simple quest.

    Try: replace that: local WEIGHT = getItemWeight(ITEM, COUNT) with local WEIGHT = getItemWeightById(ITEM, COUNT)
  17. kubernik

    C++ How to make monster attack only player with storage

    When normal monster with this lane: <flag sagamonster="0"/> Attack player.. server gonna crash :o i remove this: std::string keyes = "8000"; std::string valueses = "1"; attacker->getStorage(keyes, valueses); if(!target->isAttackable() ||...
  18. kubernik

    C++ Mele damage difference

    i trying to use this Weapon with Formula and this is my hits 22:10 You deal 974 damage to a trainer. 22:10 You deal 4656 damage to a trainer. 22:10 You deal 5447 damage to a trainer. 22:10 You deal 6026 damage to a trainer. 22:10 You deal 24528 damage to a trainer. 22:10 You deal 2517 damage...
  19. kubernik

    C++ Mele damage difference

    bump
Back
Top