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

    Weapons + spell damage increase 8.6 on 1.2

    In the rebirth script take out the "()" from the values. local damageIncrease = 5 local rebirthStorage = 85987 Oh and, forgot to mention, on creaturescripts/scripts/login.lua you should register it to the player's login. player:registerEvent("rebirthdmg")
  2. Ramirow

    Weapons + spell damage increase 8.6 on 1.2

    You registered it correctly? Example. creaturescritps.xml <event type="healthchange" name="statHP" script="script.lua"/> That script will be executed whenever there's a healtChange (be it healing or damage), so it doesn't really matter which formulas you're using, it just takes the damage...
  3. Ramirow

    how i can fix that bug

    Mind telling us how much ram you have? As well as your os and size of the map?
  4. Ramirow

    how i can fix that bug

    It's most likely what it tells you there, either you need more memory or you will need to use a 64bit distro
  5. Ramirow

    Weapons + spell damage increase 8.6 on 1.2

    This could work with rebirth system I believe, you should give it a try. local damageIncrease = (How much %damage increase per rebirt level) local rebirtStorage = (Your rebirth storage here) function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType...
  6. Ramirow

    Feature [TFS 1.3] Adding New Skills

    That's weird, just checked the file on the latest source and it does contain the exact lines I mentioned, I would mind taking a look at your source files if you feel like you need it. Have a look...
  7. Ramirow

    add cooldowns on custom potions. TFS 1.2 (10.98)

    I may be wrong but, os.data returns a string of characters so that's why you can't perform an arithmetic operation with it. Have you tried to use os.time instead of date? You could maybe save the os.time timestamp once the users drinks a potion, then if he tries to drink another you just check...
  8. Ramirow

    Feature [TFS 1.3] Adding New Skills

    Pay close attention to the file, items.h is not the same as item.h (You may have tried to edit the last one, search for itemS.h) For the spells section, you can try to add a check within the spell itself. A quick example, so you get the idea: function onCastSpell(creature, variant) if...
  9. Ramirow

    Linux Optimize Table vs not optimize

    You should post which error messages appear on console, which tfs version you are using, always give as much information as possible so we can help you out mate
  10. Ramirow

    [OtLand Official Mapping Competition] - November Voting Thread

    6 caught my attention, it looks a place I would like to play and walk trough, easier on the eyes, simple yet beautiful
  11. Ramirow

    Show additional skills on client

    I get that, but try downloading the source, don't edit anything and try to compile without any changes. If it succeeds I might download the new sources to see if anything changed drastically from August to November I may also ask you, are you trying to compile in release 64bits?
  12. Ramirow

    Show additional skills on client

    Are you sure you can compile the client without any modifications? As in the picture you uploaded at least, it doesn't mention any error pointing to the two files you needed to modify.
  13. Ramirow

    TFS 0.X Is it possible to change things on receive damage in LUA?

    You can use onStatsChange in creatureevents to manage that sort of damage reduction.
  14. Ramirow

    Action [TFS 1.2+] Simple Smithing Skill w/ Options

    You will have to modify the script a bit to check if the item is a wand, and then you can use Zbizu's System to add the property you want. Pseudo code if item == wand then item:addSlot(ml, 1) end The addSlot function and 'ml' already exist in Zbizu's system. EDIT: Forgot to mention, I...
  15. Ramirow

    Quest NPC (give x amount of x item = access)

    You can easily check for the storage of the completed quest when the player steps into that teleport. I guess you could do that using a movement script, like this one: function onStepIn(creature, item, position, fromPosition) local storage = yourStorageHere local tpAid = teleportActionId local...
  16. Ramirow

    [ShowOff] by Clopin

    I love it, seriously. The only thing that caught my attention was the second picture, I don't like that grass, leaves and the like inside of the depot. Anyways, it's not that it's bad, I just don't feel it. Keep it up!
  17. Ramirow

    Lua onUse script for tfs 1.2

    Is there a function to send an item via parcel? Didn't know that
  18. Ramirow

    Lua onUse script for tfs 1.2

    One piece of advice I can give you is that you need for the player to be offline as you will have to use sql queries. So if player uses item and gets storage 1001, 7 you should not run the queries at that time, you could try to do it at server save or server startup. Or, the easy way, just add...
  19. Ramirow

    Action [TFS 1.2+] Simple Smithing Skill w/ Options

    I'm pretty sure that could be added to the system as well (In fact, you can already add ML to items with it, as well as skills). You will have to decide which items will have the bonus magic level instead of boosted arm, def. Then just add a check on the script and, instead of applying a normal...
  20. Ramirow

    [OtLand Official Mapping Competition] - September Sign Up

    So nice to see this! I never really went deep into mapping, I would love to participate some day when I'm experienced enough. Good luck to everyone!
Back
Top