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

    Lua Metin Stone Event --reward premium points for ZNOTE ACC

    If you look at your error, the query says "WHERE name = 'amber'". There is no column called "name" in your znote_accounts table. You need to replace it with the code you have already provided: "WHERE account_id = " ..getPlayerAccountId(cid)
  2. I

    Solved change exp item from 100vs to 1vc

    Basically, look at ITEM_GOLD_COIN, this variable can be used in Lua scripts because it is defined in the sources. You can make your own by following what i said to do. (You can also define it globally in a global lua lib file, which skips the need for compilation) Otherwise, using fixed ID's...
  3. I

    Solved change exp item from 100vs to 1vc

    You can define item consts in the const.h file found in your sources folder. Once you rebuild, the const will be available in both sources and Lua environments. Below is where they are located for current TFS, It should be similar for otx 2.16 forgottenserver/src/const.h at master ·...
  4. I

    Solved change exp item from 100vs to 1vc

    Replace ITEM_VIOLET_SKIN and ITEM_VIOLET_COLLECTION with their actual item ID's quickly and see if it works.
  5. I

    Solved change exp item from 100vs to 1vc

    ITEM_VIOLET_SKIN const doesn't exist, which is why it says the key is nil
  6. I

    [otcv8] how to send uid to client?

    Extending from what Gesior explained: Create your own database table, similar to player_items. When a player lists an item, and the server knows which specific item it is (unique item with its own attributes/custom attris etc), you create a new row, and destroy the item ingame. And on purchase...
  7. I

    [USA] [8.0 / Custom] Realera - Arcentis! October 16, 2025, at 20:00 CET, Brazil 15:00 (BRT) | New world | New updates

    They have so many random players with 3-4 letter names such as "Wks" and "Wiy" 🤣
  8. I

    (proximity) voice chat

    Voice chat in Tibia is and always will be a gimmick. Would of been slightly more useful 15 years ago but majority of players still use(d) Teamspeak, and more recently, Discord. Don't waste your time on this.
  9. I

    TASK SYSTEM --- reward lvl task -

    Replace the code with the above and retest it. The code is slightly different
  10. I

    TASK SYSTEM --- reward lvl task -

    if info.exp and info.exp > 0 then doPlayerAddExp(cid, info.exp) str = str..(str == "" and "" or ", ")..info.exp.." de Exp" elseif info.level and info.level > 0 then doPlayerAddLevel(cid, info.level) str = str..(str == "" and "" or ", ")..info.level.." de Level" end
  11. I

    TASK SYSTEM --- reward lvl task -

    paste the errors here
  12. I

    TASK SYSTEM --- reward lvl task -

    Yeah instead of: , exp = 500000}, You write: , level = 5}, and this will give you 5 levels. Just to make sure, you want to give whole levels as a reward right?
  13. I

    TASK SYSTEM --- reward lvl task -

    just change this: if info.exp > 0 then doPlayerAddExp(cid, info.exp) str = str..(str == "" and "" or ", ")..info.exp.." de Exp" end to if info.exp > 0 then doPlayerAddExp(cid, info.exp) str = str..(str == "" and "" or ", ")..info.exp.." de Exp" elseif info.level > 0 then...
  14. I

    TFS 1.X+ New Item slot when dragging item disappears

    change CONST_SLOT_LAST = CONST_SLOT_AMMO, to CONST_SLOT_LAST = CONST_SLOT_EARRING2, Whether or not that will fix the original issue, im not sure... But it's still an error either way
  15. I

    TASK SYSTEM --- reward lvl task -

    Will you provide the whole file so someone can assist you?
  16. I

    Znote_acc --- cannot create account - blank page --

    Check your PHP error logs to see what the error is, you can also turn on error reporting so it shows on the page.
  17. I

    Berylia mapping thread - 7.4/8.0 project

    Good solid mapping. Nice job!
  18. I

    Map exhibition

    You have a unique style of mapping. It's very strange.. but in a good way. Look forward to seeing more.
  19. I

    TFS 1.2 Any Optimization suggestion

    If you break down what is actually happening, it can be severely improved. 4 people in a party means that, 16 messages are sent from the server and each client is receiving 4 separate messages. Also, this information is being sent by JSON. The server should be sending just one message to all...
  20. I

    TFS 1.2 Any Optimization suggestion

    Your CPU has gone from 94% to 85%. So still good progress with just the changes Gesior has mentioned.
Back
Top