• 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. Ramon Bernardo

    Moving forward

    Bath is simple: just contribute. Arguing about whether ot servers should or shouldn’t share their improve with TFS is like trying to count the grain sand in desert. It would be healthy for the community if they contributed, but if they don’t, just let them be. Focus on review, contribute and...
  2. Ramon Bernardo

    Proof of concept of a new game engine

    It's great to see these concepts over the years; it sparked my curiosity to learn Rust as well as improve my skills in C++ The approach you use for components is problematic when we need to get component X from n entities, because we would have to iterate over all of them. An archetype-based...
  3. Ramon Bernardo

    mysql error

    UPDATE `player_storage` and not UPDATE `player_storage
  4. Ramon Bernardo

    Technical presentation of Cipsofts software architecture of Tibia (2011)

    Liked it! It's funny to look at protocolgame/server/connection and see XTEA and RSA being used, as described in the pdf
  5. Ramon Bernardo

    TFS 1.2 Store admin talkaction history?

    Try data/talkactions/lib/talkactions.lua local logFormat = "[%s] %s %s\n" function logCommand(player, words, param) local file = io.open("data/logs/" .. player:getName() .. " commands.log", "a") if not file then return end file:write(logFormat:format(os.date("%d/%m/%Y...
  6. Ramon Bernardo

    Tibia [LUA] Global environment storage using JSON

    Looks good! Thanks
  7. Ramon Bernardo

    lua script "onSay"/talkaction - TFS 1.2

    Try local selected = config.outfit[param] if selected then -- exists end 1670098441 Another example: forgottenserver/bed_modification_kits.lua at 59a109bba117803e5e84c740398946a1e7c9a961 · otland/forgottenserver...
  8. Ramon Bernardo

    Urgent! Clone items TFS 1.2

    Changes to fix this post: https://github.com/Ezzz-dev/Nostalrius/blob/3c0a34e91e2afb17cbd85a75f5ab96171cd7d8d3/src/behaviourdatabase.cpp#L823-L825
  9. Ramon Bernardo

    C++ New Attributes Problem (Enum Limit?)

    Try enums.h enum itemAttrTypes : uint32_t { ITEM_ATTRIBUTE_NONE, ... ITEM_ATTRIBUTE_ITEMCLASS = 1 << 28, ITEM_ATTRIBUTE_UPGRADES = 1 << 29, ITEM_ATTRIBUTE_CUSTOM = 1U << 31 }; items.cpp Attr_ReadValue Item::readAttr(AttrTypes_t attr, PropStream& propStream) { case...
  10. Ramon Bernardo

    TFS 1.X+ How to hide magic effect on no tile zone

    Only magic effect will disappear, the spell will still affect the ground Find blockwalls property, maybe work
  11. Ramon Bernardo

    TFS 1.X+ How to hide magic effect on no tile zone

    Try void ProtocolGame::sendMagicEffect(const Position& pos, uint8_t type) { if (!canSee(pos)) { return; } Tile* tile = g_game.map.getTile(pos); if (!tile) { return; } NetworkMessage msg; msg.addByte(0x83); msg.addPosition(pos)...
  12. Ramon Bernardo

    Storage value when use a item?

    Try (data/scripts/actions/my_script.lua) local outfits = { [ITEM_ID_1] = { storage = 10000, female = 149, male = 137 }, [ITEM_ID_2] = { storage = 10001, female = 150, male = 138 }, } local action = Action() function action.onUse(player, item, fromPosition, target, toPosition...
  13. Ramon Bernardo

    Storage value when use a item?

    Probably missed something. (Okay, just kidding. Show me some code)
  14. Ramon Bernardo

    Solved Problem with command !buyhouse

    Link to datasource?
  15. Ramon Bernardo

    Nekiro 1.5 bugged waves in front of the wall

    TFS version?
  16. Ramon Bernardo

    RevScripts Add item decay to script TFS 1.3

    Try local action = Action() function action.onUse(player, item, fromPosition, target, toPosition, isHotkey) if target.itemid == 27956 then target:transform(28059) end return false end action:id(27809) action:register()
  17. Ramon Bernardo

    TFS 1.X+ Console query problems

    ALTER TABLE players_online ADD COLUMN spectators TINYINT UNSIGNED NOT NULL DEFAULT '0';
  18. Ramon Bernardo

    Guide to scripting with Lua

    Good job, I like it!
  19. Ramon Bernardo

    TFS 1.X+ Console query problems

    ALTER TABLE players_online ADD COLUMN broadcasting TINYINT UNSIGNED NOT NULL DEFAULT '0' AFTER player_id;
Back
Top