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

    Lua Reload items ingame

    About vocation you have to change in data/movements/movements.xml and data/weapons/weapons.xml. About protection you have to edit the data/items/items.xml as Oen432 said. Look how an item that already exists is configured to understand how to do.
  2. Z

    [OtClient] How to display outfit on inventory window?

    Take a look here. See how outfit variable is built.
  3. Z

    Lua [TFS 1.X] ONLY PLAYERS WITH GUILD WAR SKULL CAN ENTER ON TELEPORT

    I think you will need to create a Lua function to get this function value. I don't know if already exist a Lua function to this...
  4. Z

    423: eof expected near end

    The 423 means the line that have error. SEND THE FULL CODE, we can't help you without the code. In this code, the end in line 17 is closing the function Player:onGainSkillTries. But im pretty sure, that the problem isn't here.
  5. Z

    TFS 1.X+ Teleport on use object

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:teleportTo(Position(xxxxx, yyyyy, zzz)) return true end creature don't exist in scope rs
  6. Z

    TFS 1.3 How do i add distance effect?

    1min Search You cant pass a UserData in addEvent, its unsafe. Unless you use @Infernum safe-addEvent.
  7. Z

    Fractured the most similar game to Tibia.

    I guess the most similar things is Health and Mana, both games use it and display over the character 😂
  8. Z

    item to monster

    How you fucking understood what he is asking for? 🤔
  9. Z

    Lua How to select a Widget?

    Can you elaborate more? I can't understand what you're trying to do... What variable should recive the values( name, mana, magic level)? What's the finality?
  10. Z

    Lua How shorten this Lua?

    But what type It is? String? Widget? Int? Like oen said, you are constructing a string, then should compare with another string
  11. Z

    Lua How shorten this Lua?

    Without Full code we cant say... What is onHotkeyClicada? IS a string? spellValue is a string, be sure compare it with another string...(line 5)
  12. Z

    OTClient 1.0

    Thanks for this contribution! We are needing a updated Client to use, your optimizations are really good. In the future i want to contribute too, i'm thinking about upgrading the modules. Anyway, thanks for your efforts. A question to everybody: Anyone know how to enable DirectX support? I...
  13. Z

    TFS 1.X+ [TFS 1.3] Issue with amount of potions displayed on use

    Look in official git, have a fix for this problem. I guess Nekiro fixed, i cant send link atm
  14. Z

    TFS (1.3) Trying to get teleport to trainers to work..

    The indentation is all wrong. You have spaces and comments in wrong way... Fix the indentation and try run the code. Exemple Line 3: first_room_pos = { x = 1403 , y = 1252 , z = 7 }, - position of the first pos ( row 1 column 1 ) should be: first_room_pos = { x = 1403 , y = 1252 , z = 7 }...
  15. Z

    C++ Upgraded Healing

    Because its a Lua code... Do a onChangeHealth that check If combat type is healing and incresse based in storage value or whatever you want
  16. Z

    How can I check out my spell effects?

    https://github.com/otland/forgottenserver/blob/master/data/talkactions/talkactions.xml#L50 You have, use !z instead of /z
  17. Z

    Slavidodos cast system TFS 1.3 latest

    Good work Bro. I Will check out the code later. Thanks for share!
  18. Z

    OTClient 1.0

    https://www.geeksforgeeks.org/pre-increment-and-post-increment-in-c/ I don't know why he changed, because i don't know the code, but it's different
  19. Z

    Lua How to set multiple storage to a value?

    local storages = {1000,1001,1002,1003} for i = 1, #storages do setPlayerStorageValue(cid, storages[i], -1) end
  20. Z

    [TFS 1.3] [Revscriptsys] Free Lua scripting service - Post your requests! Let's learn it together!

    Hi, You can use this and modify to return the 'unlocked' value too. I think TFS don't have a function to pass this info by default.
Back
Top