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

    TFS 1.X+ TFS 1.3 setup

    https://github.com/nekiro/TFS-1.5-Downgrades/tree/8.60 Use this
  2. dchampag

    TFS 1.6 not reading dotenv

    Create a new user in database specifically for your server, It also appears that the server itself is trying to use the username forgottenserver not root. Be sure that that is the file being used for the connection.
  3. dchampag

    Lua change this script

    Remove the - in front of value. Are you trying at all to attempt these repairs yourself? That’s simple math, - means subtract. My mistake for leaving it there when I sent it but that’s a really simple one. Please at least make attempts or I’ll just stop helping.
  4. dchampag

    Lua change this script

    Wrap it in if statement If(getCreatureStorage(attacker, lvlcrit)) then
  5. dchampag

    Lua change this script

    try to switch getPlayerStorageValue with getCreatureStorage, for some reason it's returning false instead of -1, we may need to modify your lib.
  6. dchampag

    Lua change this script

    In the error critical:9 means line 9, this appears to be getPlayerStorageValue(attacker, lvlcrit) This implies that the player using this does not have a storage value for storage key 48913, you should add a check before this. But for now we can try the following //change...
  7. dchampag

    Lua change this script

    Can you copy the error? What server and version of the server are you using? Does this work without doCreatureAddHealth function? Also, this was an example of what to use, the way that you calculate your values should be based on how much health you want the player to gain when leaching life.
  8. dchampag

    OTClientV8 Updater issues JSON

    I stopped work on this to work on other things at the moment, so unfortunately I haven’t created a solution for this yet. But I will let you know if that changes. Maybe someone will have one before I get back to it.
  9. dchampag

    Lua change this script

    What didn't work? Show your code that you attempted so that we can guide you... If you're not looking to learn and you're just looking to have people create code for you, put it in the requests section and offer to pay people. Someone will gladly do it for money.
  10. dchampag

    Lua change this script

    Use something like this in onStatsChange code doCreatureAddHealth(attacker, -value)
  11. dchampag

    7.4/7.6 maps, Borders are red and bugged, smn already had this error?

    What does the 8.0 map look like? I do not believe that style border that is in 7.6 exists anymore and that could be the issue for the transition.
  12. dchampag

    Monsters attack each other

    The transition from 0.3.6 to 0.4 is very minimal, is there a reason for your not switching? Also onstatschange should be working in 0.3.6, did you attempt to use this before asking?
  13. dchampag

    Missing SQL file

    Yes, I agree, you will definitely want to go with @czouski's solution. This will grant you much better support and much more expansion capability, as well as the ability to upgrade versions with very little migration criteria should you decide to do so.
  14. dchampag

    Lua change this script

    Please use the code button to add code to your posts, it makes it very difficult for us to read the code and be helpful to you when it looks this messy, do the extra step so that we don't have to if you're requesting help please.
  15. dchampag

    TFS 1.X+ Shared Exp taking into account distance and professions

    What he is asking is, if there is a way to use the areInRange function available from CPP in lua, as well as monsterPosition that is already working in CPP in the .lua how would we go about adding that if it's not already accessible? example of what we need to work below. the Position function...
  16. dchampag

    Lua lifesteal

    Beautiful, I wasn't sure if 0.3.6 had the same as 0.4 or not. But yeah, registering event to each and every monster is very tedious work and makes migration more difficult in the future, but this will certainly work! This is a perfect workaround!
  17. dchampag

    C++ Party shared experience issue

    Yes, you are correct, that belongs in party.cpp, my bad! 1732372780 Make sure you follow the code that was added to all of the scripts if you're also changing source code, this source code change is only to make party give exp within distance of monster killed, it does not perform calculations...
  18. dchampag

    Compiling Request TFS 1.4 Downgrade 8.6 compile

    So I've successfully compiled this without any issues, but for some reason i cannot connect to the server, the connection is refused and I can't find the code refusing so that I can debug the issue by adding print messages to console in each stage to see where the break is. Has anyone else had...
  19. dchampag

    Lua lifesteal

    This code is only for creatures with a registered event, you can add this code to monsters individually, or you can use onCombat, if 0.3.6 has onCombat.
  20. dchampag

    C++ Party shared experience issue

    I have a feeling it might be in the return at the bottom of the lua script. It’s definitely weird, what we will do is add some code that prints to the console window each stage as it happens. 1732333268 Okay, I've installed 10.98 and this code, I've added all of these configs exactly as we have...
Back
Top