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

    Need help to do 8.54 to 8.6 please!

    http://otland.net/f481/how-make-your-server-client-8-61-tutorial-90537/ check the tutorial section?
  2. H

    DoubleExp Error

    try this instead doPlayerSetExperienceRate
  3. H

    Windows Killed by Unknown

    Should be fixed anyways. if it's not try using db instead =)
  4. H

    Windows Killed by Unknown

    make an onlogin script function onLogin(cid) if getCreatureMaxHealth(cid)<1 then setCreatureMaxHealth(cid,1) doCreatureAddHealth(cid,1) end return true end don't forget to add it in creaturescripts =)
  5. H

    free acc

    check your console for this line premiumForPromotion. if it's not already true you need to change it
  6. H

    Lua NPC respond wrong

    dofile(getDataDir() .. 'global/greeting.lua') local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = 0 function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
  7. H

    First items

    <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="firstitems_config"><![CDATA[ config = { storage = 30001, items = { ['druid'] = { write itemids here}, ['sorcerer'] = { write itemids here}...
  8. H

    First items

    check firstitems.xml in mods
  9. H

    [SOLVED] Block Logout from event

    onLogout script in creatureevents
  10. H

    Lua NPC respond wrong

    dofile(getDataDir() .. 'global/greeting.lua') local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local Topic = 0 function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function...
  11. H

    King Tibianus, Promotion problem.

    add premium = true.. cause they need premium to be promoted but in the script they don't need it..
  12. H

    Sloved

    local config = { monsters = { ['Demon'] = {} } } function onUse(cid, item, fromPosition, itemEx, topos) local summons = getCreatureSummons(cid) for _, summoned in ipairs(summons) do if config.monsters[getCreatureName(summoned)] then doRemoveCreature(summoned) return true end end...
  13. H

    Sloved

    local config = { monsters = { ['Demon'] = {} } } function onCastSpell(cid, var) local container = doPlayerAddItem(cid, 2272)-- change to right itemid if getCreatureMaster(getTopCreature(var.pos).uid) == cid then doItemSetAttribute(container, "description", "It contains a captured " ...
  14. H

    Sloved

    There is nothing called isSummon as far as I know, not on tfs 0.3.6 atleast local config = { monsters = { ['Demon'] = {} } } function onCastSpell(cid, var) if not(getCreatureMaster(getTopCreature(var.pos).uid) == getTopCreature(var.pos).uid) then doPlayerSendTextMessage(cid...
  15. H

    Sloved

    den sista ska vara i spells
  16. H

    Lua NPC respond wrong

    edit: conde2 you were to quick for me =)
  17. H

    Lua NPC respond wrong

    selfSay(v < 3 and "You haven't finished the current mission." or "You forgot the book..." or "You didn't bring that book yourself...") what do you want it to do? say one of those 3 options? u gotta use math.random for that. Do you want him to say that your storage is to low? don't really...
  18. H

    Sloved

    local config = { monsters = { ['Demon'] = {} } } function onCastSpell(cid, var) if isMonster(getTopCreature(var.pos).uid) then if config.monsters[getCreatureName(getTopCreature(var.pos).uid)] then if math.random(10) == 1 then local container = doPlayerAddItem(cid, 2272)-- change to right...
  19. H

    Lua What command should i use to remove PZ??

    Condition_infight
  20. H

    Sloved

    function onUse(cid, item, fromPosition, itemEx, topos) if(getTilePzInfo(getCreaturePosition(cid)) == true) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can't summon in pz.") return true end if table.maxn(getCreatureSummons(cid)) <= 0 then -- ändra till max antalet...
Back
Top