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

    Rune Lever

    Don't have time to edit your script so this is my rune system, Complete it as you want :D local config = { [5009] = {potion = 2268, cost = 6500, backpack_id = 2003, charges = 3}, -- sudden death rune [5010] = {potion = 2304, cost = 3600, backpack_id = 2000, charges = 6}, --...
  2. wesoly136

    max / min skills.

    Guitar Freak says about onThink that immediately after advance it will reset it, not after login ;p
  3. wesoly136

    lvl 800 to lvl 8:O

    <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="50" gainmanaticks="3" gainmanaamount="100" manamultiplier="1.1" attackspeed="250" soulmax="100" gainsoulticks="50" fromvoc="1"> <formula...
  4. wesoly136

    lvl 800 to lvl 8:O

    Mind this way... Make 'epic' vocation(third) and change gainhp and gainmana then after advance to 800 reset lvl and change promotionlevel, if you want more 'resets' make fourth vocation etc. I dont see other way :)
  5. wesoly136

    Heal zone 0.4

    Any errors? Maybe you had full hp? It works when you're hurt
  6. wesoly136

    doItemSetAttribute

    What TFS do you use ? Works for me(0.3.6)
  7. wesoly136

    max / min skills.

    IsDruid works for vocs 2,6; isSorcerer = voc 1,5 etc. so promoted too. SKILL_SHIELD :P
  8. wesoly136

    Heal zone 0.4

    It is for 0.3.6 but it should work on 0.4 function onThink(cid, interval, lastExecution) for areax = 994, 1004 do -- manage this for areay = 993, 1004 do -- and this area = {x=areax, y=areay, z=7, stackpos=253} pl = getThingFromPos(area) if pl.itemid >= 1 then if...
  9. wesoly136

    doItemSetAttribute

    Also getItemAttackSpeed(uid) setItemAttackSpeed(uid, attackspeed)
  10. wesoly136

    max / min skills.

    I'm a master of long scripts :S function onLogin(cid) if isKnight(cid) then if getPlayerSkill(cid, SKILL_SWORD) < 70 then doPlayerAddSkill(cid, SKILL_SWORD, 70-getPlayerSkill(cid,SKILL_SWORD)) elseif getPlayerSkill(cid, SKILL_SWORD) > 100 then doPlayerAddSkill(cid...
  11. wesoly136

    [REQUEST] Script :@

    It has to add storage value for 24hrs, but when your server is offline(not 24/7) then it can be buggy. I dont know that after restart it will be still counting :/ Other way, when you have dedicated server and restart your ot once a 24hrs it can be globalevent that removes storage in database(it...
  12. wesoly136

    [item] Items with health bonus

    But you said that it didnt work, not it makes your maxhp lower, it is important because I thought that this attribute doesnt exists at all :/
  13. wesoly136

    Help fix spell script! REP++

    Hmm... Im not sure, but maybe remove 'return' near 'doCombat'
  14. wesoly136

    help with healing/mana tile

    globalevents.xml <globalevent name="heal" interval="1" event="script" value="heal.lua"/> and globalevents/scripts/heal.lua paste this code which I gave you first
  15. wesoly136

    help with healing/mana tile

    local positions = { { x = 1059, y = 1000, z = 8}, -----You have to write here all positions which you want to heal { x = 1059, y = 1004, z = 8} } function onThink(cid, interval, lastExecution) for _, pos in ipairs(positions) do pl = getTopCreature(pos) doSendMagicEffect(pos, 12) if...
  16. wesoly136

    help with healing/mana tile

    You want it tot heal every stepIn or when you are staying on this tile it will heal you every second(or other time)?
  17. wesoly136

    You don't get exp at level 100 until you make a quest / promotion. And Quest doors.

    <event type="advance" name="promo1" event="script" value="promo1.lua"/> <event type="login" name="promo2" event="script" value="promo2.lua"/> and register it in login.lua #JDB I use doPlayerSetExperienceRate(cid, 0.0) in many scripts and it works fine :D
  18. wesoly136

    Auto Vocation Change At Level 200

    When I was 11 years old I knew that I have to do samething similar in the xmls, so I just was coping the lines... xml <event type="advance" name="voc" event="script" value="voc.lua"/> login.lua registerCreatureEvent(cid,"voc")
  19. wesoly136

    You don't get exp at level 100 until you make a quest / promotion. And Quest doors.

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  20. wesoly136

    You don't get exp at level 100 until you make a quest / promotion. And Quest doors.

    First script creaturescripts local queststorage = 1111 function onAdvance(cid, skill, oldlevel, newlevel) if skill = SKILL_LEVEL and newlevel >= 100 and getPlayerStorageValue(cid, 9999) ~= 1 and getPlayerPromotionLevel(cid) == 0 then doPlayerSetStorageValue(cid, 9999, 1)...
Back
Top