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

    TFS 1.X+ Convert Flag value to enum from getSlotPosition()

    Hello, I'm trying to check if an item can be use on slots 1, 4, 7, 8, 12 (Head, Armor, Legs, Feet or Hands) Enums on src looks like this... enum slots_t : uint8_t { CONST_SLOT_WHEREEVER = 0, CONST_SLOT_HEAD = 1, CONST_SLOT_NECKLACE = 2, CONST_SLOT_BACKPACK = 3...
  2. Paulix

    TFS 1.X+ Creature challenging player

    I'm currently using TFS 1.5 downgraded to 8.6, I'm trying to create a creature that pulls the player target to make it attack itself. I created a simple spell that changes the target using setTarget, and it works, but the "red square" that indicates who the player is attacking isn't updating...
  3. Paulix

    TFS 1.5 8.6 downgrade randomly crashing

    I'm hosting it on windows 10 64bits, pretty good machine with plenty of resources available, my server crashes 0-3 times a day without errors on console... the server saves before closing which means that isnt a critical failure. I tried to use visual studio to check whats happening, but didn't...
  4. Paulix

    TFS 1.X+ Inconsistent conditions, doesn't apply properly

    I recently migrated from 0.4 to 1.5 (Nekiro downgrade), and I'm having some problems trying to make spells and weapons that apply damage conditions. Tried the following methods: combat:addCondition(condition) Creature:addDamageCondition(target, type, list, damage, period, rounds) also tried to...
  5. Paulix

    TFS 1.X+ combat:execute with targets from getSpectators

    I was playing around with some spells, trying to do some combat on multi creatures... function onCastSpell(cid, var) alt_targets = Game.getSpectators(Creature(var.number):getPosition(), false, false, 1, 2, 1, 2) --minRangeX, maxRangeX, minRangeY, maxRangeY for i=1,#alt_targets do...
  6. Paulix

    C++ How do I show datetime to my console outputs

    Title, my console is like this on TFS 1.4 I want to add date time to something like 0.4
  7. Paulix

    OTClient Prevent multi client

    I'm actually using otclientv8-master, but you can open multiple instances, how do I prevent MC in OTClient?
  8. Paulix

    TFS 1.X+ Spells and Movements vocation id instead of name

    I'm actually using tfs 1.5 downgraded to 8.6, but in movements, spells and weapons, it is using <vocation name="vocation"/> instead of <vocation id="2"/> like it was used on tfs 0.4. Is it possible to change it in sources to use ID instead of name? couldn't find anything, can someone help?
  9. Paulix

    Field makes element hit forever

    I'm using this to make a poison skill local condition = createConditionObject(CONDITION_POISON) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) setConditionParam(condition, CONDITION_PARAM_FORCEUPDATE, true) addDamageCondition(condition, 5, 1000, -400) The problem is that when a player...
  10. Paulix

    TFS 0.4.3 Block damage on same outfit

    i know there is a option that you cannot damage same feet, but i would like block attack only if the whole outfit is the same, can someone edit the sources for me? if((attackerPlayer = attacker->getPlayer()) || (attackerPlayer = attacker->getPlayerMaster())) { checkZones =...
  11. Paulix

    TFS 0.4.3 Hide gamemasters from highscores

    Currently highscores on my server is working as it should, but it shows every player skill including god and gms characters, how can i hide characters with access 3 or more from appearing on highscores? here is what i found on sources: Highscore Game::getHighscore(uint16_t skill) {...
  12. Paulix

    Lua Add blockwall check to weapon with multiple targets

    I have this weapon on my server, that hits up to 3 targets (target +2) and it is working fine, the problem is that it igore walls if the "target" is in 2x2 range, people can attack creatures in protection zones and behind walls if in area, how do check if it can attack the secondary targets to...
  13. Paulix

    Masks for tibia monsters

    I found some old link on a brazilian forum where people had multiple tibia creatures converted to white+mask. But since it's from 2007 all links are broken, does anyone have sprites for demon, dragon and hydra with maks please? I would like more creatures if someone manage to find a pack.
  14. Paulix

    TFS 0.4.3 light glitch

    Everybody knows that rev 3777 and 3884 have the light glitch, that when you deEquip an item that emits light, the light stays on character forever. I tried to find some hints on how to fix it on forums, but no success, i also tried to see why it is happening on sources, but with my current...
  15. Paulix

    Monster with damage based on owner (for summoner)

    im creating a creature that will only exists if summoned by player, is there any way to make the monster hit based on level and magic level from its owner?
  16. Paulix

    Can't connect to game server (10061)

    I recently formated my PC, didn't change anything, but now i can't host my server anymore, I can login and see character list, but can't join the server using external ip. My server is tfs 0.4.3777 client 8.6, I can only join if using 127.0.0.1 otherwise can't pass the character list, firewall...
  17. Paulix

    TFS 0.4.3777 /reload not working

    My /reload weapons is not working because it is not coded on sources case RELOAD_WEAPONS: { //TODO std::clog << "[Notice - Game::reloadInfo] Reload type does not work." << std::endl; done = true; break; } looks like the devs hasn't...
  18. Paulix

    Compiled server don't have GUI menu

    I compiled my tfs 0.4.3777 using Stian's Repack Dev-Cpp and everything is working fine. The only problem is that when I compile it, the GUI menu, that have reload, actions etc... isn't showing. I tried everything, and im currently using this parameters. -O3 -Wextra -Wall -Werror...
  19. Paulix

    Prevent death amulet

    I'm trying to make an amulet, that will prevent the player death once. it should remove the item and set the player full hp. but for some reason, its not removing the amulet nor healing the player, but the effect is showing up. No error on console and I'm using tfs 0.4.3. function...
  20. Paulix

    Monster Attacks and Defenses flags

    Does anyone have a list of all attacks and defesens flags for monsters? I tried to find but couldn't. I also tried to search on sources but its not clear for me
Back
Top