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

    RevScripts HELP TFS 1.4 SCRIPT CHEST 24HRS

    It's revscript. But if it's an aid then line 64 needs to be changed to: action:aid(your action id here)
  2. Apollos

    TFS 1.4 HELP SPELL MANA/HEALTH RUNE

    I wanted to do it your way. IMO yours is the correct way, its just that bug causes the extra health. My main concern with mine is since there is no COMBAT_HEALING type then if it is ever tracked by onHealthChange checking primaryType then there could potentially be an issue? Idk probably not...
  3. Apollos

    TFS 1.4 HELP SPELL MANA/HEALTH RUNE

    Another problem is he is adding health and mana to the player no matter what. So if you use the rune on another player then it'll still heal the caster. Probably better to use onTargetCreature then like this: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)...
  4. Apollos

    TFS 1.4 HELP SPELL MANA/HEALTH RUNE

    Could be because your spells.xml entry. Are you sure its not set to group="attack"?
  5. Apollos

    TFS 1.X+ NPC say error

    Try this out: elseif msgcontains(msg, 'passage') and getPlayerStorageValue(cid, talkstor) == 1 then if getPlayerStorageValue(cid, melstor) == 1 then local msgs = { [1] = "If you want to enter our fortress you have to become one of us and fight the Efreet..."...
  6. Apollos

    RevScripts HELP TFS 1.4 SCRIPT CHEST 24HRS

    Try this out, you'll have to put the item id in at the bottom, let me know how it works. local config = { rewardItems = { {2160, 1}, {18337, 10}, {9971, 5}}, minimumLevel = 8, exhaustTime = 24 * 60 * 60, -- 24 hours exhaustStorage = 31402 } local function...
  7. Apollos

    Lua 3 onDeath scripts.

    This is how I would approach a storage based system for this. First part you can put within lib/core/player.lua (you can change the storages to whatever you need them to be). local baseSkillStorages = { [SKILL_FIST] = 90100, [SKILL_CLUB] = 90101, [SKILL_SWORD] = 90102...
  8. Apollos

    Lua 3 onDeath scripts.

    You don't need multiple storeQuerys like that, you can do it all within one like this: local resultId = db.storeQuery("SELECT `skill_shielding_base`, `skill_dist_base`, `skill_club_base`, `maglevel_base` FROM `players` WHERE `name` = " .. db.escapeString(player:getName())) if resultId ~= false...
  9. Apollos

    Lua Storage value xml

  10. Apollos

    Erro Autoloot

    I suggest reading through replies in the original thread when you have issues like this, most of the time you will see a solution to your problem. You can see @Itutorial seems to have figured out the solution in the thread here...
  11. Apollos

    Team Mapper/Co-Developer

    Still needing help.
  12. Apollos

    Lua manipulating os.time()

    I only tested this out with lua demo so let me know if it works. I also didn't get involved in adding it to onThink cause I'm not exactly sure what all you need beyond the time check. -- warCastle index [0-6 = Sunday-Saturday] warCastle = { [0] = { weekday = 'Sunday', time = '22:00' }...
  13. Apollos

    Premium ended Return to temple and become resident city TFS 1.3

    I mean after this response idk what to think, that's why I went with a query that can be interchanged with lastDay instead of premium_ends_at to work for tfs 1.2. You didn't respond to what exact distribution you have, seems you didn't read my whole reply. No one is going to be able to help you...
  14. Apollos

    Manually add char to database?

    You can do a query but easiest way I've found is to just use the insert button within the player and account table in phpmyadmin. Then you can just fill out the form.
  15. Apollos

    Jfrye's Mapping Pieces

    Looks really good so far, I like the way the mud blends from the shoreline, more of that would look nice. Once it's all detailed in I'm sure it'll be awesome.
  16. Apollos

    TFS 1.X+ Learning spells problem

    I would guess it's because you don't have any vocation set for utevo lux. Add them like this: <instant name="Light" words="utevo lux" needlearn="0" mana="20" selftarget="1" aggressive="0" script="support/light.lua"> <vocation name="Sorcerer" /> <vocation name="Druid" /> <vocation...
  17. Apollos

    TFS 1.2 Looking for dash spell

    See if you like this one: local combat = Combat() combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local unwanted_tilestates = { TILESTATE_PROTECTIONZONE, TILESTATE_HOUSE, TILESTATE_FLOORCHANGE, TILESTATE_TELEPORT, TILESTATE_BLOCKSOLID, TILESTATE_BLOCKPATH } function onCastSpell(creature...
  18. Apollos

    Premium ended Return to temple and become resident city TFS 1.3

    If your function is 'getPremDays' then you're not using TFS 1.3. So if you want accurate help you should find out what server you're actually using. Also when you write this, you should keep in mind that if a player has already logged in once before since losing premium, we should not keep...
  19. Apollos

    Team Mapper/Co-Developer

    Still searching.
  20. Apollos

    Team Mapper/Co-Developer

    Still could use some help.
Back
Top