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

    TFS 1.X+ Player visibility

    You crazy man. I might use that idea for a pvp situation. Hopefully someone has some type of information for me. Even if its not a direct how to anything will help right now because I have tried everything I can think of and its not even close to working. 1737181428 Nvm its solved.
  2. Itutorial

    TFS 1.X+ Player visibility

    I want to make it so players can only see creatures in their visibility range. Right now creatures will only update when they leave or enter the screen area. However, I need it to update if they are within the screen area as well. Here is the main part of the code I am trying to do. In...
  3. Itutorial

    AAC OTCv8 updater not working

    EDIT: Resolved. I forgot I changed the folder name in APPDATA for my server. Deleting it solved the issue. Anyone run into this problem running client updater on ubuntu? When I connect to the server and direct to updater.php I can see the following. There is also a lot more but just showing...
  4. Itutorial

    Capture The Flag

    I will eventually come back to this but first and formost make sure you didn't miss any of the steps in installing it. When I originally tested it I was unable to attack teammates. It could be that you somehow started the event and players were not assigned to teams properly which i will look...
  5. Itutorial

    TFS 1.X+ Tfs 1.4 player:addCondition()

    Anyone know why it isn't working? There are no errors. It just doesn't add the condition. I have used prints and know the code is executing as intended. if potion.health then local condition = Condition(CONDITION_ATTRIBUTES) condition:setParameter(CONDITION_PARAM_SUBID, 3)...
  6. Itutorial

    otclienv8 BotTextEdit

    For some reason I can not use BotTextEdit. It just destroys the UI. This is how I have it set up: BotTextEdit < TextEdit anchors.top: prev.bottom anchors.left: parent.left anchors.right: parent.right @onClick: modules.client_textedit.show(self) text-align: center...
  7. Itutorial

    OTClient otclientv8 Updater Problem

    Using windows. Everything works including downloading new files until it tried to install them. I get this error. The weird thing is even if I am not downloading data.zip it still shows this error. It seems the problem has to do with this: if (reMount) { unmountMemoryData(); file =...
  8. Itutorial

    Lua Compiled latest TFS but can't load config.lua

    Change: enableTwoFactorAuth = false See if that lets you in.
  9. Itutorial

    TFS 1.X+ Where is floorchange handled?

    Just want to note I did apply these and two of those fixes are opposite and need to be reversed. I believe it is: updateLookDirection and getDirectionTo.
  10. Itutorial

    TFS 1.X+ Where is floorchange handled?

    I found where the issue was. After the position updates in the sources to constexpr some of the values were added backwards. In tools.cpp Direction getDirectionTo(const Position& from, const Position& to) int32_t x_offset = to.getOffsetX(from); int32_t y_offset = to.getOffsetY(from)...
  11. Itutorial

    TFS 1.X+ Where is floorchange handled?

    Where in the sources is floorchange handled? It seems in my 1.4 version after the player moves up or down stairs their direction is opposite from what it should be.
  12. Itutorial

    OTClient Otclientv8 error when floors are above player

    Yes, and I am pretty certain it has to do with this: otland.net/threads/tutorial-adding-more-tiles-to-game-window-updated-7-6-2018.228243/ I can't see where the problem is though and maybe someone has had it happen already. 1727190468 nvm i figured out what it was. Just sending too much item...
  13. Itutorial

    OTClient Otclientv8 error when floors are above player

    Really weird problem here and it seems to have come out of nowhere.. If I have floors above my player I get this error: There are no items on the floor above that aren't in places where this error doesn't occur. Any ideas?
  14. Itutorial

    Banshee Quest lever

    Perhaps your storage value is incorrect for the player you are trying to test with. You should use prints to see what your code is doing. try adding: print("Started") under the function onUse line so you can make sure the code is actually executing.
  15. Itutorial

    OTClient Where are otclient's tooltips handled?

    So as an example. I want to only have Legendary Stick purple. Not the stats.
  16. Itutorial

    OTClient Where are otclient's tooltips handled?

    I know how to use the tooltips but I cannot find where the code to display the tool tip is. Also, if someone knows how I can add text color to the tooltip that would be a bonus. Thanks for any help. https://otland.net/threads/tool-tip.262132/#post-2535347 I think I might be dumb early in the...
  17. Itutorial

    Solved Help with corpse (onDeath) TFS 1.0

    Thank you for taking the time to write all this out.. I did find out though that I can just use the default onDropLoot monster event in the data/scripts/events/monster folder. Makes it a lot easier to work with. In this case I needed to modify all monsters drops so this works for me. If I ever...
  18. Itutorial

    C++ Sending custom attributes to client

    Yeah I just didn't want to have to recode a bunch of stuff. The client was already set up to handle all the information and use it as I want too but the server wasn't. Now it is and I can utilize all the functionality the client already came with. Thanks for the congrats. It is a key thing to...
  19. Itutorial

    Solved Help with corpse (onDeath) TFS 1.0

    I have this same problem. I have tried using addEvent as well. Nothing seems to be working. I can not get items out of a corpse for the life of me. What do I need to do??? This is my code. line 32 prints 0 line 33/34 do not print at all local RarityDrops = CreatureEvent("rarity_drops")...
  20. Itutorial

    Crash bug

    Has anyone figured out what was causing this? It still seems to be in my sources. It has to do with decaying items. Whenever I kill a monster it crashes the server and has Game::checkDecay() written all over it. Specifically when it is checking for the attribute for decay and setting it. Can...
Back
Top