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

Search results

  1. Yalasari

    TFS 1.X+ [tfs 1.3] premium account can log 3 character in same acc.

    player->isPremium() returns false if player does not have premium status, if statement is false rest of code is skipped and else/else if is executed (if present). In this script if player is not premium, only else is executed (disconnecting client), I can't really see any more mistakes in code...
  2. Yalasari

    TFS 1.X+ [tfs 1.3] premium account can log 3 character in same acc.

    This function checks if player have premium account (PACC), Propably you have separte VIP status then. Try removing PACC Time from account and check, if it works, You just need to replace player->isPremium() with another function that will check if player have VIP status
  3. Yalasari

    TFS 1.X+ [tfs 1.3] premium account can log 3 character in same acc.

    Try replacing: for (const auto& it : players) { with: for (const auto& it : g_game.getPlayers()) { #Edit Why it was not working: I tried to call "players" which is not defined inside given scope. Instead i should use "g_game.getPlayers()" getter. It was source of "E0020: identifier...
  4. Yalasari

    servers type, rate and protocol what really draw people in?.

    Personally i really admire traveling and RPG - i hate when there is milion hunting places stuffed in one area. I also like when world isn't empty - lots of minor locations is plus for me, huge hunting places =/= best hunting places.
  5. Yalasari

    TFS 1.X+ [tfs 1.3] premium account can log 3 character in same acc.

    Actaully i cannot guarantee it will work for 100% bcs i do not have access to compiler now but try something like this: if (g_config.getBoolean(ConfigManager::ONE_PLAYER_ON_ACCOUNT) && player->getAccountType() < ACCOUNT_TYPE_GAMEMASTER && g_game.getPlayerByAccount(player->getAccount())) {...
  6. Yalasari

    My server stops working automatically after 3 days.

    Could you share more info? Otherwise it will be incredibly hard to help you.
  7. Yalasari

    OTClient Problem opening Otclient error (0xc000007b) unable to start

    Try running some software that will track all resources requested by executable, for example DependencyWalker, it will track for you all DLLs that otc requires and should warn you if there is any DLLs with mismatched architecture version, even if not showing any warnings, try to replace DLLs one...
  8. Yalasari

    Hypothetical new MMO tibia-like server engine

    Thats the point, i don't want to make next TFS, this img just shows what i meant by "entity hierarchy" using tfs as example because it is well-known engine so it would be easier to understand what i mean.
  9. Yalasari

    Hypothetical new MMO tibia-like server engine

    Hello, I started this thread because i want to know your ideas of hypothetical new MMO tibia-like (2D top-down view, movement on tiles) server engine. However, by "ideas" i mean approach from coding side rather than "add a function that does x, etc." (Write those as well but focus on main point...
  10. Yalasari

    Server side scripting language poll

    Related to Open Tibia but not Open Tibia in 100%
  11. Yalasari

    Server side scripting language poll

    I want to know people opinion about those 2 languages because they are well-suited for this purpose, others are too hard to implement or tradeoff between performance and popularity is too big
  12. Yalasari

    Server side scripting language poll

    Ignore performance issues and follow Your heart.
  13. Yalasari

    OTClient Unable to create item with invalid id

    Hello, While trying to add new item to server I encountered a problem, and after 2 days i don't have idea how to fix it: Everything on server side is ok, i think because console doesn't show any errors Here's how everything is set up: items.otb: .SPR and .DAT files We are using 10.98...
  14. Yalasari

    Unhandled opcode

    Unfortunately i hit a wall once again: Problem is I added this line in luafunctions.cpp: g_lua.bindClassMemberFunction<ProtocolGame>("getAutoLootItemInfo", &ProtocolGame::getAutoLootItemInfo); And i don't really know how to read opcode value using lua EVERY time client receives it.
  15. Yalasari

    Unhandled opcode

    Thanks a lot, that is exactly what i need!
  16. Yalasari

    Unhandled opcode

    Well, now i did something like this and looks like everything is working fine: int ProtocolGame::getAutoLootItemInfo(const InputMessagePtr& msg) { uint32 itemid = msg->getU32(); return itemid; } (ofc with other things like case, declaration in .h...) And now - how i can read opcode...
  17. Yalasari

    Unhandled opcode

    Well, this is pure otclient from GitHub with minor changes that doesn't relates to my problem. So yeah, i tried some things but all ended with compilation error or doesn't worked at all.
  18. Yalasari

    Unhandled opcode

    Hello, I need help with OTClient error "unhandled opcode". I created function in tfs which sends to client info about auto-looted item, everything seems to work fine on server side, but how to read it properly and print? I tried various scripts found on forum but nothing worked. Any tips...
  19. Yalasari

    C++ Making loot analyzer

    Hi, I want to make loot analyzer using OTClient + TFS 1.3, and i don't really know how approach one of most important thing: Well, i think about something like this: Monster died (Server side) -> Send info about loot to OTClient via opcode (Problem here) -> Print Info about loot, graphs, income...
  20. Yalasari

    OTClient Blinking char while mounted

    Anyone already fixed it or know solution? i tried to fix it but everything i tried fails. Some of my "fixes" causes mount "skip" animation and other causes "freeze" char. I would appreciate any help
Back
Top