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

    Flying mount system TFS 1.2

    lol This actually adds another layer of difficulty to pvp and makes it kinda interesting, i made this so instead of outfits you use a broom with duration, dragons can fly and you can make raids in the air, etc EDIT: exani hur needs to be fixed tho, since flying in a tile close to an edge...
  2. L

    simple trick - making a table /reload proof

    Have you managed to fix this when reloading creaturescripts? Example: function onLogin(cid) registerCreatureEvent(cid, "lootMessage") end After reloading the events are lost and players need to relogin (or iterate for each player online and reregister the events, but that might lag if...
  3. L

    Flying mount system TFS 1.2

    There's no createTile in OTHire, but the doAreaCombatHealth seems to be bugged too and it works. When i first looked at the code i thought doAreaCombatHealth was supposed to get the player in battle so he couldn't logout lol
  4. L

    Generating maps?

    I was trying to make it a brush like RME too, for example with buildings: You set a pallete You set a position "p" (the tile where you would click on RME) Then it would just iterate over the 3x3 surrounding tiles of course it doesn't check and remove yet but it seems to work
  5. L

    Lua Function Monster onSelectTarget(self, target)

    Maybe if you have the teddy bear from annihilator make an orshabaal not target you the first time then remove the item? I'm curious about the last past: to get an array of the current players on the screen, is there a faster way than LUA iterating all tiles or is there already a way (C++ code?)...
  6. L

    Generating maps?

    Nice, i was trying to make something like this but got stuck on the simplest task: autoborder/wall If i remember correctly when i last saw your script it didnt have it either (maybe another version?) You've improved it a lot Here's another technique in case you havent seen it...
  7. L

    Flying mount system TFS 1.2

    Did you modify the Game.createItem function/sources? By default you can't create an item (the walkable id 460) if theres no floor already
  8. L

    [TFS 1.2] Luascript channel

    It grabs whats in your clipboard and sends it to the luascript channel (or talkaction in my case since OTHire doesnt have channels)
  9. L

    [Lua] Format your SQL queries with db.formatQuery

    Account:Create returns the account metatable if created or false if it already exists Account:Load(id) returns the account metatable if loaded or false if it doesn't exists Account:getId() Account:getPassword() Account:getEmail() Account:getPremend() Account:getBlocked() Account:getWarnings()...
  10. L

    [TFS 1.2] Luascript channel

    Im thinking about giving the players the ability to execute a small sandbox that allows them to play their character, like a programmers tibia war but who knows if anyone would play that, anyway i made a small shell script that sends selected text to OTClient, as a tool that might someday get to...
  11. L

    Lua Function Monster onSelectTarget(self, target)

    I actually wanted to ask for a use case too :p
  12. L

    Lua Function Monster onSelectTarget(self, target)

    Wouldnt that allow the player to kill those monsters without being attacked?
  13. L

    [Lua] Autoloot system for OTHIRE

    It doesn't find items in bags, but with this function it does Use local loot = getContents2(corpse) Instead of local loot = getContents(corpse) in actions/scripts/autoloot.lua
  14. L

    [Lua] Autoloot system for OTHIRE

    Technically anything is part of the game and everything custom is extra (maps different from RL tibia or OTCLIENT for example), but that would be a phisophical matter and i dont know if we can discuss it here There are many games that have this feature, and i always wanted to make it when i...
  15. L

    [Lua] Format your SQL queries with db.formatQuery

    That seems a nice approach, i'll probably do it once i figure out how to handle the clone players (account managers) in game without modifying the source code. Perhaps "allowing_clones" in config.lua all together and restrict using onLogin script?
  16. L

    [Lua] Autoloot system for OTHIRE

    I just finished this, so its not fully tested, but everything seems to be working so far. When you open the corpse it grabs what's in your autoloot list. Grabbed the code from here https://otland.net/threads/autoloot.91385/ and converted stuff to tables Example of command usage !autoloot...
  17. L

    [Lua] Format your SQL queries with db.formatQuery

    I'm working on a lua account manager but the moment i started making the account creator script i noticed a bad pattern. ^ When executing a query everything has to be on one line, in this case its only 6 columns and it looks semi-decent, but can you guess what will happen when i edit the...
  18. L

    Compiling TFS 1.1 on Raspberry Pi or Debian 7

    I managed to cross-compile with distcc on a Raspberri Pi B+ running Arch Linux It's way much faster than just using your RPi
Back
Top