• 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!

Recent content by Sarah Wesker

  1. Sarah Wesker

    TFS 1.X+ automatic recognition from premium to free tfs 1.5 772

    -- female, male local defaultOutfit = {138, 130}
  2. Sarah Wesker

    AAC how add premium time in mysql

    -- Set 30 days -- UPDATE accounts SET premium_ends_at = UNIX_TIMESTAMP() + 86400 * 30 WHERE id = 1; -- Add 30 days -- UPDATE accounts SET premium_ends_at = premium_ends_at + 86400 * 30 WHERE id = 1; ...
  3. Sarah Wesker

    TFS 1.X+ automatic recognition from premium to free tfs 1.5 772

    local storage = 88888 local defaultCity = "Thais" local noVocationCity = "Rookgaard" local defaultOutfit = {138, 130} local creatureEvent = CreatureEvent("onLossPremium") function creatureEvent.onLogin(player) if configManager.getBoolean(configKeys.FREE_PREMIUM) or...
  4. Sarah Wesker

    TFS 1.X+ automatic recognition from premium to free tfs 1.5 772

    You can try with this: data/scripts/onlosspremium.lua local storage = 88888 local defaultCity = "Thais" local creatureEvent = CreatureEvent("onLossPremium") function creatureEvent.onLogin(player) if player:getStorageValue(storage) == -1 then player:setStorageValue(storage...
  5. Sarah Wesker

    RevScripts Protection by % based on a storage value.

    more or less: data/scripts/script.lua local storage = 757557 local difference = 30 -- 30% local ec = EventCallback function ec.onTargetCombat(creature, target) if creature and target and creature:isPlayer() and target:isPlayer() then local creatureScore =...
  6. Sarah Wesker

    C++ !oldmwon or !oldmw off

    TFS 1.4.2+ data/scripts/script.lua local command = "!oldmw" local storage = 777555 local newMagicWall = Combat() newMagicWall:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) newMagicWall:setParameter(COMBAT_PARAM_CREATEITEM, ITEM_MAGICWALL) local oldMagicWall = Combat()...
  7. Sarah Wesker

    TFS 1.X+ Reward Chest TFS 1.5

    data/scripts/eventcallbacks/monster/default_onDropLoot.lua local mType = self:getType() if mType:isRewardBoss() then local timestamp = os.time() local rewardContainer = Game.createItem(ITEM_REWARD_CONTAINER) rewardContainer:setAttribute(ITEM_ATTRIBUTE_DATE...
  8. Sarah Wesker

    RevScripts Reset system talkaction

    Recopy the code I posted, I forget to add the sum of the maxHealth + newMaxHealth
  9. Sarah Wesker

    Player loss skill at logget out

    For someone to be interested in helping you, you must also help a little. you can start by leaving some description of your engine, for example: TFS 0.4, TFS 1.x, OTBR, Canary? You can also add screenshots or any possible error messages in the console that could be useful.
  10. Sarah Wesker

    TFS 1.X+ Movement addSpecialSkill bug (tripling value)

    try this: function onEquip(player, item, slot, isCheck) if isCheck then return true end player:addSpecialSkill(SPECIALSKILL_CRITICALHITCHANCE, 1) player:addSpecialSkill(SPECIALSKILL_CRITICALHITAMOUNT, 1) return true end Currently #4214 has been added to TFS, however...
  11. Sarah Wesker

    RevScripts Reset system talkaction

    I haven't tried it but it should work fine. data/scripts/resetSys.lua local resetSys = TalkAction("!reset") local config = { storageResets = 500, backToLevel = 8, redskull = true, -- need to be without redskull to reset? battle = true, -- need to be without battle to reset...
  12. Sarah Wesker

    [HOT] Sublime Text TFS 1.X Auto-Completion

    Same, just added some revscript autocompletes and eventcallbacks HERE
  13. Sarah Wesker

    [TFS 1.5] 💰 𝒟𝓇𝑒𝒶𝓂 𝒪𝒻 𝒢𝑜𝓁𝒹 💰 𝓋𝟸 💴

    I will make a version for degraded TFS and publish it as soon as possible, thanks for trying your version.
  14. Sarah Wesker

    C++ How to Print in Console

    std::cout << corpseOwner << std::endl;
  15. Sarah Wesker

    TFS 0.X Premium Account On One player not all account

    I don't know if it will work, I don't have a way to test it in your version. A trick to make it work with storage: local config = { storageTime = 677777 } function onLogin(cid) local time = tonumber(getCreatureStorage(cid, config.storageTime)) or -1 if time == -1 then...
Top