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

    RevScripts killuaCaveOwners/no back temple

    Hello Gaber Zen, I made changes to the local variables in the restTempo function and removed the redundant storages array from the hasCave function. Here's the revised script: function restTempo(storage) local tot = storage - os.time() local horas = math.floor(tot / 3600) tot = tot -...
  2. G

    TFS 1.X+ Spell Damage Direction Issue

    Roddet explained what 'variant' in onCastSpell does. I've tested the script, and it works just as the previous one you sent before, but it doesn't update the direction and position of the player after the delay. Again, I appreciate the help, buddy.
  3. G

    TFS 1.X+ Spell Damage Direction Issue

    Thank you so much for your help! Your solution worked perfectly. This post can now be marked as answered/done—also, big thanks to Hellboy and GamerGoiano for trying to help. You're much appreciated too.
  4. G

    TFS 1.X+ Spell Damage Direction Issue

    The script seems to be working without any errors. However, the issue I am having is that the player's direction doesn't update correctly. The problem I'm facing is related to capturing the player's direction right before the spell fires, after the delay, rather than when the spell is initially...
  5. G

    TFS 1.X+ Spell Damage Direction Issue

    No errors, but whenever the spell is fired, for example, north, and if you turn in another direction while the spell is casting. The damage does not update where the player faces at the time. So that I know that we are working on the same page, here's what the script I'm checking looks like so...
  6. G

    TFS 1.X+ Spell Damage Direction Issue

    Hi @GamerGoiano, Unfortunately, the issue still persists. For some reason, you can't use combat:setArea() or createCombatArea / combat:setArea(createCombatArea()) in a function or onCastSpell. It just ends in an error: luaCombatSetArea(). This function can only be used while loading the script...
  7. G

    TFS 1.X+ Spell Damage Direction Issue

    Hello Hellboy, I tried implementing the suggested changes, but I still face some errors. I would appreciate it if someone could take a look at my code and help me figure out what's going wrong. Here's the modified code I'm currently using: local combatNorth = Combat()...
  8. G

    TFS 1.X+ Spell Damage Direction Issue

    Hello GamerGoiano, Thank you for your suggestion. I tried implementing the code you provided, but I encountered an error when setting the area for the combat object: luaCombatSetArea(). This function can only be used while loading the script. It appears that the combat:setArea(area) function...
  9. G

    TFS 1.X+ Spell Damage Direction Issue

    Hello everyone, I've been working on a Kamehameha spell for my game, but I've encountered an issue where the damage area of the spell does not update based on the player's direction. I would appreciate any help to figure out how to fix this problem. Here's the current code I'm using: local...
  10. G

    TFS 1.X+ [TFS 1.4.2] Movements script not working

    Yeah, after looking at the XML again, when you mentioned it being: (Before editing) <event type="StepIn" actionid="6000" script="test_script.lua" /> I've noticed that instead of: type="StepIn" It should have been: event="StepIn" Unlucky typo, I suppose, but I much appreciate the help from both...
  11. G

    TFS 1.X+ [TFS 1.4.2] Movements script not working

    Hello, TFS community, I've been facing a persistent issue with a MoveEvent script in TFS 1.4.2. Despite trying multiple solutions, I still encounter the following error message when attempting to use a simple script: [Error - MoveEvent::configureMoveEvent] Missing event [Warning -...
  12. G

    TFS 1.X+ Issues with onLogin function in CreatureScript

    It looks like it was exactly what I was missing. Thank you very much.
  13. G

    TFS 1.X+ Issues with onLogin function in CreatureScript

    TFS: 1.4.2 OTClient: 10.98 I'm currently working on a project where I need to create a script that changes the outfit of a player's vocation upon login. However, I've encountered some problems with my implementation. I added a new file to my CreatureScripts directory and wrote a simple onLogin...
  14. G

    Couldn't load assets

    Hello Otlanders, Recently I wanted to try out the TFS 1.5 that I've found here, along with OTClient. I've managed to compile and set up everything, but OTClient doesn't let me log in to the server, and it's saying "Couldn't load assets" along with the "file catalog-content.json not found" in the...
Back
Top