• 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. gudan garam

    Remove creature and kick player

    local function removeBosst(fromArea1, fromArea2, bossName) for x = fromArea1.x, fromArea2.x do for y = fromArea1.y, fromArea2.y do for z = fromArea1.z, fromArea2.z do if(getTopCreature({x = x, y = y, z = z, stackpos = 255}).uid > 0) then...
  2. gudan garam

    Offline Training Fast Up

    updateSkills = player:addOfflineTrainingTries(SKILL_MAGLEVEL, trainingTime * (vocation:getManaGainAmount() / gainTicks)) Maybe try to multiply that by 0.8 or something like that updateSkills = player:addOfflineTrainingTries(SKILL_MAGLEVEL, (trainingTime * (vocation:getManaGainAmount() /...
  3. gudan garam

    C++ Compiling new added code to my source [tfs 0.3.7]

    1>..\luascript.cpp(4230): warning C4800: 'uint32_t': forcing value to bool 'true' or 'false' (performance warning) This is just a warning, you are converting something uint32_t to bool or something. I think its the if line "if (thingCount > maxAmount)" one is uint32 other is bool maybe. Try...
  4. gudan garam

    Php how to make path into character information. And color

    foreach(getTopPlayers(5) as $player) { echo '<li class="bg6"><a href="' . getPlayerLink($player['name'], false) . '" class="link2">' . truncate($player['name'],8) . '</a>'; echo '<span class="style2"> lvl:</span> <b>' ...
  5. gudan garam

    how does people like wille (kasteria) has a server like that

    That's the beauty of OTs (just in the sense that they are not big companies) and that the dirty work is already done (thanks to Mark and tfs devs, also gesior and znote). Cipsoft is kind of a big company, therefore there may be some slow processes to release a new update. OT admins can...
  6. gudan garam

    Using Docker in OTS

    Just out of curiosity, do you use redis only for the web part, or does your tfs also comunicate with it?
  7. gudan garam

    TFS 1.X+ Optimize RAM

    What are the defaults on thoose values?
  8. gudan garam

    Player Loot Rate

    I specified the getter and setter on player.h to be public, IDK if he did it. I thought that was happening because the getter was private. The value is being loaded at login.
  9. gudan garam

    From 0 To a complete Server using Tibianic DLL Sources.

    Well, I haven't worked on earlier versions such as 7.7x but the simplest way would be to find a tutorial, which I'm pretty sure you will find here on the forum, on how to set up and run a server of that version (the tutorial can be old, as the versions is old aswell, it should be the same way to...
  10. gudan garam

    Player Loot Rate

    if you got it working, i'd recommend making it uint8_t again.
  11. gudan garam

    Player Loot Rate

    Did you make the getSpecialLootRate method public or private? It has to be public.
  12. gudan garam

    Tibia analytics tools, only XP Analyser works

    Those are new bytes added in the 11.49 version, since tfs stopped at 10.98, and OTX didn't implement it, there is no free version out there yet.
  13. gudan garam

    TFS 1.X+ Autoloot crash server

    Can you post the autoloot system code?
  14. gudan garam

    Solved Can't move corpses

    Every monster has different corpses, if you open a monster's xml file, there is an "corpse id" or something like that, that is the first corpse it will generate when it dies, that corpse isn't moveable and has usually a duration of 10 seconds, then it decays to another corpse with the same...
  15. gudan garam

    Lua Bonus to Mounts?

    It is possible, not a small change, though. What you need to know is where and what you need to change/add things. This is the perfect example for you: Feature - Mounts with attackSpeed There you have all you would need, from getting the tag values from the xml to adding the attribute (attack...
  16. gudan garam

    Compiling Anyone that can help me compile this?

    Which errors? It would help if you showed them. Did you follow the instructions properly? (otland/forgottenserver)
  17. gudan garam

    Player Loot Rate

    `special_rate_loot` = , We are not getting anything from player->getSpecialLootRate() I've had that happen before to me where a getter method that should return a uint8_t didn't return anything, IDK how to fix it though. Perhaps try changig the types from specialLootRate to uint16_t and the...
  18. gudan garam

    Player Loot Rate

    ScriptEnviroment* env = getEnv(); if(const Player* player = env->getPlayerByUID(popNumber(L))) lua_pushnumber(L, player->getSpecialLootRate()); else { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); } return 1; This should...
  19. gudan garam

    Player Loot Rate

    You didn't put the methods signature in luascript.h. (the last step on my post)
  20. gudan garam

    Player Loot Rate

    can you post your luascript.h and luascript.cpp code?
Back
Top