• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. dhrsantan

    Windows Script issues

    Try this: local c = { stone = 1356, creature = "Stone Golem", pcoin = 2152, exhaust = true, time_ = (60 * 1000) * 2 -- 2 minutes } function wait(c) c.exhaust = true end function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey) local player = Player(cid)...
  2. dhrsantan

    Level Requeriment to cast spells

    Assuming you're using TFS 1.0 in spells.xml <instant group="attack" spellid="62" name="Annihilation" words="exori gran ico" lvl="110" mana="300" prem="1" range="1" needtarget="1" blockwalls="1" needweapon="1" exhaustion="30000" groupcooldown="4000" needlearn="0"...
  3. dhrsantan

    Solved TFS 1.0 | attempt to call method `getTopCreature` <a nihil value> error

    I'm using TFS 1.0 Trying to do a teleport if the player is standing on a certain title. and pulls the lever.
  4. dhrsantan

    Windows Script issues

    he was talking about precentages? xD
  5. dhrsantan

    Windows Script issues

    elseif chance >= 40 and chance < 50 then should be elseif chance > 10 and chance < 50 then otherwise it would do nothing if your math random gives out any number form 11 to 39
  6. dhrsantan

    How to make monster summons follow summoner

    to state the obvious : function onCastSpell(cid, var) local summonLocation = cid:getPosition() Game.createMonster( 'squirrel', summonLocation, true, false) return true end
  7. dhrsantan

    Lua Not hunting - add stamina

    you could detect combat and then use ticks to add stamina.
  8. dhrsantan

    When choosing a AAC

    What I'd look for in an AAC is mainly: Security, Quality and good code structure, If those are in place. Well it will probably be possible to write your own add-ons to fit your needs.
  9. dhrsantan

    Count to 10!

    3
  10. dhrsantan

    Need help with spells anyone please?

    in forgottenserver/data/spells/spells.xml add: <instant group="attack" spellid="Your_spell_id" name="Your_spell_id" words="Words_to_cast lvl="Level_to_use" mana="Manacost" range="Range_of_spell" needtarget="target_needed?" blockwalls="1" exhaustion="Exh_time"...
  11. dhrsantan

    Solved How to make monster spell only heal monsters

    I was looking into it, and came across these functions that perhaps could do the trick: I'll make a script tonight when i get home ;) -- getSpectators(position[, multifloor = false[, onlyPlayer = false[, minRangeX = 0[, maxRangeX = 0[, minRangeY = 0[, maxRangeY = 0]]]]]])...
  12. dhrsantan

    bug in server or Zonte AAC

    @Shoshooo post the srcript that add the points automaticly
  13. dhrsantan

    Solved Lifesteal attack against creatures

    try this: function onStatsChange(cid, attacker, type, combat, value) local drainPercent = 10 if (type == STATSCHANGE_HEALTHLOSS) then doCreatureAddHealth(attacker, value * drainPercent / 100) end return true end
  14. dhrsantan

    how to make items in server by gm with out clean it

    then use the house title fix ;) not the best solution but it works :D
  15. dhrsantan

    how to make items in server by gm with out clean it

    ah, why don't you place the items with a map editor? or make the titles where the items are house titles?
  16. dhrsantan

    how to make items in server by gm with out clean it

    could you be more clear?
  17. dhrsantan

    How to make monster summons follow summoner

    I suppose Bandit druid is hostile and therefore it attacks the player. making his summons attack the player aswell. therefor it looks like the summons follow the player instead of the creature.
  18. dhrsantan

    Solved Website/Layout error

    Post the code. before you edited it. and after. also tell us why you edited it. e.g what did you want to accomplish by editing.
  19. dhrsantan

    Lua Problem with command !shop

    TFS version? Znote version? the Shop.lua?
Back
Top