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

    Lua TFS 1.3 Task System with points

    It kinda works. So it seems that when I put 2 points to carrion worm, it add 3 points. local config = { -- Trolls ['troll'] = {name = 'Troll', amount = 100, points = 1, storage = 19000, startstorage = 5010, startvalue = 1}, ['swamp troll'] = {name = 'Troll', amount = 100, points =...
  2. I

    Lua TFS 1.3 Task System with points

    Hi guys, I would like for this task system to have points, for example: the player chooses to do rotworm tasks, so he needs to kill 100 rotworms, everytime the player kills 1 rotworm, it counts 1 point to the task, everytime the player kills a carrion worm it counts 2 points to the task...
  3. I

    Lua TFS 1.3 Modal window task not working

    Hi guys, I've come across this script here in the forum, install everything right, it shows up the modals windows, the task appear, but when I put "accept", nothing happens, no errors on TFS. Does anyone knows why? data/lib/init.lua TASK_TYPES = { TUKSONSURROUND_TASK = 1...
  4. I

    Compiling TFS 1.3 + Client with more effect than 255

    Should I also change : case COMBAT_PARAM_DISTANCEEFFECT: { params.distanceEffect = static_cast<uint8_t>(value); return true; to: case COMBAT_PARAM_DISTANCEEFFECT: { params.distanceEffect = static_cast<uint16_t>(value); return...
  5. I

    Compiling TFS 1.3 + Client with more effect than 255

    I've opened all the files you listed and replace all unit8_t to unit16_t. When I'm done compiling I'll let you know if I run into any issue, thanks. 1691342344 I followed a video on the youtube teaching how to compile TFS. () I used the TFS version on this Github (GitHub -...
  6. I

    Compiling TFS 1.3 + Client with more effect than 255

    I'm compiling it now, but where is this part? params.impactEffect = static_cast<uint8_t>(value); uint8_t impactEffect = CONST_ME_NONE; enum MagicEffectClasses : uint8_t { void Game::addMagicEffect(const Position& pos, uint8_t effect) void Game::addMagicEffect(const SpectatorVec& spectators...
  7. I

    Compiling TFS 1.3 + Client with more effect than 255

    Hi, I know it's a lot to ask, but does anyone have a compiled TFS 1.3 and a client that can support more than 255 effects to share with the community? I have a custom server and at this server I made 504 different spells sprites, however the client only goes to 255. I'm terrible at compiling...
  8. I

    TFS 1.X+ Item status varying

    Thanks, your way it's much more clean. I will test it out later
  9. I

    TFS 1.X+ Item status varying

    At my server all itens are craftable, so it has a lot of itens being crafted at the same script and they have different atk, so if I wanted to add this to all itens that have atk and the amount would vary between the weapon atk +5 for example, I would have to add like this: local...
  10. I

    TFS 1.X+ Item status varying

    TFS 1.3. This function exist on TFS 1.3?
  11. I

    TFS 1.X+ Item status varying

    Hello guys, hope you are all good. I'm planning on add a feature to my custom server that a weapon can be crafted with a different amount of damage, for example: Player craft dragon hammer and it can have 30 atk, or 31 atk, or 32 atk... With a range of +-5 atk varying. The way I came up to do...
  12. I

    Lua How to make itens break?

    Thank you, it's all working fine.
  13. I

    Lua How to make itens break?

    Nice, the /i now adds the item with charges, perfect. However, I have no idea how to add the same fix to the craft script. data/lib/smith: local recipes = { [1] = {name = "Backpack", options = { [1] = {name = "Leather Backpack", learned = false, learnStorage = 0...
  14. I

    Lua How to make itens break?

    I didn't know about the "<attribute key="showcharges" value="1" />", thanks a lot about this. I'm creating the itens from a craft script I have and also I created with /i from GM and both ways the itens break with 1 hit. My server is a custom server, focus on gettering materials from mining...
  15. I

    Lua How to make itens break?

    I'm with a little problem, can somebody help me? I'm using the script above on this topic but I don't know if the problem is realted to it. It doesn't matter how much charges I put on the item, it breaks as if it has only 1 charge. On items.xml In game: The same happens to weapons: On...
  16. I

    RevScripts Elemental damage problem TFS 1.3

    I can't believe I forget about that line... I had it on, but I erase it when I was making the formula and forgot the put it back. Thanks for the eagle eyes.
  17. I

    RevScripts Elemental damage problem TFS 1.3

    does anyone have any ideia to what I could do?
Back
Top