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

    TFS 1.X+ Random server and client crashes

    I had a look at this crash today. Big thank you for those error messages, they gave me a good idea of where to start. I don't know why it would only affect the ORTS datapack, but I think I have figured out what happens. How to reliably reproduce the crash/error: Spawn a monster with a God, walk...
  2. forgee

    Lua nil value error in boss raid script

    The error doesn't match the "script". The error says it attempts to call 'setGlobalStorageValue', not 'Game.setStorageValue'. setGlobalStorageValue is a compat function that calls Game.SetStorageValue...
  3. forgee

    AAC PHPMyAdmin error #1064?

    Ubuntu ships MariaDB as a replacement for MySQL. https://mariadb.com/kb/en/authentication-plugin-sha-256/ You can use Native MySQL authentication, or install a plugin supported by MariaDB. For example ed25519: https://mariadb.com/kb/en/authentication-plugin-ed25519/...
  4. forgee

    C++ respawn monster even if u stand on their spawn

    I believe you can remove or comment out these lines. https://github.com/otland/forgottenserver/blob/97f4e489f6c7ebe26e5a4b50ed8ffd469443a19f/src/spawn.cpp#L272-L275
  5. forgee

    Bad Argument #2

    Look at the first line. It's missing GlobalStorage.PitsOfInfernoLevers.
  6. forgee

    Bad Argument #2

    That looks like ORTS. Adding GlobalStorage.PitsOfInfernoLevers in this table should fix it: https://github.com/EPuncker/orts2/blob/main/data/globalevents/scripts/startup.lua#L1 local startupGlobalStorages = {GlobalStorage.TheAncientTombs.AshmunrahSwitchesGlobalStorage...
  7. forgee

    Database problem (ZNOTEACC) (TFS 1.3)

    Is there a reason you can't use the default port? Make sure that $config['sqlPort'] is an int (number) and not a string. $config['sqlPort'] = 3306 # Good $config['sqlPort'] = '3306' # Bad Did you add the port at the correct place in the constructor? $connect = new mysqli($config['sqlHost']...
  8. forgee

    Lua Consult experience left to level up using a Talkaction

    It is the same in TFS 1.3. https://github.com/otland/forgottenserver/blob/7d32e5e4cba80b89187ae678b28d703420e35511/data/global.lua#L169 For 1.3 it would be something like this. local talk = TalkAction("!tolvl") function talk.onSay(player, words, param) local nextLevel = player:getLevel() +...
  9. forgee

    TFS 1.X+ gdb error crash

    I'm pretty sure that crash is fixed by this commit. https://github.com/otland/forgottenserver/commit/b18cf9ff8da9b83b1ca3e99ea5d4b83496d59227
  10. forgee

    Lua how remove items from corpse monster

    If you don't want the items to drop on the ground, you can pass the canDropOnMap argument to player:addItem() like this: -- player:addItem(itemId[, count = 1[, canDropOnMap = true[, subType = 1[, slot = CONST_SLOT_WHEREEVER]]]]) local moveItem = player:addItem(lootList[i].item_id, itemCount...
  11. forgee

    TFS 1.X+ Random server and client crashes

    Venore looks normal here as well and I have not experienced any crashes and get no errors in OTC. I managed to crash the server by running out of ram but that is pretty much to be expected. Backtrace suggests it was related to scheduler so it could also be fixed with ranisalt's PR.
  12. forgee

    Lua how remove items from corpse monster

    After adding the item to the player, just do containerItem:remove().
  13. forgee

    Spigu Hosting - Compile TFS 1.3 Ubuntu

    The executable is in the build folder, it's at the bottom on the last screenshot. The file called tfs, Linux doesn't use .exe. Just copy tfs to the forgottenserver folder where config.lua is. From build you can do cp tfs ../tfs
  14. forgee

    Spigu Hosting - Compile TFS 1.3 Ubuntu

    Looks like you might have typed cmake . . (with a space in between the dots) and not cmake .. (two dots).
  15. forgee

    How to up my site to cPanel?

    As far as I can tell you need to upload your files through FTP to /public_html. GoDaddy only wants to show me the translated version of their site so I can only hope that the link redirects you to the appropriate site if you're not from Sweden. Otherwise you can go to godaddy.com/help, pick...
  16. forgee

    Send a message if an effect appears on the screen.

    I made a typo apparently, put a '=' after sounds on line 1. local sounds = {
  17. forgee

    Send a message if an effect appears on the screen.

    Create folder mods/game_magic_sound. Create file game_magic_sound.otmod: Module name: game_magic_sound description: Add sound to magic effects author: forgee website: https://github.com/edubart/otclient scripts: [magic] sandboxed: true autoload: true @onLoad: init()...
  18. forgee

    Send a message if an effect appears on the screen.

    I couldn't find the constants for the magic effects in otclient. The 3 is the same as CONST_ME_POFF in TFS 1.3, the effect id, the string is the name of the audio file to play. It does not matter what the file is named, you just need to put the name of the file in the table. If you put your...
  19. forgee

    Send a message if an effect appears on the screen.

    It's not a collective effect as in every magic effect is sent to every player, only players in view gets the magic effect. It's just that when you have several people in the same area, they can all see the magic effect, hence each of them says "Fire". Imagine hunting demons with players saying...
Back
Top