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

Recent content by drac0ner2

  1. D

    OpenTibia SharpMapTracker 0.8.1 by Jo3Bingham

    SharpMapTracker v0.8.27 update by drac0ner Changelog Added support for Tibia 10.98 Download SharpMapTracker v0.8.27 Notes I quickly made an update for 10.98 support. Tested for only 1 minute, so it might not be stable. As always you have to supply items.xml, items.otb, and Tibia.dat yourself...
  2. D

    OpenTibia SharpMapTracker 0.8.1 by Jo3Bingham

    I've not tried this with tibiacast. The update is supposed to make it work on official cipsoft servers (when you play).
  3. D

    OpenTibia SharpMapTracker 0.8.1 by Jo3Bingham

    SharpMapTracker v0.8.26 update by drac0ner Changelog Added support for Tibia 10.97 Removed visibility of the disabled OT option. Download SharpMapTracker v0.8.26 Notes I quickly made an update for 10.97 support. Tested for only 1 minute, so it might not be stable. As always you have to supply...
  4. D

    Lua [GOT] Help me to make 2 things

    onLook should be replace to something like this: function onLook(cid, thing, position, lookDistance) if (thing.actionid == 3391) then local guildName = getGuildName(getGlobalStorageValue(guilds[2391] + DEFAULT_STORAGE)) if guildName then doItemSetAttribute(thing.uid...
  5. D

    Lua [GOT] Help me to make 2 things

    For 1. I can't say I like the implementation, but to keep it simple and in the same fashion as onStepIn Replace function onTarget(cid, target) local function getGuildOnlineMembers(guildId) for _, cid in pairs(getPlayersOnline()) do if getPlayerGuildId(cid) == guildId and...
  6. D

    Lua [GOT] Help me to make 2 things

    I overlooked the fact that cityMonsters are used other places as a means of checking if you killed a chanceler. I've edited my post. Edit: The numbers in the "guardMonsters" table don't really matter. You can do local guardMonsters = { ["Guard Rook"] = 1, ["Guard"] = 1, } If you want.
  7. D

    Lua [GOT] Help me to make 2 things

    I'm not sure if you want the exact same behaviour on guards as on chandelers (can't attack if you own a throne), but if so then you can replace the onTarget function with this: local guardMonsters = { ["Guard Rook Carlin"] = 1, ["Guard Carlin"] = 1, ["Guard Venore"] = 2, ["Guard Rook...
  8. D

    Lua [GOT] Help me to make 2 things

    For number 1: I'm guessing you haven't removed: print(query:getDataString("name")) from /lib/GOTlib.lua (in the function getGuildName, should be around line 33) And for number 2: In expbonus_got.lua.. I assume the onTarget function now looks something like this: function onTarget(cid...
  9. D

    OpenTibia SharpMapTracker 0.8.1 by Jo3Bingham

    I probably shouldn't have resized the window, but it didn't show properly on my surface pro screen. It isn't meant to be enabled. I respect the decision of @Jo3Bingham to keep it disabled. I guess I should fix the window to not show the option again as it can only be confusing.
  10. D

    Lua [GOT] Help me to make 2 things

    It looks like your engine doesn't have the doSetItemSpecialDescription function. By looking at the sources in the link you provided I was able to find this function: doItemSetAttribute(uid, key, value) Thus you can try to replace: doSetItemSpecialDescription(thing.uid, "Carlin throne dominated...
  11. D

    Lua [GOT] Help me to make 2 things

    Yeah, forgive me, for some reason I thought the guilds table was in lib. Anyway you could move it there (would recommend changing the name to something more specific then), or you could copy it to placas. That is copy: local guilds = { --[actionid] = número da cidade configurado em...
  12. D

    Lua [GOT] Help me to make 2 things

    Obviously you get the same error (just on a line below) because you are trying to call it anyway with: print(query:getDataString("name")) I'd like to see you change that to something like print("[getGuildName] guild_id: ".. guild_id) And then post what it outputs. I suspect that the number it...
  13. D

    Lua [GOT] Help me to make 2 things

    Have you tried modifying getGuildName or OnLook to print out the value of guild_id or getGlobalStorageValue(2391 + DEFAULT_STORAGE)? I suspect you don't use a valid guild_id. Also the following won't solve your problem, but at least fix some logic: local ret = query:getID() == -1 and false or...
  14. D

    OpenTibia SharpMapTracker 0.8.1 by Jo3Bingham

    SharpMapTracker v0.8.25 update by drac0ner Changelog Added support for Tibia 10.95 Download SharpMapTracker v0.8.25 Notes I quickly made an update for 10.95 support. Tested for only 1 minute, so it might not be stable. As always you have to supply items.xml, items.otb, and Tibia.dat yourself...
  15. D

    Windows Edit link in client buttons

    I'm pretty sure it represents in which part of the program you clicked it. That is, if you click the same link in the options menu you get a 1 appended to the end instead of 0. It wouldn't be trivial to change that behaviour, so you can add something like a hashtag (#) at the end of the link or...
Back
Top