• 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. X

    C++ Creatures don't re-appear when invisible condition ends [Nostalrius/Sabrehaven]

    As the title suggests. When a monster casts invisible, they stay invisible forever unless they take damage. I have compared bits of code to other distributions, and everything that I've looked at so far looks the same, so I must be missing something or looking in the wrong place. Her is what...
  2. X

    C++ [Nostalrius] Order of events in combat.cpp

    Hello, I have been trying to change combat.cpp so that spell effects are drawn in the correct order (see Ezzz's post here: The Violet Project - CipSoft Reverse Engineering Project (https://otland.net/threads/the-violet-project-cipsoft-reverse-engineering-project.279275/#post-2682275)) There is...
  3. X

    C++ [Nostalrius/Sabrehaven] Magic fields don't always do collision damage

    Expected behavior: anytime a player steps onto a magic field, they are supposed to take instant damage and there should be an effect, and the condition starts over. Actual behavior: If a player is logged out with a condition (kicked, xlog, /r), when they log back in, they will no longer take...
  4. X

    [Sabrehaven] No green skull in party

    Using Sabrehaven master branch. As title says: when a player is in a party, no matter if you are a leader or member, you don't have a green skull. All other party members have one on your screen, but on each player's screen they don't have a skull: The screenshot is taken from the perspective...
  5. X

    [Sabrehaven] NPC script - String to PlayerName

    I'm working with the Sabrehaven distribution, and I'm trying to recreate the behavior from the Dead Bureaucrats in the PoI quest. For the quest to be accurate, you're supposed to talk with the NPCs and they ask you for your name and vocation. In Lua, that's super easy: if msgcontains(msg...
  6. X

    Solved C++ issue: Adding percent skill attribute to items (SOLVED)

    Hello, I'm trying to add percent-based skill modifiers to items (TFS 1.2). For example, I want to be able to add <attribute key="skillDistSword" value="XX" /> as an attribute to an item in items.xml. Now, I understand that this is not included, and I have already done the source edits, but I...
  7. X

    Summon Bug, Players can avoid skull

    I discovered an interesting bug in my distro (OTX3, 7.7). If a player summons two monster that have AoE attacks (like a fire devil), then that player attacks their own summon, the fire devil will use the AoE attack. Now, if another player happens to get hit by that AoE, the player who summoned...
  8. X

    Lua Buy more than 100 items from an NPC

    Using TFS 1.2 Cannot figure out how to make it so an NPC can sell more than 100 of an item. Here is the "doNpcSellItem" function from my npc.lua: function doNpcSellItem(cid, itemid, amount, subType, ignoreCap, inBackpacks, backpack) local amount = amount or 1 local subType = subType or...
  9. X

    Windows New Sprites in the RealOTS Map Editor

    As the title suggests, I'm trying to add custom sprites to the RealOTS Map Editor (the one Yamaken posted here: [7.7] RealOTS 7.7 Cipsoft files (virgin) (https://otland.net/threads/7-7-realots-7-7-cipsoft-files-virgin.244562/page-8)). I've added custom items many many times to other versions of...
  10. X

    C++ Convert RSA System from old to new

    Hello, I have tried to convert the RSA system on my server (TFS 1.2) from the "old" style of having the prime1 and prime2 hard-coded in the sources to the "new" style, with a key.pem file, but I can't get it to work. Here is what I have done so far: I replaced these lines in my otserv.cpp...
  11. X

    Lua House info, data to string [TFS1.2]

    Hello, Trying to create (what I thought) was a simple talkaction script that players could use to get info about their houses. Here is what I have: function onSay(player, words, param) if player:getHouse() == nil then player:sendCancelMessage("You do not currently own a house.")...
  12. X

    TFS 1.X+ Last Man Standing Event

    Hello, Having trouble with an event I'm trying to create. I've modified the script here (GlobalEvent - [TFS 1.2] Zombie Arena (https://otland.net/threads/tfs-1-2-zombie-arena.258250/)) to be a "Last Man Standing" style event. All of the beginning stuff works; I can start the event with the...
  13. X

    AAC Server Status on MyAAC

    Does anyone know where to to change this server status for the MyAAC webiste? This is version 0.8.6. Yes, the server is actually online AND open to the public. I thought it was in /system/status.php, there's a section that looks like this: // ip check if(isset($config['status_ip'][0])) {...
  14. X

    C++ CipSoft condition damage formula

    Hello, Curious if anyone knows what the parameters do for condition damage in the original leaked 7.7 .mon files. I know how a regular spell works: Victim (range, missile, effect) -> Damage (type, base, +/-) : chance That makes sense for regular attack spells. What I can't figure out is...
  15. X

    Linux Special Character Encoding

    Hi, I recently updated Ubuntu from 18.04 to 20.04. At some point after updating the OS to 20.04, I recompiled TFS sources to change something related to PvP. After the recompile, I noticed certain characters were no longer displayed correctly in-game: This changed even though I didn't touch...
  16. X

    OTClient Condition Panel

    Where can you change the size/shape/color of the condition panel in the OTClient? For reference, that's the place where the icons for battle, burning, etc. appear: I have tried editing 40-healthinfo.otui where it says "condition panel": Panel id: conditionPanel layout...
  17. X

    C++ [TFS 1.4] Magic Field Spam

    Hello, Been playing around with TFS 1.4 8.0 downgrade. Most things seem to work pretty well, but I noticed this crazy behavior when a monster shoots a a magic field: When a monster (minotaur mage, witch, etc) shoots a magic field at the target, it takes insane damage; the energy field is...
  18. X

    TFS 1.X+ Walkable ocean tiles crash client

    Hey everyone, I've searched but can't find anyone else who's reported anything similar.. I'm using OTX3 7.72 and for some reason the "walkable ocean" tiles crash the client when you try and walk on them. In items.xml they look like this: <item fromid="4820" toid="4825" name="shallow water">...
  19. X

    Lua Addon creatureevent [OTX3/TFS1.2]

    I'm struggling with something that I thought would be really simple but I guess it's not. What I'm trying to do is modify onChangeOutfit so that anytime a player changes their outfit, it forces both addons to be enabled. Something like: function Creature:onChangeOutfit(outfit) local player...
  20. X

    Lua Enabling shared experience [OTX3, 7.72]

    Hey guys, running into a problem with shared experience. I know that it is in the source code but since original Tibia didn't have shared experience you can't enable it like normal by right clicking on yourself after you are in a party. I created a talkaction to do it but I'm getting a nil...
Back
Top