• 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 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...
  2. 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?
  3. 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...
  4. 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...
  5. 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)...
  6. tdp157

    OTX2 - trap hit is accumulating.

    Hello, can anyone help me? I have an OTX 2 07 Server - Codename LORD ZEDD. And it is now possible to add the damage from traps to kill monsters. I send my trap.lua movements script for analysis. function onStepIn(cid, item, pos) if (isInArray(TRAP_OFF, item.itemid) == TRUE) then...
  7. potinho

    CreatureEvent [OTX 2] Global Drop Item

    Hello everyone, everything good? I didn't find anything like it on the forum so I leave here my first contribution to the OTLand community. It's a script that adds the chance of dropping an item to any monster in the game and It is possible to configure more than one item to be dropped. I...
  8. potinho

    TFS 0.X [OTX2]Default Ring Equipped error

    Good afternoon people, I discovered a bug on my server, I believe it's not the client, because with the custom rings I have (and which are infinite) the problem doesn't happen, I'll leave an example: If I log out with a Ring of Healing equipped (but it can also be a Life Ring, Power Ring...
  9. potinho

    TFS 0.X [OTCv8] Add new skill on skill tab reading storage value

    Hello everyone, everything good? I have a critical hit chance, critical extra damage and dodge system per level on my server (all per storage). I would like to place this information in the skills bar, just below the fishing skill. I believe I will need to use extendOpcode, could anyone help me...
  10. potinho

    TFS 0.X Show ammunation attack on look

    Hello guys, To make the information clearer to the player, I would like the ATK of the ammunition (bolt, arrow, etc.) to be shown when looking at the item, could you help me do this? I want to do like assassin stars Follow my engine base: https://github.com/brewsterl/RealOTX-7.72 I...
  11. potinho

    TFS 0.X Show Magic Percent increased on look item

    Hello everyone, everything good? Very similar to the post below, I would like to know if I can (via C++) make it so that when giving an item a look, it is shown by default how much increaseMagicPercent it has, actually I use the description flag, but for some items purchased in the shop, the...
  12. potinho

    TFS 0.X Monster does not summon on elemental fields

    Hello everyone, everything good? I have a behavior in my engine (OTX 2), which I don't know if it is standard, but I would like to change it. Currently, if a boss is tricked and thrown a field on the ground (and the boss's summons are not immune to this element) they are not summoned. Just...
  13. demonrage

    How can I add a check to this action, so as not to throw the item on the ground when using it.

    I'm using otx2 8.60 Code: function onUse(cid, item, frompos, item2, topos) local dolls = { [12179] = {pet = "[Pet] Demon"}, } local go = dolls[item.itemid] local summon = getCreatureSummons(cid) local slotForUse = CONST_SLOT_AMMO local item = getPlayerSlotItem(cid, slotForUse)...
  14. potinho

    Lua [TFS 0.X] Auction System (Trade OFF) - Bug charges

    Good afternoon folks,I have a trade off system that is connected to a web page but I saw a bug: if I try to sell an item with charges (stone skin amulet for example), if I put the item up for sale and remove it from the list, it just comes back with a charge, the same happens if a player buys an...
  15. potinho

    TFS 0.X Unexpected Crash

    Hello guys, everything good? My server has had no crash problems for over a year, but today I had one and I am not able to interpret the generated GDB. Could you help me to fix it? #6 ServiceManager::run (this=0x7fff81299fd0) at server.cpp:249 it = {px = 0x5599ac4a6310, pn = {pi_ =...
  16. potinho

    Lua [TFS 0.X] NPC - Correct doRemoveMoney

    Good evening guys, how are you? I have this NPC that I copied from Ralke to sell some items with charge, but he takes the item and its quantity (2160 for crystal coin and 2148 for platinum) and its real value is not included. As I added a new currency in the game, I would like to adjust this NPC...
  17. R

    TFS 0.X Compile sources doesn't apply changes in output.

    Hello, I am trying to compile some sources in my project, I do all the steps correctly but the output seems like it didn't change anything. These are my changes (trying to revert hp/mp info from % to real values). The steps I am doing are these: ./autogen.sh; ./configure --enable-server-diag...
  18. potinho

    Lua [TFS 0.X] NPC Responds to "instant buy"

    Hello guys, how are you? I saw this in another retro OTs a very interesting thing. How to NPC answer a player without put it in a queue, like some servers have "bring me to" in boaters NPC without need to say "hi". I want the same thing for my sellers and buyers NPCs. If u want to buy a SD just...
  19. potinho

    TFS 0.X [C++] Player does not get PZ after attacking PK

    Good morning everyone, today I realized that my server is behaving (I don't know if expected) but unwanted, let's think about the following scenario: Player 1 Attacks Player 2 (and takes White Skull) Player 2 attacks player 1 back and manages to enter a Protection Zone (shouldn't/would't) After...
  20. M

    TFS 0.X Disable Orange Emote Spells from source

    Server: OTX2 I would like to remove emote spells, those orange names on characters' heads. But I don't know how to work with these source codes, could someone tell me what I should do to disable this?
Back
Top