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

    Trying to receive a storage value from Tfs > Otclient

    Well for a start, your understanding of the event onExtendedOpcode seems to be wrong. onExtendedOpcode is a server-side creature event that fires every time the server receives an extended opcode from the client. What you should be doing is just sending your newly created packet from the...
  2. Shadowsong

    [Tool] OTUI Editor

    This might give people a proper push to start creating more stuff with otclient. Good job, it's a great project to have started! 🙌
  3. Shadowsong

    Guide to scripting with Lua

    Extremely simple and easy to understand, like Lua itself is. This will come in handy as a reference for helping anyone who wants to get into OT development and further using Lua. I'm currently organizing a bit of a boot-camp for new developers on my project, and have been explaining these...
  4. Shadowsong

    Trying to receive a storage value from Tfs > Otclient

    Ahh, it is entirely possible. 😶 Also, I noticed you wrote player:getStorageValue(player, 20020) instead of player:getStorageValue(20020). That's probably a typo or an oversight, just thought I'd point it out.
  5. Shadowsong

    Trying to receive a storage value from Tfs > Otclient

    Well, first, byte 0x37 does not represent that storage value, it represents the number 55 (0x37 = 55 in dec), which is your chosen extended opcode that's in the packet. You still have to add the storage value as a new byte, and that's what that addU8 line does - but addU8 doesn't work for you...
  6. Shadowsong

    Trying to receive a storage value from Tfs > Otclient

    It's because your server does not have an "addU8" method, so it's trying to call a method which doesn't exist. However, "addByte" and "addU8" is the same thing, if you think about it, no? Byte = 8 Bits So you can just use addByte in that case. Keep in mind 8bit can only store values from 0 to...
  7. Shadowsong

    [Germany] [Custom] Necronia ❂ Open-Beta Now

    It was never my intention to give up, but I did have to slow down massively, and we never had a big team to begin with. Thank you for your interest and appreciation 🍺 I remember, some faces are not easily forgotten (ironic, due to your nickname and all...) 😆 I appreciate that notion a lot...
  8. Shadowsong

    TFS 1.X+ addons at login for once

    You can use an array and a loop to make this less painless to edit and look at. As it is, it's only a matter of time before someone gets a headache 😆 Try this: function onLogin(player) local outfitsToUpgrade = { 136, 137, 138, 139, 140, 141, 142, 147, 148, 149, 150, 155, 156, 157...
  9. Shadowsong

    Trying to receive a storage value from Tfs > Otclient

    I see far too many people often asking about this and being confused. Let me attempt to break down the whole process, step by step, while explaining what's going on, and perhaps that will be a good starting point for anyone struggling with opcodes. If anyone more experienced spots a mistake or...
  10. Shadowsong

    [Germany] [Custom] Necronia ❂ Open-Beta Now

    I am currently training some people from the community to become developers because I can't support the project of this size on my own anymore, as we've seen last year. Today someone suggested on our discord that the community could pool a monthly hosting fee to put the server back up meanwhile...
  11. Shadowsong

    Locate Quest Chests in RME?

    Best way to do it I think is to go: Edit - > Find on Map -> Find action and look in the list for all containers with AID 2000 (or whatever is the current default for RME quest containers, I think it's still 2000). Like this: And then you can click on any of them and it will take you there on...
  12. Shadowsong

    JG's Gallery

    These animations are absolutely monstrous. Bravo.
  13. Shadowsong

    $25 reward. Looking for suggestions on a server name

    I don't want to offend, simply be honest - it's my personal opinion that the creator of a world should be the one to name it, and not anyone else. It should be something symbolic to the story or the world, a setting, or a reference to something that encompasses the grand scheme of the...
  14. Shadowsong

    [Caynez] I'm a cool guy, really

    The master returns! 😁 Always a pleasure seeing your work Anevis. That crab looks fantastic. I would love to see a walk animation of it. It was probably cancer to animate it though...
  15. Shadowsong

    Why was the game so successful in Brazil and Poland?

    I don't know about Brazil or Poland, but I can tell you how it was in Bosnia and Herzegovina, where I am from. Watching Tibia leave its footprint here was interesting for me, as I grew up with the game. Tibia oddly grew somewhat popular, but only in a few specific cities. At the rise of gaming...
  16. Shadowsong

    Paperdoll

    That's even better then :D
  17. Shadowsong

    Paperdoll

    Where I would begin with that is probably studying how addons work. Addons are exactly what you need = little pieces covering a base outfit. If you were to have a "head piece", "torso piece", "legs piece", "foot piece" as an addon, and applied all 4 to base naked outfit = your guy now looks...
  18. Shadowsong

    LUA script that display the top level of online players

    It can be a problem depending on the contents of the loop, the amount of people online, and the hardware on the server. I know because I had a bunch of "loop through all online players" scripts that bombed the server's performance. SQL performs better in that regard. But yeah, as I noted in the...
  19. Shadowsong

    LUA script that display the top level of online players

    You could try something like this - but I don't guarantee this code will work, I am pretty shit with MySQL queries 😥 -- Returns the 'cid' of the highest level online player via query. function getHighestLevelOnlinePlayer() local query = db.getResult("SELECT `id` FROM `players` WHERE...
  20. Shadowsong

    LUA script that display the top level of online players

    You could use a function like this to accomplish that, if your server doesn't have too many players: -- Returns the 'cid' of the highest level online player. function getHighestLevelOnlinePlayer() local highest = { level = 0, player = 0 } for _, name in...
Back
Top