• 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. gudan garam

    TFS 0.X Would be possible to add a storage and a addon to players offline?

    Ye you are right, no storage needed, if they keep getting the same level over and over again we should give them the reward everytime, no checks needed, right? xD Setup check storage value in script, and make script thats setup storage for all variable. ? So, if they login or level up they...
  2. gudan garam

    Lua Check items inside box

    function onUse(cid, item, frompos, item2, topos) if item2.itemid == 1993 then if getContainerSize(item2.uid) > getContainerCap(item2.uid) then doRemoveItem(item2.uid, 1) end end I haven't used tfs 0.3.6 in years but I think this is right. Let me know if it works.
  3. gudan garam

    Protocol "" Unknown on Tibia 11.49 client

    Usually this message has to do with bad path configured on your gesior to the server dir, so the login can't find the config.lua
  4. gudan garam

    Lua War System - balance error

    cannot open data/talkactions/scripts/balance.lua: No such file or directory
  5. gudan garam

    Error Core Dumped

    You can add a limit to the tile in tile.cpp Tile::queryAdd HouseTile::queryAdd Actions such as change gold and buying items from npc can ignore poor limit checks (checks with lua on player move item).
  6. gudan garam

    Skulls Error

    What version of tfs are you using?
  7. gudan garam

    Change Level to Experience

    What do you mean by that? Max level for what? Where?
  8. gudan garam

    Lua Parameter CreateItem

    There are spells can conjure items in newer version, i.e. diamond arrows and they will disappear after 1 hour but thats a decay attribute on the item itself, not that the spell will take care of that. All of the field runes (firebomb, energybomb, etc) work like that, the only thing you need to...
  9. gudan garam

    Change Level to Experience

    This should work fine. void ProtocolGame::AddPlayerStats(NetworkMessage* msg) { msg->AddByte(0xA0); msg->AddU16(player->getHealth()); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); msg->AddU16((int32_t)player->getFreeCapacity()); if (player->getLevel() >= 0xFFFF)...
  10. gudan garam

    Change Level to Experience

    What level is the character you are testing it with? edit -- i dont fucking know what the fuck the rogier highlevels mean on that. I tested it with tfs 1.2 and it worked.
  11. gudan garam

    Change Level to Experience

    try this void ProtocolGame::AddPlayerStats(NetworkMessage* msg) { msg->AddByte(0xA0); msg->AddU16(player->getHealth()); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); msg->AddU16((int32_t)player->getFreeCapacity()); if(player->getLevel() >= 65535) {...
  12. gudan garam

    Change Level to Experience

    void ProtocolGame::AddPlayerStats(NetworkMessage* msg) { msg->AddByte(0xA0); msg->AddU16(player->getHealth()); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); msg->AddU16((int32_t)player->getFreeCapacity()); if(player->getLevel() >= 65535) {...
  13. gudan garam

    Error Core Dumped

    Your tile limit is probably not 10. There is other ways to add items to a tile, ie changing gold without backpack slots, buying items from npc with ignore cap activated and others that I can't remember now. If you trash enough items into a house you can crash the server but it would probably...
  14. gudan garam

    Change Level to Experience

    Post the whole function so I can help you.
  15. gudan garam

    Change Level to Experience

    What I think you want is this: Since the level is maxed out at 65k and experience can go higher, you want to show the level of the character on the experience bar instead. That way if the player is level 70k it will still show but on the experience bar. That could be achieved by this: on your...
  16. gudan garam

    Change Level to Experience

    I'm pretty sure that limit is on the client, not the engine itself :)
  17. gudan garam

    Lua TradePremium

    I suggest you rewrite your post with a better explanation of what you need. I really tried to understand what u said but I can't. For example: Get to negotiate with 1 or 2 sqm of distances (maximum). - distances of what, who, where? So much questions came to my mind while reading your post...
  18. gudan garam

    TFS 0.X Would be possible to add a storage and a addon to players offline?

    Ok, so all I did was the first question you asked, how to do check if he is reaching certain levels as you said 50, 100 or 150, but the other question I didn't understand (How should i change to have 3 rewards, not only one, because it set the value to 1, no add more one, and after add 1 time...
  19. gudan garam

    Lua EXP potion should effect 2 hours, but its over so fast

    as @miszczbobek said, the script seems fine. I made some changes to it and will give you a check on your login.lua so that if the player gets offline during the timout ot the exp bonus he will lose it when he logs in. function ExpBackNormal_EndVoucher(cid, bonus) local rates =...
Back
Top