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

    Compiling in Dev-C++

  2. Lessaire

    C++ Learning c++, what hits code means?

    getWeaponDamage = function(player, target, item, criticalHit) attackSkill = player:getWeaponSkill(item) attackValue = math.max(0, item:getAttack()) attackFactor = player:getAttackFactor() maxValue = (getMaxWeaponDamage(player:getLevel(), attackSkill, attackValue, attackFactor) *...
  3. Lessaire

    TFS 1.X+ Addevent - Error!

    local stone_id = 19959 function vinteMinutos(toPosition) -- Recreate the stone after 20 minutes. Game.createItem(stone_id, 1, toPosition) return true end function vinteVezes(playerID, toPosition) -- Repeat this function every second. Repeat this twenty times. local player =...
  4. Lessaire

    Theorizing a Modern Engine Design

    Absolutely spot on with that. There comes a time when its better to nuke and pave, because repairing the cruft of yesterday is actually a less efficient path. And one can't really gauge if that critical mass has been reached without a thread like this. I know one thing that should be an...
  5. Lessaire

    TFS 0.X Paladins not attacking when in movement or following target

    Absolutely, no question, paladins can attack while in chase. That's like, the whole point of their class.
  6. Lessaire

    Mana Rune with no Charges

    Remove it from spells.xml index! It needs to be an regular item with no charges at all. All things inherent from being in the spells index must be emulated via the item action lua script.
  7. Lessaire

    Lua COMBAT_PARAM_CREATEITEM add pz locked

    I'd have to look at the code, but I presume you need both. I think it works like this: The one in the spells index decides the very moment you cast the spell if you are PZ locked. The ones in the Lua file as combat parameter decided when doCombat function is called. For example, you could have...
  8. Lessaire

    Lua COMBAT_PARAM_CREATEITEM add pz locked

    This is because spells by default are considered aggressive unless specified otherwise. The fact that create item spells typically are creating damaging fields like fire and poison notwithstanding. -- Variáveis da Special Skill local storageSkill = 30034 local storageExhaust = 51004 local...
  9. Lessaire

    Swords artificially generated (GAN)

    This has a lot of potential, but if you want really usable results you're going to have to expand your source pool well beyond Tibia, and pre-categorize your pools. Keep pools for things like "bloody, dripping with liquid, or glowing" separated from those which are not. Using neural net scaler...
  10. Lessaire

    TFS 0.X Tof 0.3.6 Block player with IP

    There is no way to make a script that checks an entire area on each players step. Even if there were, it would be a bad idea. You'd be much better off using some sort of choke point and forcing players to cross a line of tiles upon which you've laid ActionIDs. onStep into one of those tiles, do...
  11. Lessaire

    TFS 0.X New Distance/Missile/Shoot Effect is invisible

    All hail the suicidal heisenbug.
  12. Lessaire

    Linux Problem with ubuntu

    If you're wanting to compile Boost yourself, and you've updated your Ubuntu to 20.04, just stop now. It's FTBFS right now because of py3versions -vr not working. You'd waste a lot of time. If you still really want to build it, cd ~/src apt source boost1.71 cd boost1.71-1.71.0/debian/ sed...
  13. Lessaire

    TFS 0.X TFS 0.4 Zombie Event fix problem

    Awesome, but that wasn't my point. Anyway, I'm glad the matter is resolved, perhaps he can marked the thread solved now?
  14. Lessaire

    Account Manager Wrong Position

    U wut. It absolutely should be. iologin player->town = result->getDataInt("town_id"); if(Town* town = Towns::getInstance()->getTown(player->town)) player->setMasterPosition(town->getPosition()); //snipped// player->loginPosition = Position(result->getDataInt("posx")...
  15. Lessaire

    TFS 0.X Rooking system TFS 0.4 help please

    if your engine doesn't support it, upgrade to a better 0.3.7 era engine? "doesn't" work isn't very helpful feedback. Why? What's the error? What function that should be there is missing? if you are using this as a second login-type script, those function calls should work just fine
  16. Lessaire

    [8.6] Tibia Global Full incl/TFS+sources

    Yeah, I remembered that after looking at my own old files. I even had notes referencing that fact.
  17. Lessaire

    TFS 0.X TFS 0.4 Zombie Event fix problem

    Should literally be irrelevant to scripters with half a clue. ResplendantEvents.normalizeSweep = function(fromThere, toThere) local xMin = math.min(fromThere.x, toThere.x) local xMax = math.max(fromThere.x, toThere.x) local yMin = math.min(fromThere.y, toThere.y) local yMax =...
  18. Lessaire

    TFS 0.X A question about monster flags

    Any undefined flag falls back to the default. I believe the Monster reference in my sig shows the default values you'd be dealing with. It is the result of me just collapsing the source code and dependencies of the monster loader into a chart by hand, from code somewhere nearby r3884. Or here...
  19. Lessaire

    [TFS 0.4] Party Share Bonus

    If you installed it as described, then it should still work if your vocations xml is correctly configured and demotions work, because the "getBaseVoc" should recursively follow the demotion chain to the bottom. So Apocalypse Bastard, Spawn of Goku and R63 Thanos 17th knight promotion or...
Back
Top