• 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. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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)...
  9. 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...
  10. 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_ =...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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?
  16. potinho

    Lua [TFS 0.X] Error when kill 2 bosses with reward system

    Hello guys, I have a script for Reward Chest (who send parcel to DP with loot, and calculate reward by damage or heal), but when people kill 2 bosses script got this error on console: 2023-06-01 20:46:51 - [Error - CreatureScript Interface] 2023-06-01 20:46:51 - In a timer event called...
  17. potinho

    TFS 0.X [OTX 2] Yellow skull bug

    Good evening guys, how are you? I saw that my engine has a Yellow Skull bug, I'll try to explain: Player 1 attacks player two. Player 2 Attacks player 3 Player 3 attacks player 1 (turning Yellow Skull) Player 1 leaves, loses the skull and manages to attack player 3 without getting White Skull...
  18. potinho

    TFS 0.X [OTX 2] Weird bug Amulet of Loss - Loosing items or not loosing AoL

    Hello everyone, everything good? I have a strange bug that rarely happens, I just believe it happens because it happened to me: sometimes, even with AoL, when a player dies he loses his backpack. With me, after that happened, I died several times in the char (with aol) and he just stopped losing...
  19. potinho

    Programmer [OTX 2] Remove Queue From NPCs (7.72 Protocol)

    Hello guys, Im looking for someone who be able to remove queue from NPCs in my old engine with 7.72 protocols. I want NPCs answer all people without put them on a queue.
  20. potinho

    TFS 0.X [LUA] Casino - Item Roulette

    Hello guys, how are you? I have this script bellow to roll items in a casino, works fine, but i guess can be improved. When roll finishes, person needs to wait few more seconds before roll again, i want to put exaust just during items rolling. I find some unused variables too, i guess this...
Back
Top