• 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!

Recent content by Simbaclaws

  1. Simbaclaws

    Lua How to work with "objects" or rather the metatable?

    Oh yeah, I totally forgot about that >.< You' ve told me this before I can remember. EDIT: hmmm I can't seem to find luaPartyCreate... It looks like it's not in there.
  2. Simbaclaws

    Lua How to work with "objects" or rather the metatable?

    So basically what I need to know is what kind of parameters should be input to the objects that get instantiated. For example these following metatables or object definitions exist: Combat Condition Container Creature Group Guild House Item ItemType ModalWindow Monster MonsterType...
  3. Simbaclaws

    [Lua] Lua IDE with Autocomplete

    Thanks so much this is exactly what I needed. I'm currently putting all the primary functions and secondary functions and enums with descriptions and such in a excel document that I'm gonna make public. (and editable to specific people that want to help moderate it) I'm also thinking about...
  4. Simbaclaws

    [Lua] Lua IDE with Autocomplete

    I'm thinking about creating a template myself but I need all the primary functions of tfs 1.x... I can't seem to find them on the forum anywhere. I'm also thinking about adding secondary functions aswell. Those I can still find. Also, I'm trying to setup content assist on LDT eclipse so that it...
  5. Simbaclaws

    Programmer Looking for people that want to help create descriptions for all current lua functions and enums

    The title says it all, What I am looking for is a team or basically a community effort that helps the community by creating descriptions of Primary functions, Secondary functions and Enums. My idea is the following: having a shared excel file hosted on something like google drive where...
  6. Simbaclaws

    Lua local var = Creature(petUid)

    Thanks, should I replace userdata with something else here or would this work? EDIT: I'll try it out. Testing right as we speak :) EDIT 2: the result returns 0
  7. Simbaclaws

    Lua local var = Creature(petUid)

    I suppose you mean the petUid number correct? How can I check what the correct number is :S? Is this defined somewhere for each creature? EDIT: hmmm so the creature itself is offline ^.^? Because that's what the message is telling me from the script. I could post it here if you'd like but it's...
  8. Simbaclaws

    Lua local var = Creature(petUid)

    So you're saying that the monster or *pet* is not in my userdata? Because not only does isCreature return nil but the entire super class of Creature returns nil for the petUid that's being send. So I suppose local pet is a pointer towards that super class meaning it inherits all it's child...
  9. Simbaclaws

    Lua local var = Creature(petUid)

    So basically, I'm using the following code: https://otland.net/threads/tfs-1-2-pet-system.236403/ And I've caught a bear. (I removed the vocation check because it was a deprecated function so it would work) Now that I've caught a bear, as soon as I do !petinfo it will display the text: Your's...
  10. Simbaclaws

    Lua Where exactly is my "logout" script located?

    YES! Thanks a lot :D I'll probably search for newer versions of scripts from the all lua scripts threads aswell from now on. EDIT: Hmmm, seems like it doesn't have all the features I want to have but I'll work with this for a while.
  11. Simbaclaws

    Lua Where exactly is my "logout" script located?

    Yeah sorry, that's actually kinda logical and the same with any programming language out there. You simply change the name of the parameter but the input stays the same. Anyways, seems like I'm already getting my first error for my petConfig script on line 29: attempt to call field 'foreach' (a...
  12. Simbaclaws

    Lua Where exactly is my "logout" script located?

    Thanks, I'll try testing the script out on tfs 1.2, if it doesn't work I'll try to troubleshoot it and try to find out which function calls to use instead and such.
  13. Simbaclaws

    Lua Where exactly is my "logout" script located?

    I found a script I'd like to add to my server for enabling pets. The thread can be found here: https://otland.net/threads/many-my-fully-lua-pet-system-many-features.3432/ now, I am still a total noob so please don't take this the wrong way. The person who made this script basically tells me to...
  14. Simbaclaws

    Lua Script compatibility?

    Thanks, I suppose this was what I was looking for :) One question though, wouldn't it be possible to add more functions from 0.x versions to compat.lua and basically enable backward compatibility for a lot of scripts? It would be quite sweet if we could have backward compatibility for ALL...
  15. Simbaclaws

    Lua Script compatibility?

    Is there perhaps some sort of list that displays which functions have been replaced by which others? What the equivalents are for certain functions? Also I'm very new to tibia scripting. Not so much to lua but still, I think I should just go on and test some things out to see if they work...
Back
Top