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

    TFS 0.X Show the heal difference instead of full max health

    https://github.com/Fir3element/3777/blob/aef29d0ac94140c5d095cb1f55a34035e42746b3/src/game.cpp#L4436 https://github.com/Fir3element/3777/blob/aef29d0ac94140c5d095cb1f55a34035e42746b3/src/game.cpp#L4647 This two healing is showing the total heal, but even if player got full life it shows the...
  2. zabuzo

    TFS 0.X Skills stages 0.5 = 0?

    I'm trying to use this skills stages script: https://otland.net/threads/skills-magic-level-stages.49165/ It sets skills stages, amazing, works so well IF the skills stages rates is higher then 1 Idk why, but when players get skills 60 and rates sets to 0.5, the skills don't get up (i've test 10...
  3. zabuzo

    TFS 0.X more atkspeed gives more skill?

    If i create two vocations: <vocation id="6" name="Rogue" description="a rogue" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="1" gainhpamount="3" gainmanaticks="2" gainmanaamount="1" manamultiplier="3.0" attackspeed="1000" soulmax="200" gainsoulticks="5" fromvoc="6"...
  4. zabuzo

    TFS 0.X spell that use health to cure mana

    I want to create a spell that uses health to regen some mana I tried it: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST...
  5. zabuzo

    TFS 0.X !spells with needlearn="1"

    I have this spellup script that show all spells avaliable to buy to your magic level, when u get one more magic level: --[[------------------------------------------------<|] |* * * * * * * * * * * * * * * * * * * * * * * * * * *| |* * * * * * * [SpellUp! Script] * * * * * * * * * * |...
  6. zabuzo

    Arrow attack dont miss a lot

    My arrow script is missing so much shots... I don't want it, how to fix? arrow.lua local function autoRechargeAmmo(cid) local ammo_in_slot = getPlayerSlotItem(cid, CONST_SLOT_AMMO).uid if ammo_in_slot == 0 then return false end ammo_in_slot = getPlayerSlotItem(cid...
  7. zabuzo

    AAC PHP highscores filter by account flag

    That's my highscores.php: highscores.php - Pastebin.com (https://pastebin.com/mC5v1ri2) It is showing the flag on the left side of the name right... But i couldn't make the filter by flag, is anybody can help me to do this? (the lines i made to show flag are 357-362... is it good?)
  8. zabuzo

    TFS 0.X Spell that mute

    Is it possible to make a spell that mute another player? Really mute, so the other player can not even use exura gran, exura... local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 21) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, true) local condition =...
  9. zabuzo

    TFS 0.X spell in 1 sqm after 2 sqms

    how to create a spell that atk only on 3º sqm in front not make a wave, only one sqm only on the monster sqm for example
  10. zabuzo

    TFS 0.X Skills/ML/LVL loss LUA

    i wanna control on LUA exacly how many EXP/SKILL/ML numbers and % in LUA script how to do it? i tried this script: function GetLevelLoss(playerLvl) local levelLoss = 0.0 -- get lvl lose if(playerLvl >= 1 and playerLvl <= 10) then levelLoss = 0.10 elseif(playerLvl >= 11 and...
  11. zabuzo

    TFS 0.X Caracter [] bug on upgrade system

    Why when i try to use caracter [] on perfect upgrade system it bugs? First upgrade works fine: 18:56 You see a [R] sabre (Atk:15, Def:12 +1). But on second thats what happen: 18:56 You see a [G][] sabre (Atk:18, Def:14 +1). Why? perfectupgradesystem.lua --PERFECT UPGRADE SYSTEM...
  12. zabuzo

    TFS 0.X how to define X many skills/lvls loss when player death

    how to make this rulles: local totalblessreduction = 0.0 local eachblessreduction = 0.3 -- 5 blesses * eachblessreduction = 1.5 for i = 1, 5 do if(getPlayerBlessing(cid, bless[i])) then totalblessreduction += eachblessreduction end end if(skills >= 1 && skills <= 40)...
  13. zabuzo

    TFS 0.X define exacly how many skills player will drop on death

    Is it possible to define exactly how many skills players will gonna drop when die on LUA? Just like this in a script on death or something: local totalblessreduction = 0.0 local eachblessreduction = 0.3 -- 5 blesses * eachblessreduction = 1.5 for i = 1, 5 do if(getPlayerBlessing(cid...
  14. zabuzo

    TFS 0.X [EDIT] change bonus party x4

    I found here on this forum the famous bonus party x4 to 8.60 On the script each vocation give +50% exp, so 200% total with 4 vocations (2x) But i'm making a custom project, with custom vocation and idk how to adapt this This is the bonus code: uint32_t Player::getBaseVoc() { uint32_t...
  15. zabuzo

    TFS 0.X define exacly how many skills player will drop on death

    Is it possible to define exactly how many skills players will gonna drop when die on LUA? Just like this in a script on death or something: local totalblessreduction = 0.0 local eachblessreduction = 0.3 -- 5 blesses * eachblessreduction = 1.5 for i = 1, 5 do if(getPlayerBlessing(cid...
  16. zabuzo

    TFS 0.X define how many skills/ml player will lose

    How to define how many skills/ml player will lose when he dies? Just like this: if(skills >= 1 && skills <= 40) skillslose = 0.5; else if(skills >= 41 && skills <= 60) skillslose = 1; else if(skills >= 61 && skills <= 80) skillslose = 1.5; else if(skills >= 81 && skills <= 100) skillslose = 2...
  17. zabuzo

    TFS 0.X elevation system bug

    I'm using the elevation system to make the famous parcel trap: Its just this 3 changes made by mkalo: Game.cpp: ReturnValue Game::internalMoveCreature(Creature* actor, Creature* creature, Cylinder* fromCylinder, Cylinder* toCylinder, uint32_t flags/* = 0*/) { //check if we can move the...
  18. zabuzo

    TFS 0.X change some things in bonus party share exp x4

    I found here on forum the famous party x4 bonus EXP to 8.60 When u have the 4 vocations (knight,paladin,sorcerer,druid) u have 200% exp bonus (+50% for each vocation) But i'm trying to make a custom project, with new vocations 0 no vocation (soul) 1 human, 2 vampire, 3 werewolf 4,5,6,7 humans...
  19. zabuzo

    TFS 0.X Red Skull/Black Skull don't drop ther items

    Where should i change in my source code to when players red skulls / black skulls when they die, they don't lose every items? Just lose items as players normal. But red skulls when die drops 3x more EXP/SKILLS/ML And black skulls when die drops 9x more EXP/SKILLS/ML I recommend u guys, server...
  20. zabuzo

    Lua dungeon lever error

    is anybody know how to fix this error [23:47:32.173] [Error - Action Interface] [23:47:32.173] data/actions/scripts/dungeon_lever.lua:onUse [23:47:32.173] Description: [23:47:32.173] attempt to index a number value [23:47:32.173] stack traceback: [23:47:32.173] [C]: in function...
Top