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

code

  1. MrUnFantastic

    How to change weapon level?

    So, as the title states, I am trying to figure out how to change a weapon's level. I wanted to lower the level requirement for a snakebite rod. However, after chaging it from 7 to 5: <wand id="2182" level="7" mana="2" min="8" max="18" type="earth"> <!-- Snakebit Rod --> <vocation...
  2. blokerzinha

    Problem with the wrong player appearing as top even though he is not. Znote

    I'm having a problem, the site shows the correct outfit for the top level, but the name shows the Gms. I checked the cache folder and it is correct showing the name of the player. I'll leave the code below in case someone can help me. this is the home page, if you need any more code I'll make...
  3. I

    OTC Bot

    Hello everyone and i'm sorry if i'm posting it on the wrong place, i've never posted anything here. I was wondering if somebody could help me with a code for OTC bot that help me to change the lureCount from 5 to 8 everytime the cavebot pass reads the fuction. I'll explain here in a better...
  4. potinho

    TFS 0.X Autoloot MOD - Issue with Stone Skin Amulet

    I have an autoloot MOD that seems to work fine, but I discovered a problem: when I kill a monster and it drops an SSA, if I don't have the autoloot turned on it comes with 5 charges. If autoloot is enabled, it only comes with one charge, how do I fix this? autoloot.xml <?xml version="1.0"...
  5. Kuantikum

    C++ [TFS 1.3] CTRL+ARROW KEY (Make the GODS / GM go through the walls)

    HELLO!!! :p I don't know if it's a code in the sources or a simple scrip, but I'm looking for the code to be able to make the GODS / GM go through the walls with the key combination CTRL + ARROW KEYS for TFS 1.3 please. Can anybody help me ? I'm very grateful 😍😘🥰
  6. Lessaire

    Suggestion Code tag option dropdown ordering

    I have to omit prefix because of the available two, my threads are always both 🧐 I think this diff explains my complaint and my suggestion adequately. As a userscripter, I can fix this for myself easily, because I'll just make a shortcut to inject plain empty CODE tag pair and fill it in. No...
  7. 1

    Editing Floor View with Storage 0.4

    Hey there! Firstly sorry for my bad english... So.. I'm looking for a system that verify the player storage.. and when return 1, will change the Floor View: I developed a solution that i can verify the storage in GetMapDescription, and GetFloorDescription... using a new param (bool...
  8. Fox Rother

    TFS Architecture

    Hey, everybody! I'm trying to understand TFS' architecture, but as I'm still a n00b in C++ (currently reading the Deitels), I thought someone more experienced would like to share their knowledge on its innerworkings. I'm very interested in contributing. It doesn't need to be very detailed...
  9. thalmonn

    Help to translate this code!

    Hello folks! I'm not a expert on dev otserver, so in this moment i'm trying to "convert" this code to a new version. This script is write to work on tfs 0.4 (i think) on a otserver 7.92. I need to convert him to a tfs 1.2 params, to do the same thing as the original version. I need to run it on...
  10. Ascuas Funkeln

    [FULL] Text Colors codes.

    Hello, i spent some time for prepare this for self help/use, but i dont see any problem to share it with you guys. I dont see any "full" text color codes here, soo take it and enjoy ;) --OLD... New way In object builder as "Light" you can find number of text color
  11. L

    How can i disable keyboards letters hotkeys while chat is enable?

    Hey everyone, I'm looking to make work a wasd movement script like the way it works on the old tibia flash client. Like this: "Chat enable -> The hotkeys that are not components of F1, F2, F3... will be disabled. Chat disable -> Wasd walk will work and all the hotkeys including letters like "Q"...
  12. D

    Raw code

    Hi! Could you add so that when someone adds code to their post we can copy the raw code like on GitHub?
  13. Karofel

    Lua Optimize code - Action

    Hello, I wrote that script and now want to extend it, but i need to create so much tables etc for that. So there is someone who have idea how to optimize that? local chance1 = 1 local chance2 = 5 local chancerare = 20 local itemstodestroy = {25522, 2494, 25523} local mats = {5887, 5888} local...
  14. 115820

    C++ Respawn With Player in Screen

    How put respawn with player in screen, like tibia version 10.95?? I use TFS 0.4, Tibia Version 8.6... i saw in that's two server with this code in 8.6. 1- InsanityOt - ip: insanityot.hopto.org 2- ForgottenL - ip: forgottenl.se
  15. changos

    (Help) Shared Account Depot

    Hi OTland community, i was searching the code for create a Shared Account Depot but i havent lucky what i need is: (u could see the items in your Depot of all u characters in the same account) i would like the depot requiere x action id for use other than the existing locker If you could help...
  16. K

    2 Functions

    Hi there, I am curious if you can actually write 2 functions in one line because it could save me huge amount of work. My current code is: function onLogout(cid) if (getPlayerVocation(cid) == 1) then doCreatureChangeOutfit(cid, {lookType=549}) return 1 end I was trying to...
Back
Top