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

    TFS 1.X+ How can I prevent magic/skill from being lost upon death Tfs 1.2

    Try and put the double deathLossPercent = getLostPercent(); above the new if statement if (!preventMagicLoss) The compiler error is stating that the variable 'deathLossPercent' is out of scope because it is wrapped inside the if ()
  2. trustjah

    TFS 1.X+ How can I prevent magic/skill from being lost upon death Tfs 1.2

    Wrap it in an if so you can use a bool to set it true or false? or delete the code entirely? bool preventMagicLoss = true; if (!preventMagicLoss) { //Magic level loss uint64_t sumMana = 0; uint64_t lostMana = 0; //sum up all the mana for (uint32_t i = 1; i <= magLevel...
  3. trustjah

    Solved PHP - White space

    Thanks @slaw completely missed that one.
  4. trustjah

    Solved PHP - White space

    Hello Otlanders, Anyone that could correct the enormous amount of white space generated by my php code? <?PHP $main_content .= '<center><h1>Player Killing Event Winners</h1><h3>The PK event will be hosted every 3 hours.</h3></center><br> <center> <img...
  5. trustjah

    Solved Syntax error SQL

    Hey guys, Anyone that can give me quick pointer on what i am doing wrong here? I've been trying to get the correct syntax here but i'm out of idea's. db.query("INSERT INTO `players_online` (`player_id`) VALUES ".. id .."") [Error - mysql_real_query] Query: INSERT INTO `players_online`...
  6. trustjah

    Solved Drop Loot (player) stopped working

    One of my actions scripts was in conflict with this droploot script! always save backups. 1616429539 @Xikini Exactly. I've been migrating some stuff and this one was actually preventing the droploot script from working dofile('data/modules/scripts/blessings/blessings.lua') function...
  7. trustjah

    Compiling Compiling Issue MSVCR120D.dll

    boost_1_60_0-msvc-14.0
  8. trustjah

    Compiling Compiling Issue MSVCR120D.dll

    Try one with MSVCR140
  9. trustjah

    Compiling Compiling Issue MSVCR120D.dll

    Use another version of boost.
  10. trustjah

    Solved Drop Loot (player) stopped working

    Hello Otlanders, TFS1.2 So for the last 2 weeks i've been changing and adding things to my datapack and now all of a sudden my droploot script is throwing me an error. It worked before. I'm quite clueless on what's causing this. function onDeath(player, corpse, killer, mostDamage...
  11. trustjah

    Bug Magic Level Rate

    Pretty sure there might be lurking another one of these somewhere around in one of your files.
  12. trustjah

    Compiling The Ruby Server

    Check your src folder, is the file database.h there?
  13. trustjah

    Compiling The Ruby Server

    Switch boost versions.
  14. trustjah

    7.4-7.6 can't be found

    https://github.com/TwistedScorpio/OTHire
  15. trustjah

    Compiling The Ruby Server

    You still need to point VS to your SDK path. Here is the file; https://static.otland.net/dl/tfs-sdk-3.2.zip Here is another great link for you to read through! Compiling TFS
  16. trustjah

    TFS 1.X+ How to github? Watch fix?

    https://github.com/otland/forgottenserver/commit/2b8bc10f10121569cec492b5be267a1da9317d31
  17. trustjah

    Compiling The Ruby Server

    Add the path to your boost directory in the first field.
  18. trustjah

    TFS 1.X+ Console error in function '__add' (index a number)

    Thanks for noticing @Infernum, i also saw it before you posted, anyway. I was trying to merge scripts, failed. When i turn off tar.lua, ice.lua works as intended. any idea's? 1615673359 My working solution is not to use the same function names in both scripts. Changed to in ice.lua ~ and...
  19. trustjah

    TFS 1.X+ Console error in function '__add' (index a number)

    function sendConditionCults(playerid, _type, fromPos, toPos, tempo) local player = Player(playerid) if not player or not player:getPosition():isInRange(fromPos, toPos) then return false end local inf = configQuest[_type] print(tempo) tempo = tempo + 2 if tempo...
  20. trustjah

    TFS 1.X+ Console error in function '__add' (index a number)

    print(tempo) ? print(passagemPiso1Piso2) ? don't really know what i am doing here. thanks for responding.
Back
Top