• 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!

Recent content by forgee

  1. forgee

    AAC Znote guilds.php small issue

    Try this: <?php if ($highest_access == 2 || $highest_access == 3) { echo '<td>Remove:</td>'; } // Shuffle through visitor characters $exist = false; for ($i = 0; $i < $char_count; $i++) { // Shuffle through invited character, see if they match your character...
  2. forgee

    RevScripts Protection by % based on a storage value.

    Yes, it will trigger once for each creature that is hit by the AOE.
  3. forgee

    RevScripts Protection by % based on a storage value.

    Sarah's script is correct, except on line 9 <= should be >=.
  4. forgee

    RevScripts Throw item or backpack full of items to specified tile and sell it.

    Could do something like this. local sellables = { --[itemid] = price, [2643] = 50, } local SOME_ACTIONID = 6543 local function sellItems(player, item) local itemCount, totalValue = 0, 0 if item:isContainer() then for _, it in ipairs(item:getItems()) do...
  5. forgee

    Lua items block

    Use return RETURNVALUE_NOTPOSSIBLE to block the move.
  6. forgee

    Depot Block (Player Outside)

    As Xikini said return value can only be true or false. Here is my take. local ec = EventCallback ec.onMoveItem = function(self, item, count, fromPosition, toPosition, fromCylinder, toCylinder) local tile = Tile(toPosition) if tile and tile:hasFlag(TILESTATE_DEPOT) and...
  7. forgee

    Lua onLook Script, no errors; only runs the last checks.

    You have the less than and greater than signs turned around. When you mean to check if vocation is greater than 4 you're checking if it's less than 4 and vice versa.
  8. forgee

    Compiling Adding custom icon to OTclient

    Replacing data/images/clienticon.png will change the icon you see in the taskbar while the client is running. To replace the icon of the executable ("icon inside the folder"), you need to replace src/otcicon.ico and recompile.
  9. forgee

    New AAC.. But not made in PHP

    Yes, it is for two-factor authentication. Best of luck. 👍
  10. forgee

    TFS 1.2 Crash

    This does not look like a crash to me but I could be wrong. Normally an interrupt signal (SIGINT) means that you pressed Ctrl+C. How do you start the server? Do you try to back out of gdb while the server is running or let your PC go to sleep with ssh/Putty open?
  11. forgee

    TFS 1.X+ Issues trying to run TFS with gdb on ubuntu 20.04

    Sorry for the late reply. Yes, it loads the core dump into gdb so you can examine the memory at the point of the crash. Loading it while tfs is running might be problematic as it will restore the core dump to memory, so you may not have enough memory to load it while tfs is running. It looks...
  12. forgee

    TFS 1.X+ Issues trying to run TFS with gdb on ubuntu 20.04

    Try this: cd /home/otsmanager/custom gdb build/tfs core If it doesn't work, I would run the executable from the working dir (copy tfs to /home/otsmanager/custom) to keep things simple.
  13. forgee

    TFS 1.X+ Issues trying to run TFS with gdb on ubuntu 20.04

    Did you load the core dump in gdb, gdb tfs core? How exactly are you starting tfs in gdb? The core dump is for /home/otsmanager/custom/build/tfs, so the executable is in the build directory, but I don't think your data and config.lua is there?
  14. forgee

    TFS 1.X+ Issues trying to run TFS with gdb on ubuntu 20.04

    What does the backtrace say? You need to type bt or bt full in gdb after the segfault happens. You should get a core dump that you can inspect if you have closed gdb. I think it's placed in the same folder as the tfs binary, and is named something like core.<pid>. You can use ls -l | grep core...
  15. forgee

    TFS 1.X+ Issues trying to run TFS with gdb on ubuntu 20.04

    The %CPU in top is % of 1 logical core, so 150% means it is using 1,5 cores/threads. You can press Shift + i to switch to showing % of total available CPU instead if you prefer that. It seems kind of high, but I don't have any experience running live servers so I don't know what would be normal...
Back
Top