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

Search results

  1. darkshin

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

    My problem is with this TextEdit box, know by chat and declared at modules/game_console So, usually when you login this box is automatically selected and you can rightaway type and the box will be modified with the words your typed. But mine isn't doing like this, it's not being selected after...
  2. darkshin

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

    @Flatlander , ey Flat... do you know anything about it ?
  3. darkshin

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

    Its a TextEdit, I believe TextEdit id: consoleTextEdit anchors.left: sayModeButton.right anchors.right: parent.right anchors.bottom: parent.bottom margin-right: 6 margin-left: 6 margin-bottom: 6 shift-navigation: true max-length: 255 But at the console.lua...
  4. 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...
  5. darkshin

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

    Fixed! It was a source edit Ive done.
  6. darkshin

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

    It still target south direction always, but atleast it don't show an animation at the character XD. Any ideas?
  7. 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...
  8. darkshin

    Lua MySQL: How to update rightaway?

    I see, so there's no way to do update while player is online. Ill make a check before calling the functions. Thank you!
  9. 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 =...
  10. darkshin

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

    Well Ive edited the sources and fixed it. *At function loadHouses* House* house = nullptr; if((attribute = houseNode.attribute("houseid"))) { house = map.houses.getHouse(pugi::cast<int32_t>(attribute.value())); if(!house) { //break...
  11. darkshin

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

    Ive compiled a new exe, but.. Unfortunally, the problem persists. Thanks for the sources though. @comedinha Do you know anything related to this bug Im receiving?
  12. 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...
  13. darkshin

    Solved looking for a function.

    Dude when you use player:getHouseByPlayerGUID it will probably return a table or the house ID . To teleport there you need a position!! player:teleportTo(position)
  14. darkshin

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

    Thank you! That's why it was returning null at the the second statement XD
  15. darkshin

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

    Hey @Non Sequitur ! It helped me alot with that function. However, I tried to use that code for a new function, but something is going wrong. Could you help me at this last one? lua file: local classItems = { [2376] = {2144, 10} } function onUse(player, item, fromPosition, target...
  16. darkshin

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

    It worked, thank you
  17. 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...
  18. darkshin

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

    Wot wot? haha I am doing something wrong trying to receive a lua table to a function at server sources. Got it ?
  19. 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}...
Back
Top