• 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

    CreatureEvent TopLevel Effect

    @lulek1337 local config = { tempo = 10, --tempo em segundos mensagem = { texto ="[TOP]", -- não use mais de 9 caracteres efeito = TEXTCOLOR_LIGHTBLUE -- efeito para a função doSendAnimatedText }, efeito = 30 -- efeito da função doSendMagicEffect } function...
  2. kubernik

    Lua do not allow the same ip for the boss (MC)

    local checkMc = {} for i = 1, #config.playerPositions do playerTile = Tile(config.playerPositions[i]):getTopCreature() local getIp = playerTile:getIp() if checkMc[getIp] == true then return false -- here is someone with mc end checkMc[getIp] = true end Write on phone.. so.. xd
  3. kubernik

    Task System TFS 0.4 - Dziwny błąd

    Nie, problemem u ciebie jest "corrupted storage" Ja byś sobie wypisywał printem jakie jest storage, to pewnie wyjdą znaczki, w bazie danych sobie sprawdź jak to się zapisało. Chyba, że jakiś twój skrypt zmienia te storage na jakiś text. Problemem jest getCreatureStorage/getPlayerStorageValue...
  4. kubernik

    Lua [1.2] relocate container content

    int LuaScriptInterface::luaItemTypeIsContainer(lua_State* L) { // itemType:isContainer() const ItemType* itemType = getUserdata<const ItemType>(L, 1); if (itemType) { pushBoolean(L, itemType->isContainer()); } else { lua_pushnil(L); } return 1; }...
  5. kubernik

    Help Script.

    local failposition = Position(770, 934, 6) function onStepIn(creature, item, position, fromPosition) if not creature:isPlayer() then return false end if creature:getPremiumDays() <= 0 then creature:teleportTo(failposition)...
  6. kubernik

    GlobalEvent TFS 1.3 Monster Wave Event

    There is no point in saying anything too much, the author of the topic will send everyone who is right.. to programming school. xDD So.. kekw again.
  7. kubernik

    When will TFS 1.4 be released?

    No. When code work it mean that it is good, but that doesn't mean it can't be written better. kekw for you.
  8. kubernik

    TFS 1.2 Globalevent (spawn item) doesnt work

    where do you have the items table?
  9. kubernik

    Two programmers at 80km/h

    Soooo.. that is, we compare a person who optimizes a client... to someone who created his client himself? Xd?
  10. kubernik

    TFS 1.X+ !serverinfo

    btw: here you have what you want in cpp, simple changes: https://github.com/otland/forgottenserver/pull/2750 and here in lua: https://github.com/otland/forgottenserver/pull/3049
  11. kubernik

    TFS 1.X+ !serverinfo

    -.- If you use custom systems.. just use function created by actor, he remove Game.getExpiericenceStage And add getRateFromTable(experienceStages, player:getLevel(), configManager.getNumber(configKeys.RATE_EXP))
  12. kubernik

    TFS 0.X Random items max bonuse

    This is Stats system not Sets. This system give you STATIC bonus to Item if you kill monster. Are you looking for this? https://otland.net/threads/tfs-1-3-item-sets.263693/ I know that this is for 1.3, but this is what you want? xD
  13. kubernik

    TFS 0.X slot system

    Eh.. it doesn't even matter, but if you want xd local function isArmor(uid) -- Function by Mock the bear. if isInArray(conf.byPass, uid.itemid) or (getItemInfo(uid.itemid).armor ~= 0) and (getItemWeaponType(uid.uid) == 0) then return true end return false end Ofc remove...
  14. kubernik

    TFS 0.X slot system

    if not isInArray(conf.byPass, itemEx.itemid)[...] This part of code skip "isArmor" function if you type id in byPass table, because this check if table is not empty then return false, else.. go check other shit, BUT if you type id your boots in byPass it return false and dont check other...
  15. kubernik

    TFS 0.X slot system

    I'm just dumb.
  16. kubernik

    TFS 0.X slot system

    Add new table to conf.. for example "byPass" byPass = {idBoots,otherid,etc} And change this: if isInArray(conf.ignoredIds, itemEx.itemid) or (not getItemWeaponType(itemEx.uid) or getItemWeaponType(itemEx.uid) > 5) or (getItemWeaponType(itemEx.uid) == 0 and not isArmor(itemEx))...
  17. kubernik

    Lua onKill tfs 1.2

    local kills = player:getStorageValue(2204171609) if player then Legit. xD
  18. kubernik

    C++ Container - onMove function

    @Nekiro Kek, look at the bottom @topic Soo.. tell me more about tradition. xD
  19. kubernik

    Lua return nill function self:getId()

    ym... did you use maybe this function?: loadVipData you have definitely empty cache. Hm.. add maybe: player:loadVipData() player:updateVipTime() in creaturescripts/scripts/login.lua and this should help you. so... this: function Player.getVipDays(self) return VipData[self:getId()]...
Back
Top