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

Recent content by Ramon Bernardo

  1. R

    mysql error

    UPDATE `player_storage` and not UPDATE `player_storage
  2. R

    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
  3. R

    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...
  4. R

    Tibia [LUA] Global environment storage using JSON

    Looks good! Thanks
  5. R

    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...
  6. R

    Urgent! Clone items TFS 1.2

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

    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...
  8. R

    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
  9. R

    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)...
  10. R

    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...
  11. R

    Storage value when use a item?

    Probably missed something. (Okay, just kidding. Show me some code)
  12. R

    Solved Problem with command !buyhouse

    Link to datasource?
  13. R

    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()
Back
Top