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

    Lua NPC responds only after reload

    I took a new test and there really is something very strange. I put an npc on the top floor (z=6) and he responds normally after opening the server. Only the floor npc (z=7) does not respond. I've tried deleting the below and applying it again, but to no avail.
  2. LeOnArd0

    Lua NPC responds only after reload

    Hi guys! Distro: TFS 1.5 I have a weird problem with some npcs. After restarting the server, they simply don't respond, but I just have to /reload npcs and they respond again. I've already tried using the exact same script as one of the NPCs that respond and it still doesn't respond o_O The...
  3. LeOnArd0

    RevScripts AccountStorage - Skills add

    Dude, it worked perfectly! Thank you very much, you are beasts. Thanks @Sarah Wesker for the help too.
  4. LeOnArd0

    RevScripts AccountStorage - Skills add

    The first method worked, tksss ❤️ I needed to adapt this script to add the skill as shown in the table below. Today it adds 1 skill to each base value, you know? Example: If the base is 37856, 3 it adds 3 skills to the account but in fact I would like it to add 1. function onLogin(player)...
  5. LeOnArd0

    RevScripts AccountStorage - Skills add

    Yes, the error didn't appear, it entered it in the database, but whatever account I enter, it didn't update the storage, since it recognizes all of them as ID 0, so it kind of won't work, right? Just so you understand, these are the accounts created by MYAAC, ID 1, 2, 4, 5. Whichever one I...
  6. LeOnArd0

    RevScripts AccountStorage - Skills add

    I did what you recommended, delete the base and I cried again. It worked, the only problem is that it is returning the account_id as 0. Do you know what could be going on?
  7. LeOnArd0

    RevScripts AccountStorage - Skills add

    Now return this error: 2023-04-21_18-33-40.819488 [Error - mysql_real_query] Query: INSERT INTO `account_storage` (`account_id`, `key`, `value`) VALUES(0, 37856, 0) 2023-04-21_18-33-40.819675 Message: Cannot add or update a child row: a foreign key constraint fails...
  8. LeOnArd0

    RevScripts AccountStorage - Skills add

    Hello @Sarah Wesker, thanks for you response. function onLogin(player) if Game.getAccountStorageValue(accountId, 37856) == -1 then Game.setAccountStorageValue(accountId, 37856, 0) Game.saveAccountStorageValues() end return true end I tried to do it that way in the login.lua...
  9. LeOnArd0

    RevScripts AccountStorage - Skills add

    Hum, i change, but i receive this error: I believe this is because I am not defining a key (1000, 1), but as I said, I would like these skills to be delivered in table format. So if I set it to 1, it wouldn't make a lot of sense, would it?
  10. LeOnArd0

    RevScripts AccountStorage - Skills add

    Hello guys! I need help with an revscript for TFS 1.5, @Nekiro downgrade. The idea is to put together a script that follows this line of reasoning: 1- When logging in, check if the player has account_storage X, if not, add it but with a value of 0. I put this: if...
  11. LeOnArd0

    C++ Classic Spell Casting

    I don't understand, how do you use separators?
  12. LeOnArd0

    C++ Classic Spell Casting

    I was able to resolve this by commenting out the line //words += " \"" + param + "\""; The only thing now not being done is magic with space in between. Ex: Ex Ura
  13. LeOnArd0

    C++ Classic Spell Casting

    Thanks for the answer. I tested it here, but it didn't work. It doesn't return errors on compilation, it just didn't make any changes to the game.
  14. LeOnArd0

    C++ Classic Spell Casting

    Hi guys, I would like some help to place the spells as they used to. Ex: eXuRa / Ex ura / eXura "Hello World I use TFS 1.5 - Downgrade from Nekiro. spells.cpp https://pastebin.com/0076CU4e Could someone give me a light? Tks, Leo
  15. LeOnArd0

    Skull in PZ (fields)

    Perfect!! Thank you very much, it worked perfectly.
  16. LeOnArd0

    Skull in PZ (fields)

    Can you tell me which part of player.cpp I add?
  17. LeOnArd0

    Skull in PZ (fields)

    TFS 1.5 - Downgrade Nekiro 7.72
  18. LeOnArd0

    Skull in PZ (fields)

    Hello guys. Problem: Player A uses a fire field on the ground and enters a protection zone. Player B, steps on the field and player A takes the skull inside the protect zone and walks around with the skull inside the pz. How do I block this action? I imagine "softening" this problem with a...
  19. LeOnArd0

    Roulette System

    I think because it's a fun and functional system, anything outside of that is just aesthetic.
  20. LeOnArd0

    Roulette System

    This is perfect! It turned out sensational and with all the possibilities I was thinking about. Thank you very much for your intelligence in building this script. As I said, his work is very inspiring, it's satisfying to watch him create a complex script from scratch. Congratulations and it's...
Back
Top