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

    TFS 0.X Exori with wand element

    I wanna make a spell that element is based in wand element How to do it? I tried: local combat = createCombatObject() function onGetFormulaValues(cid, level, maglevel) min = ( (((maglevel) * (5) ) * 0.5 ) + (50) ) * -1 max = ( (((maglevel) * (5) ) * 1.0 ) + (100) ) * -1 return min...
  2. sabodden

    PHP send mail

    I want to make a donate form for my server, i follow a tutorial step by step to do it in php, but don't work It is not showing any error, it's redirecting but not sending the e-mail... Why? code: confirm.php <form action="mail_donate.php" method="post"> <label for="email">Your...
  3. sabodden

    TFS 0.X Shovel hole don't open with blood

    It is annoying... If someone gets hits on shovel role the blood blocks to open the hole... If someone drops trashes on the hole, nobody can open... It isn't possible to do like rope? function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.actionid == 45001 then...
  4. sabodden

    OTClient How to create a secondary window in Otclient?

    I want to when someone clicks in a button in main window, opens a secondary window... How to do? I trying to when user clicks in 'Healing' button open a new secondary window... The healing button in main window: https://github.com/sabodden/elfotc/blob/main/main.otui#L28-L38 The healing...
  5. sabodden

    OTClient Helps with OTC UI

    I need 2 helps to create UIs on OTC on my starting mod: sabodden/elfotc (https://github.com/sabodden/elfotc) 1- How to when player press X button Call the function OnOff() just like shift+f12 https://github.com/sabodden/elfotc/blob/main/elfbot.lua#L14...
  6. sabodden

    TFS 0.X Get monster storage on sources

    I want to finish this script: https://otland.net/threads/how-to-make-a-spell-in-area-that-set-a-storage-to-eveyone-around-for-10-seconds.273711/#post-2640188 That make players and monsters with storage 668 recive more damage Searching on forum examples i manage to do on game.cpp...
  7. sabodden

    TFS 0.X How to make a spell in area that set a storage to eveyone around for 10 seconds

    For players and monsters, i wanna make something like new sorcerer spell (curse) Is it possible with LUA? https://github.com/Fir3element/3777/blob/master/src/luascript.cpp
  8. sabodden

    TFS 0.X Spell that buff your summons hp

    How to create a spell that when use add 2x more health for all your summons But can only set 2x MAX HP for each monster, i mean, if u use 2x,3x,4x only set 2x hp monsters to monster that don't have been affected
  9. sabodden

    TFS 0.X How to make 2 promotes possibles?

    You a knight can be promoted to Paladin or Barbarian How to do it? Knight <vocation id="1" name="Knight" description="a knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="1" gainmanaticks="2" gainmanaamount="1" manamultiplier="3.0"...
  10. sabodden

    TFS 0.X Rune without runes exausted

    i want to make some runes that are alloweds to use together with attack runes (i mean, this rune + sd or hmm)? i've tried this: local maglv = 3 function onGetFormulaValues(cid) local min = ( (((getPlayerMagLevel(cid)) * 10) * 0.5 ) + (40) ) local max = ( (((getPlayerMagLevel(cid)) *...
  11. sabodden

    TFS 0.X Use with on action

    I wanna make UH as action, not spell, but i got a problem: How get useWith, target I mean, it u use this UH in other player, not yourself local target = cid -- 1 how to check if rune was used in a real player? i mean, not only cid, others players/monsters if target == 0 then...
  12. sabodden

    TFS 0.X UH/IH together to EXURA/EXANA MORT

    how can i change exausteds configs in my source Fir3element/3777 (https://github.com/Fir3element/3777/tree/master/src) so player can combo exana mort with UH/IH (running healing spells)? bummp bump
  13. sabodden

    OTClient Close button by window OTClient

    How to when player press X button Make the window hide calling the function OnOff just as the hotkey... function init() mainWindow = nil mainButton = nil g_keyboard.bindKeyDown('Shift+F12', onoff) mainWindow = g_ui.displayUI('main.otui') mainWindow:hide()...
  14. sabodden

    how to make a MiniWindow spawns in the middle?

    I have this UI: MiniWindow id: mainWindow width: 625 height: 160 top: 100 bottom: 100 left: 100 right: 100 @onClose: modules.game_minimap.onMiniWindowClose() but when i show it it always comes on top left how to make it always spawn in the middle of screen? on the center...
  15. sabodden

    TFS 0.X attempt to concatenate upvalue 'maximum' (a nil value)

    [0:9:04.831] [Error - Weapon Interface] [0:9:04.832] data/weapons/scripts/wands_n_rods/multielements_staff.lua:onUseWeapon [0:9:04.832] Description: [0:9:04.832] .../scripts/wands_n_rods/multielements_staff.lua:54: attempt to concatenate upvalue 'maximum' (a nil value) [0:9:04.832] stack...
  16. sabodden

    OTClient OTclient UI helps

    I have this UI for OTClient mod: https://ibb.co/Gn9x5Ps MiniWindow id: botWindow !text: tr('ElfBot OTC 0.1 -- 0 ms - 0 exp/hour') width: 625 height: 160 icon: /data/imgs/elfbot_icon.png @onClose: modules.game_minimap.onMiniWindowClose() MiniWindowContents Button id...
  17. sabodden

    TFS 0.X Rune on spell exausted

    Is this possible to use SD + exura vita I would like to know if it is possible to create a rune (2295 for example) who uses exura vita exausted So i could use for example: Holy Missile + SD in the same second Is anyone know if it is possible? How to? <rune name="Holy Missile" id="2295"...
  18. sabodden

    OTClient OTclient front end UI helps

    i had this window mod https://ibb.co/9wYRj9f MainWindow id: tutorialwindow width: 625 height: 160 !text: tr("Title of MOD") Button id: Little Button !text: tr('First button') width: 100 height: 25 @onClick: print('test') margin-top: 10 But i would like...
  19. sabodden

    TFS 0.X varied damage depending on the direction the target is facing the attacker

    Would be possible in lua, maybe by using getCreatureLookDirection(target) to make the 'exori hur' more dynamic and skillable? I would like to if target is backwards to the attacker: damage = damage * 2 And if target is beside to the attacker: damage = damage * 1.5 And one last if player is...
  20. sabodden

    TFS 0.X Spell get creature back

    I have this spell, to teleport player to a target <instant name="Jump Target" words="jump target" range="5" maglv="11" mana="100" prem="0" aggressive="0" needtarget="1" params="0" exhaustion="2000" needlearn="0" event="script" value="attack/jump target.lua"> <vocation id="1"/>...
Back
Top