• 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

    NPC ship

    This is the xml file, as you can see it points to a script called ship.lua, the logic used by the NPC is inside that file.
  2. gudan garam

    Lua I can't get this script to work TFS 0.4, RME

    [8.60] The Forgotten Server 1.2 That is a good start, I'm pretty sure thats the best TFS 1.2 downgraded to 8.60. Edit: Just to point out: onUse functions in 1.x+ already pass the first argument as the player itself and not his ID so you don't need to instantiate it. You can change it from...
  3. gudan garam

    Lua Simple and Advanced quest help

    Always use the code highlight when posting code: I don't manage maps but as far as I know it works like this: Action Id 2000 for a chest, unique id will be the storage used to keep track of which chests the player has already opened. So if you set two different chests to the unique id 1001...
  4. gudan garam

    First server/map quest - please help!

    Notepad++ is ok, I prefer sublime text but thats just preference, as I upgraded from notepad to notepad++ just as you when I started, from hearing of it here in this forum 7 years ago. Every script you code for the datapack, thoose that are inside the data folder are coded in LUA, a fairly easy...
  5. gudan garam

    First server/map quest - please help!

    The object containing the reward to your quest can be done through an action, you can use already done actions as example, they are inside the data/actions folder. The npc you can easily see how other NPCs were made and will understand how it works with keywords and the phrases it can say randomly.
  6. gudan garam

    Programmer Otclient 7.4 - 7.72 $$$

    Loving the mindset, guys! Keep it up;
  7. gudan garam

    Lua The Time Guardian boss script

    Hmm... You probably could do that by saving the damage map from the previous bosses and handling it on the death of the last one. You'd have to think about it though, there are lua bindings to some things already done, you could create a bind to modify the outcome of the boos death, so that you...
  8. gudan garam

    Lua The Time Guardian boss script

    Best way to do this is to remove the boss and spawn another one (another monster xml), you can save the boss health in a globalstorage when you remove him, and when spawning the next one, set the health to that value. Don't forget to reset this globalstoragevalue when the boss finally dies. If...
  9. gudan garam

    Have question

    8gb ram could run the map for a few players without problem, I'd use it as a test server for invited testers for example. I'd probably say the 16gb ram could support 200~ players with no big problem. There are servers for 74 and 94 euros on OVH with 32 and 64 ram thoose won't have any problems...
  10. gudan garam

    TFS 1.X+ Server Running, but can't enter in game

    The server_path on your gesior config should be to the directory where your config.lua is located, just pointing it out as the path you are using ends in /build. Are the ports 7171 and 7172 open?
  11. gudan garam

    C++ Class has no member named

    int32_t getDamage() const { const ItemType& it = items[getID()]; if (it.condition != NULL && it.condition->getId() == CONDITIONID_COMBAT) { return it.condition->getTotalDamage(); } return 0; } I looked into a...
  12. gudan garam

    C++ Class has no member named

    Its conditionDamage not ConditionDamage. Careful with the letter casing.
  13. gudan garam

    Scripter Scripting service lua, c++ and php - 11.4 (daily reward, analysers)

    Up, back at it with new stuff done (check the original post).
  14. gudan garam

    OTClient Illegal Value

    What version, distro, login.php etc are you using? If I remember correctly I'd get illegal value when the server directory was set wrong in gesior configs.
  15. gudan garam

    Help with a script

    If statements follow an order. You need to change the order to do checks that will prevent the fixed conditions, like being vocation id 4, so you have to check that first. What you are doing right now is basically checking if the player knows the spell and teaching him the spell, before...
  16. gudan garam

    Solved Can't move corpses

    I literally posted the solution. What :o
  17. gudan garam

    TFS 1.X+ Feyrist Worldchange Night/Day

    I'm pretry sure there is a version of this system working on a otxserver datapack, I'll search it and send you it if I find it when i wake up today.
  18. gudan garam

    NPCs referencing SQL database

    local resultId = db.storeQuery("SELECT `adventurer` FROM `znote_accounts` WHERE `id` = " .. getAccountNumberByPlayerName(name)) print(getAccountNumberByPlayerName(name)) if resultId then local status = result.getDataInt(resultId, "adventurer") if status ~= 1 then...
  19. gudan garam

    NPCs referencing SQL database

    The best way to do this in the sources. Load the adventurer status from the database on login and create a getter to use in lua that gets the status from the player, that way you don't need to query the database everytime the player talks to the NPC, you just get it from memory. Querying the...
  20. gudan garam

    TFS 1.X+ Fury Gates

    The script you provided is only creating the portal, setting an action id to it and printing which city it is. Look in your movements.xml and find the script that is used on items with action id from 9710 to 9716 and post that script. What @namco said isn't going to help you, in fact it can be...
Back
Top