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

    TFS and OTClient Commercial use?

    Thanks a lot, that's the answer I was looking for!
  2. Acedayz

    TFS and OTClient Commercial use?

    Would I be able to sell a modified OTClient (on Steam for example) that connects to TFS legally? Without using CipSoft's sprites of course. If so, are there any requirements to do so? I'm interested in creating an mmo using these, but I'm no lawyer and I'd like to be certain it's legal before I...
  3. Acedayz

    [TFS 1.0] How do I remove a tile?

    Alright, guess I'll have to find another way to accomplish this. Thanks for the help though!
  4. Acedayz

    [TFS 1.0] How do I remove a tile?

    There's no need to show any scripts, or explain what I'm trying to do (except to completely remove a tile). Anyways, what I'm doing is creating random generated maps. Pretty much like Minecraft. So when a player walks around, 9 chunks (16x16 tiles each) are created automatically around the...
  5. Acedayz

    [TFS 1.0] How do I remove a tile?

    That's what I was afraid of. You're right, if I was talking about a few thousand tiles as I said (which is not actually true) it wouldn't matter. However, the max possible amount of tiles that could be created on my server would be 1,073,741,824 which would increase my memory usage by 94.5gb...
  6. Acedayz

    [TFS 1.0] How do I remove a tile?

    Bump
  7. Acedayz

    [TFS 1.0] How do I remove a tile?

    I'm currently creating thousands of [Edit: 1,073,741,824] tiles using Game.createTile(position[, isDynamic = false]). And these tiles will eventually no longer be needed, so I need a way to remove them to save memory. Here is the function to create tiles: int32_t...
  8. Acedayz

    Solved Loop issues.

    Set it to an int(11).
  9. Acedayz

    Solved Loop issues.

    Most likely because your 'serialId' column is a boolean and needs to be changed to an integer.
  10. Acedayz

    Solved Error Script TFS 0.3.6

    You have 2 scripts using the same unique id in movements.xml. Change it to something else which is not being used.
  11. Acedayz

    Solved Error Script TFS 0.3.6

    Just remove (specialteleport)
  12. Acedayz

    Capacity < 0 (TFS 1.1)

    That's what I thought at first, until I tried and it actually displayed negative values. So I was hoping there was a chance that it could work 100%.
  13. Acedayz

    Capacity < 0 (TFS 1.1)

    I've ran into a problem after making players be able to have a capacity below 0. Everything is working as it should, except that the tibia client crashes the second time you login without closing the client (when the player's cap is below 0). So, I can login once with a cap below 0 and it's...
  14. Acedayz

    Virtual Containers (TFS 1.1)

    Thanks for the help guys, but I managed to do it another way. Would still be nice to have this function if someone could make it though.
  15. Acedayz

    Virtual Containers (TFS 1.1)

    Any ideas on how to implement virtual containers? For example, a container that can be assigned an id which you use to open/close the container. local container = Container(100) player:openContainer(100) container:addItem(2160, 100) So I could use it to store items in them without actually...
  16. Acedayz

    Lua Any can fix my auto gold loot script?

    I made this for TFS 1.1, but maybe you can convert it to your version. I don't like using addEvent like this, but I think it's the only solution if you don't want to use onDeath() and register the event for every monster. Not tested. function autoGP(cid, pos, corpseId) local player =...
  17. Acedayz

    Solved DoCreatureCastSpell

    It has nothing to do with that function (unless you are actually calling doCreatureCastSpell in a lua script). Does any other of your monsters spells work? If they do, then post the xml file for the monster that doesn't work. If you are calling doCreatureCastSpell, then post the spell script...
  18. Acedayz

    Lua Get positions between two positions

    This should do it. function getPositionsBetween(startPos, endPos) local curPos = startPos local positions = {} while(true) do local dx = curPos.x - endPos.x local dy = curPos.y - endPos.y if dx == 0 and dy == 0 then break end...
  19. Acedayz

    Use X to X

    I'm glad you got it working, but unfortunately I can't help you anymore. If no one else can help you, I highy suggest you start learning some scripting. It's not as hard as it may look for basic LUA knowledge, look around OTLand for other scripts and read through them and try to create a few...
  20. Acedayz

    Use X to X

    You also need to change the parameters of getSpectators to the position in the middle of your room and the radius (currently 6, 6).
Back
Top