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

    How to read through crash report file?

    Hey guys, been a while that I try to read this file, ofc I can understand what function screwed up. But I can't figure out which line, like in the example below: == application crashed app name: OTClient app version: 0.6.3 build compiler: msvc12 build date: Sep 18 2016 build type...
  2. darkshin

    Changing Cursors Images, is it bugged?

    Hey Guys, I m trying to switch the default cursors images, but by adding a new one and setting it's supposed hot spot I get always a black square inside the game. All images are png as needs to be and if I use an apng image it just doesn't show any square at all. After the failures, I've tried...
  3. darkshin

    Compiling Can update a t.dat v1050- to v1050+ with framegroups?

    Hello! I was wondering if there's any way to update a tibia.dat without framegroups to a version with framegroups and keep the content of this dat? Do you guys knows any way to do it?
  4. darkshin

    Strange Error "unable to create item with invalid id"

    Hello Guys! Today I was creating some new items in my items.otb at server side using usual client ids for the new items, I just wanted to add a new function to these new items. Everything was working fine until the item smoke(ground border, works like a carpet) which is the only thing different...
  5. darkshin

    Compiling Visual Basic 2015 (TFS 1.2)

    Hey Guys, I am getting plenty of linkings errors while trying to compile the newest TFS sources with Visual Basic 2015. I've updated all libraries, im using SDK 3.1 and Boost 1_60 and also the lastest pugixml 1.7 (Static Libs Compiled by me with VB 2015). This is how they are linked in the...
  6. darkshin

    ThingType::getRealSize() not working as intended?

    Hello Guys! I am trying to use the function getRealSize() from thingtype.cpp that should return the crop size of a outfit, but its returning me the value Zero. I am doing something wrong within the codes or is it just not working as intended? // ThingTypePtr sprite =...
  7. darkshin

    Lua NPC Issues

    Hello Guys!! I am facing some issues regarding to NPCs. I hope you guys can help me figure out a solution for them. ISSUES: 1. Whenever I add a callback to greeting, the npcs don't focus at the player. local function greetCallback(cid) local player = Player(cid) if...
  8. darkshin

    APNG Problem

    Hey Guys!! I've created some APNGs to use at the client, but they just don't show. Before I do that, I've downloaded a randomly APNG to do the test and it was showing fine. The image size is within the parent size. All the images are pre loading fine aswell. There's a limit of frames or...
  9. darkshin

    Solved Memory Leak ~ 12Gb of Ram Usage

    Hello Guys! Today I've noticed that my server is consuming 12gb of ram. I was wondering why and did a quick search and found that it is related to memory leak in scripts. I wonder what kind of code does that? Do you guys have any examples or any explanation to teach me how to deal with this...
  10. darkshin

    [SOLVED] Game chat text box ins't being selected after login

    Hey guuys! I am having a strange time here trying to find where and why its happening. The box where you write and send messages ins't being selected automatically after you login, you have to click at a chat label or at the box itself to select it and then behaves normally. I believe that this...
  11. darkshin

    [Spell] Spells aren't being casted in the corret direction.

    Hey Guys! As title says, It always calls south, even if it area was declared north. I am using the tag direction="1" at spells.xml. This is the spell file, like a exori min. AREA_FRONT3 = { {1, 1, 1}, {0, 3, 0} } local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE...
  12. darkshin

    Lua MySQL: How to update rightaway?

    Hey Guys!! I have the following function and I am trying to update a character balance at MySql, but it only updates if the characters is online, logs out and then logs in. How can I make it update rightaway via MySql? function setBalanceByGuid(guid, money) local oldBalance =...
  13. darkshin

    Solved [RME BUG] Map Houses aren't being loaded correctly

    Hello Guys! I have created alot of houses and saved, the Rme writed the houses file correctly... but when Ill load the map, it only load like 3-4 of the houses I've created... and If I save, it rewrite the house file with only the ones he loaded this time.. Im using rme 10.76 The wrong...
  14. darkshin

    Lua How to change/set items attributes in TFS 1.2?

    Heey Guys!! I was trying to modify items attributes using the lua function "setAttribute(key, value)" at a random items, just to see how it works, but It doesn't worked out for me. What happened was, the item supposedly got a Unique ID became immovable, the attributes remained the same. This...
  15. darkshin

    Lua Problem to get a Lua Table in LuaScript C++ Function.

    Hello Guys!! I am having a trouble trying to get a Lua table at a C++ Function, in luascript.cpp. Here is the code: Lua file function onUse(player, item, fromPosition, target, toPosition, isHotkey) local recipe = Recipe() local items = { item1 = {2157}, valor1 = {50}...
  16. darkshin

    Lua How to prevent a players death?

    Hello Guys, Ive trying to prevent a players death based on a storage, but I just can't make this work. I use TFS 1.2. When the player dies, the print I've made to check if its being called doesn't even is showed in serv console. How can this work? Here is the script so far: TRY 1: function...
  17. darkshin

    Lua Errors while trying to db.storeQuery. HEELP!

    Hey Guys!! I am in trouble while trying to store a database query. They function variables "guid" and "key" are beign rejected by the function saying: If they are set to numbers: "attempt to call local "guid" <a number value>" If they are set to strings: "attempt to call local "guid" <a string...
  18. darkshin

    Lua How to set a storage to "decay" ?

    Hello guys! I wonder how can I set a time to a storage decay or be erased? Thats it!
  19. darkshin

    [RME] Creature Pallete

    Hello Guys! Just wondering if there's a way to remove the presetted Npcs/Monsters at Creature Pallete in RME, because editing creature.xml don't change it at all. I want to make a clean at mine Thanks in advance!
  20. darkshin

    Lua How to make an in lua defined class and call as parameter of a C++ function

    Hey guys!! I'm having a bad time programming here. So I come here to ask for help! The question is: "How to make an in lua defined class and call as parameter of a C++ function?" Explanation: I have a class in sources like "Creature" and I want to call a function from the sources inside a lua...
Back
Top