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

tfs 1.2

  1. dropz

    Outfits? TFS 1.2 - helppp

    here we go again... maybe now i get a answer :D well, i added some new outfits in my server and they are working properly, but now im facing a problem to "lock" this outfits. currently all premium players has access to the new implemented outfits, and my idea is this new outfits only can be...
  2. F

    Downgrading TFS 1.2

    Hello, I'm downgrading tfs version 1.2(10x) to 854, I have no errors in my client's terminal and no errors in my server's terminal, the client is just "Connecting to the game server...", I changed the settings .cpp, protocollogin.cpp and items.cpp, I'm out of errors and out of ideas to follow...
  3. helviio

    C++ Old elevation parcel block [TFS 1.2] tibia 10.98

    Used Distro : Github Tibia Version : 1098 good morning good afternoon or good night. alright? Hope all is well =D c'mon... I'm trying to create a 10.98 server and I'm trying to add this to my server but I'm not getting however I don't understand much about sources and I've even been researching...
  4. F

    Nostalrius New Outfits

    Hey guys, I'm trying to add new outfits to Nostalrius (Nostalrius by Ezzz). I've already managed to put the new outfits with OB, as you can see: I have no outfit.xml in Nostalrius files, but I found these lines on protocolgame.cpp: If I change the value 134 to 267 (Assassin Outfit on the...
  5. emil1174

    TFS 1.X+ player:setMoveLocked(true) (TFS 1.2)

    Hello. I came back to Tibia after a long time and I am learning again: D Can someone explain to me how it works player:setMoveLocked(true) player:setMovementBlocked(true) Character cant move when i use keybord arrow but when i use mouse can walk :v Gyazo im add function from function...
  6. X

    C++ Convert RSA System from old to new

    Hello, I have tried to convert the RSA system on my server (TFS 1.2) from the "old" style of having the prime1 and prime2 hard-coded in the sources to the "new" style, with a key.pem file, but I can't get it to work. Here is what I have done so far: I replaced these lines in my otserv.cpp...
  7. ranita

    Migrating from TFS 1.2 to TFS 1.4.1

    I attempted to migrate from TFS 1.2 to TFS 1.4.1 but it seems I'm pretty dumb and don't know how. Compiled just fine, but the EXE wouldn't run. Didn't see any sort of config folder and figured I needed to merge it with my TFS 1.2? I'm pretty lost with having to migrate from one version to...
  8. Grinwick

    [PAID JOB] tfs1.2 nostalrius 7.7 dist -stack block walk and -spellLevel

    Greetings, As noted in title, i'm using the nostalrius 7.7 distribution. First i would like to disable walking over stacked parcels, i cant manage it by myself since i only have the 'hasHeight' function not the 'getheight' in 'tile.cpp'. So i'm a bit lost there... Secondly i would like to...
  9. ZeroSkyer

    Lua help in script loot block

    Hello! I made this code to limit how many items can be looted per day, it works fine. But I would like to add many more items, any ideas? Thanks in advance. local falconcirclet = 32414 if lootBlock.itemId == falconcirclet then if Game.getStorageValue(falconcirclet) < 2 then...
  10. Manigold

    Lua TFS 1.2 Save player

    Hello otland, i need a script that saves a player when he kills another player.I'm using tfs 1.2. Something like this: local config = { heal = true, save = true, effect = false } function onAdvance(player, skill, oldLevel, newLevel) if skill ~= SKILL_LEVEL or newLevel <=...
  11. ZeroSkyer

    TFS 1.X+ How to optimize

    I made these scripts, but they cause a lot of lag. Thanks in advance<3 function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if attacker and attacker:isPlayer() then if...
  12. ZeroSkyer

    TFS 1.X+ onhealth bonus

    Hello, I've been like 3 hours and I can't do that works. I also want to know if it is safe to register the event in OnSpawn? Same as self:registerEvent('amplificationPotions') function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if...
  13. Manigold

    Lua TFS 1.X a nil value

    I'm having a problem ,(line 22 :attempt to index local 'conjureItem' <a nil value>) With this function : function Player:conjureItem(reagentId, conjureId, conjureCount, effect) if not conjureCount and conjureId ~= 0 then local itemType = ItemType(conjureId) if...
  14. ZeroSkyer

    TalkAction Buy premium by modal window

    I found this script I made a few months ago, it's not amazing the code but it works fine. function onSay(player, words, param) function Player:sendPremiumPacks() -- Modal Window Functionallity local function buttonAccept(button, choice) if choice.text == "Premium Days (15)"...
  15. danio4don

    TFS 1.X+ what script in tfs is responsible for this lever?

    what script in tfs is responsible for this lever? https://prnt.sc/VPebHNE1lrG-
  16. APTGET

    TFS 1.X+ [Problem] Query Player Containers - NO WORK

    Hey guys. How are things? I currently have a problem, and I'm a little lost trying to solve it. The problem is Casting some rune, or even buying something from any NPC. Although I have several backpacks inside my main backpack, if the main backpack is full, it ignores additional backpacks and...
  17. ZeroSkyer

    Normal cpu usage

    What do you think is the normal CPU usage on this VPS? I'm using otbr without charms, quickloot, bestiary and all that new stuff. Currently I am having a use of 80% of the CPU with 250 players, the VPS is cloud, it is not dedicated.
  18. ZeroSkyer

    TFS 1.X+ how to optimize

    Hello, I just launched the Valentine's Day event and almost the entire server uses exercise, the fact is that up to 40% of the cpu is used with that script, can someone help me optimize it? thanks in advance local skills = { [32384] = {id=SKILL_SWORD,voc=4}, -- KNIGHT [32385] =...
  19. ZeroSkyer

    Scripter Improve my private war

    I'm looking to improve my private war, I want to add options to reduce skill and level within it, I'm using tfs 1.3 - otbr, no revscripts. My discord: Vidar_#5035
  20. ZeroSkyer

    TFS 1.X+ server crash

    Hello guys, does anyone know what this crashlog is related to? Where should I start? Thanks in advance. Signal caught: SIGSEGV in 04/02 - 02:44:01 Thread 5 (Thread 0x7fffefd94700 (LWP 17998)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 No...
Back
Top