• 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.3] Spell cooldown. I am exhausted

    I'm pretty sure that a higher value for cooldown and a lower value for groupcooldown would give the effect you're looking for. Why don't you start with the default xml from TFS 1.3 and change the cooldown to fit your needs? <instant group="attack" spellid="24" name="Hell's Core" words="exevo...
  2. forgee

    Custom client with localhost ip?

    You could create a Duck DNS (https://www.duckdns.org/) domain (it's free) and set the A record to point to 127.0.0.1. (5-7 characters).duckdns.org, For example dreadsh.duckdns.org.
  3. forgee

    Windows OPEN PORTS, PLEASE HELP

    You can't switch back to Telia's router, your computer has to be connected to the old one. Use 127.0.0.1 to connect to the server from your computer or your global ip from anywhere else. If you don't have TV or telephone connected through Telia's router, just unplug it and use your old router...
  4. forgee

    Windows OPEN PORTS, PLEASE HELP

    They end up on separate networks, so to access the Telia router, you need to connect to it first. Pro tip, keep your phone on the Telia router's WiFi and use that if you need to change any settings. Default passwords are usually printed on the label on the bottom of the router.
  5. forgee

    Windows OPEN PORTS, PLEASE HELP

    First off, it's worth noting that setting it up this way, any device connected to the old router will be on a completely different network than the ones connected to the Fast5370. You won't be able to connect across the two networks using local ip addresses. The incoming Ethernet cable should...
  6. forgee

    Windows OPEN PORTS, PLEASE HELP

    I have a "Telia" Sagemcom Fast5370e and port forwarding simply does not work. You can put the router in bridged mode, then you can use the LAN 4 port to connect directly to WAN. I do this with an old router on LAN 4 and let the old router do the port forwarding until I get around to replacing...
  7. forgee

    compile sever in liunx

    I'm sorry but I don't have any experience at all with those old servers. My best guess is that the source is written for an older version of automake but I have no idea which. Looks like you might be missing some XML library, but I just don't know. I hope someone else will be able to help you...
  8. forgee

    Lua [tfs 1.3] account storage table not working as it should?

    It's this line if self:getAccountStorageValue(key) then in Player.setStorageValue. -1 evaluates as "true", so it tries to run UPDATE instead of INSERT even when the value does not exist in the database. Just change it to if self:getAccountStorageValue(key) ~= -1 then and it works like a charm...
  9. forgee

    compile sever in liunx

    You didn't say which Linux, so I'm assuming Debian or Ubuntu. I believe this should get the needed packages: apt-get install automake There may be more you need to install though.
  10. forgee

    Lua [tfs 1.3] account storage table not working as it should?

    player:getAccountStorageValue(30115) is returning -1. Simple maths: 1 - (-1) = 2 1585508211 - (-1) = 1585508212 It should work the way you want if you set the account storage like you do with the player storage.
  11. forgee

    addEvent tfs 1x

    Here is a small example. local function removeNpc(name) local guy = Npc(name) -- Check if we found a valid NPC if guy and guy:isNpc() then -- Bye bye guy:remove() end end -- Create NPC local cipfried = Game.createNpc("Cipfried", Position(100, 100, 7)) -- Remove...
  12. forgee

    Lua tfs 1.2 odd bug

    Good find. I pulled and built latest source yesterday just to be sure but I didn't think to replace config.lua so I didn't have the new variable. I haven't looked closely enough to tell whether that would load monster(type)s earlier, or just additionally load ones that are not spawned...
  13. forgee

    Lua tfs 1.2 odd bug

    I did some more testing, and confirmed that the issue is that the script is executed before monsters are loaded. Both MonsterType(name)and Game.createMonster(...) returns nil. Even just running the check through addEvent() solves it. It is pretty safe to set verifyMonsters to false. If there are...
  14. forgee

    Lua tfs 1.2 odd bug

    I just put the script in data/actions and changed the script for fishing rod (id 2580) in actions.xml. Did you try the script exactly as is, without changing anything? You should get a single warning: Monster fishing::Warning - Invalid monster name: Idontexist
  15. forgee

    Lua tfs 1.2 odd bug

    I tried the script on TFS 1.3 and it works as expected, so it should work on 1.2 as well. You just need to change player:addItem("fish", 1) to player:addItem(2667, 1) at the end of the script, otherwise you get the wrong fish, at least on TFS 1.3. You said it works when you reload actions, so...
  16. forgee

    Problem with events/player.lua EXP Bonus

    Looks like you are probably referencing 'player' instead of 'self' somewhere, but it is hard to say for sure without seeing the whole script and knowing what line 263 looks like.
  17. forgee

    SQL table just disappeared how to replace?

    CREATE TABLE IF NOT EXISTS `tile_store` ( `house_id` int(11) NOT NULL, `data` longblob NOT NULL, FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB; forgottenserver/schema.sql at master · otland/forgottenserver · GitHub
  18. forgee

    WASD Mode on OtClient

    Not init.lua, in the function init in console.lua, and remove quickFunc and the bindKeyUp from the enableChat and disableChat functions.
  19. forgee

    WASD Mode on OtClient

    This worked for me. Add this function: function hotkeyToggleChat() consoleToggleChat:setChecked(not consoleToggleChat:isChecked()) if consoleToggleChat:isChecked() then disableChat() else enableChat() end end Then in init() where the other key bindings are, add this...
  20. forgee

    Help Znote

    I'm going to assume that you are using Windows. In mysql/my.txt (ex. UniserverZ/core/mysql/my.txt) find thread_stack and change it to "thread_stack = 256K". (192K if you are on a 32-bit system, as per the MySQL documentation MySQL :: MySQL 5.7 Reference Manual :: 5.1.5 Server System Variables
Back
Top