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

otx2

  1. potinho

    TFS 0.X Game::checkCreatureWalk and Game::checkCreatures optimization

    Hi guys, I have moved my server from a Ryzen VPS to a regular VPS and I noticed that the use of the functions mentioned in the title has increased a lot. For me, it is not an option to migrate now because I am on a machine that has a stable network, which did not happen on the other one. Is it...
  2. potinho

    Programmer [OTX 2] Freeze in 1 char when running more then 3 MCs

    I want to fix this problem in my OTX2: A player leaves 3 or 4 characters in the MC, after a certain time, only one of them freezes (as if it were lag/freeze) and dies, but the others continue normally (maybe it happens with 1 char, not confirmed yet). I can't reproduce this, seems to be in...
  3. potinho

    C++ [OTX 2] Game::playerRequestOutfit running slow

    I dont know why its happening, there's something can i do to improve this? Appearly exhaust its not being applied correctly. bool Game::playerRequestOutfit(uint32_t playerId) { Player* player = getPlayerByID(playerId); if(!player || player->isRemoved()) return false...
  4. frenzy02

    How to compile Source OTX2 Exclusive 1.0

    I have these source files but I don't know how to build the .sln image to compile in visual studio
  5. potinho

    TFS 0.X Missing trigger when leaving guilds

    My server have in AAC (Gesior) a button to "clean up players", for some reason, while joining and leaving guilds some players got bugged. So, constantly i need to press this button: Thats what this button do: if($action == 'cleanup_players') { if($logged) {...
  6. Vagnerking

    Keep watching when you die

    I would like that when the player dies, they can still see what is happening around them, without the screen freezing. I'm using otx server 2.
  7. potinho

    TFS 0.X [LUA] Convert/Optimize MOD

    I need help to convert this MOD to LUA, optimizing it and making some changes, like save outfit and colors before entering in arena, keeping fully working without bugs, or have a done system like this. This MOD are inverting team respawn after first death of player, beside its calling a lot of...
  8. Vagnerking

    OTCv8 ping random

    I'm running the server locally, but the ping is random, it starts very low, around 2ms~6ms, then gradually increases and reaches 60ms, reaching 60ms it resets and returns to 2ms. I implemented these commits to my otx 2...
  9. potinho

    Lua [TFS 0.X] Ultimate Survival MOD - Monster waves event

    Hello guys, i'm trying to use this MOD in my server but i cant make it work totally. Sometimes i cant advance to next wave, sometimes i advance to next wave but the reward from previous wave its not delivered to player. And now i get this error at each killed monster. Can u guys help me to fix...
  10. potinho

    TFS 0.X Spells running slow at stats

    Hello guys, since few hours ago some spells are executing slow, in my stats system. There's something can i do to improve? The spells code are so simply. For example, follow ultimate hur spell code: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE...
  11. potinho

    TFS 0.X ProtocolGame errors

    Hello guys, It's been a few days since I started to experience slight crashes in the game and, occasionally, I receive messages about invalid packages. Could you help me find the problem? My last changes was in the function bellow, adding Life and Mana Leech: I'm receiving this error in...
  12. potinho

    Lua [TFS 0.X] Dungeon System - Add a boss at end

    Hello guys, im using this system by @Xikini and trying to do a modification: https://otland.net/threads/dungeon-system-0-4-0-3-7-0-3-6.272142/ After kill all monsters inside a dungeon, must be created a boss so, after kill boss, player must be able to get reward and leave dungeon. Im facing...
  13. potinho

    TFS 0.X MC Problem - One char lagged and another normal

    This happened a few times, I have two characters in MC, one has normal ping and the other, apparently for no reason, starts to have high ping. What can cause this? Looking at WinMTR (ping + traceroute) everything seems to be ok. I dont know if is related, but those are my iptables rules...
  14. potinho

    C++ [TFS 0.X] Adjust loot message to party members

    I have a loot message in my server. The problem here is loot message isn't sent in party members screen, just in loot channel. I tried to adjust C++ but i cant understand the logic to keep sending message to screen and loot channel for party members, I want to send loot message on party members...
  15. potinho

    Lua [TFS 0.X] Bossroom script is not removing players or creatures

    Hello guys, i tried to adapt an anihilator script to create some bossrooms, monster is summoned and player position are validating, but when new players try to jump in, they can. Script is not validating players inside room or cleaning previous bosses created. What im doing wrong? None errors on...
  16. potinho

    TFS 0.X Yellow skull fight back

    Hello guys, Can u point me what is wrong in my function? When a player get pk in another, if player fight back he is getting yellow skull (player who has been attacked by pk), and must dont. I've already applied this fix...
  17. potinho

    Solved Items passing through cave walls

    I have this behavior on my server, players can throw items at cave walls and monsters kick items (like chests and boxes) into the walls too. The property of the walls seems to be correct, can anyone help me fix it?
  18. potinho

    Lua [TFS 0.X] Improve Reward Chest System

    Hello guys, This system bellow was created by @Luan Luciano (i guess this is the original one) but I'm having difficulty adjusting the rewards and scores, leaving something fairer between healers, damage dealers and blockers. Could anyone help me find the best way to configure it, in order to...
  19. potinho

    TFS 0.X Buy things on NPC with Bank Balance

    Hello guys, Im trying to merge the solution from this post (TFS 0.X - Buy items with money backpack or bank balance 0.4 (https://otland.net/threads/buy-items-with-money-backpack-or-bank-balance-0-4.260563/post-2520072)) into my sources, but im failing. None errors when compiling, but in game it...
  20. tdp157

    OTX2 - npcs is not teaching spells to cast runes.

    Hello, I have an otx2 0.7 server codename Lord Zedd My NPCs cannot teach rune casting magic, only instantaneous spells. Below is the npc script that teaches spells to sorcerers: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
Back
Top