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

Recent content by Tadelho

  1. T

    TFS 0.X Area Spell hitting specific creature

    @Edit - YEAH, IT'S WORKING! (Feel free to copy the script, 0.4.0 users). @hellboy I'm not sure if o.4 has it aswell, but the script should be like this, right? local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat...
  2. T

    TFS 0.X Quest gives skills not working

    Ops, actually it's "getPlayerSkillLevel()". Try it now.
  3. T

    TFS 0.X Quest gives skills not working

    @juansanchez In TFS 0.4~ there is a function called 'getPlayerSkillLevel' wich should receives 3 parameters: cid (the creatureid that should be checked), skill (the skill to be checked), and a parameter to ignore or consider modifiers (from itens/spells) in this skills. You can ignore modifiers...
  4. T

    TFS 0.X Area Spell hitting specific creature

    Is it possible to make a area spell hits only a creature if it has a certain name? For example: how to do to a spell like, let's say, "divine caldera" (exevo mas san) hits only creatures in it's area named "rat"? Is it possible to do? Could you help me with some ideas? I'm kinda lost trying to...
  5. T

    Light on character's just doesn't turn off.

    I don't want to remove the light effects at all. It wouldn't be a real solution. But hey, probably it's not the problem, since the same items are working properly when they're not enlightening the player.
  6. T

    Light on character's just doesn't turn off.

    Hi, there. I've been facing a weird bug with the light around characters in my OTC. They just doesn't turn off. I've tried it with a brand new compiled version and the problem persists. It seems like it's not a problem with the items configuration itself, since it works fine when they're not...
  7. T

    C++ "Block Attack" system (shield) in source code

    I've found it! in creature.cpp, the following code controls it: And then:
  8. T

    C++ "Block Attack" system (shield) in source code

    I've been searching it in creature.cpp, player.cpp, monsters.cpp, weapon.cpp, combat.cpp but I didn't find any reference to it. :( If anyone knows, report me, please.
  9. T

    C++ "Block Attack" system (shield) in source code

    I guess it would be simpler changing sources. I mean, I've done a lot of changes in my source code already, and it probably would make it a lot easier: instead of registering any kind of script to every creature/player, just setting it as "default". Actually, I can't even wonder how to create...
  10. T

    C++ "Block Attack" system (shield) in source code

    Hi there, I would like to know where do I find the code in source (TFS 0.4.0) that determines a player/creature can block with his shield (defense attribute) only 2 attacks per turn, since I want to make some changes on that. I've looked for it in creatures.cpp and etc but I didn't find it...
  11. T

    Lua Variable Monsters Health (TFS 0.4.0)

    I guess this onSpawn function doesn't exist at this version, look: @esnio12 [LUA] 0.4 TFS Functions
  12. T

    Lua Variable Monsters Health (TFS 0.4.0)

    Hi there, I'm recreating D&D aspects in my personal server (TFS 0.4.0 based) and I would like to recreate the variable max health from creatures. I mean, actually the max health is based in the monster.xml file, as default (health max ="xxx"), so every creature from the same type has the same...
  13. T

    Lua doPlayerRemoveOutfitId - problem with

    All my outfits in .xml follows exactly this same pattern: <outfit id="28" premium="yes" default="0"> <list gender="0-1" lookType="146" name="Human" requirement="none" speed="6"> </list> </outfit> @Xikini Only the "id", "lookType" and "name" are different, of course...
  14. T

    Lua doPlayerRemoveOutfitId - problem with

    @Xikini , it didn't work, unfortunately. The player still can access the outfitID27 in the outfit window.
  15. T

    Lua doPlayerRemoveOutfitId - problem with

    @Xikini Well, it's just temporary, you know? The player starts the game without the outfitID 27, then I make him use it as a regular outfit as he starts a long quest. When he completes it, he gets a new outfit and losses the old one. In other words: at this momment he should get the outfitID 18...
Back
Top