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

    C++ Host own item images?

    Line 955 in config.php $config['shop'] = array( 'enabled' => true, 'loginToView' => true, // Do user need to login to see the shop offers? 'enableShopConfirmation' => true, // Verify that user wants to buy with popup 'useDB' => false, // Fetch offers from...
  2. P

    TFS 1.X+ Creaturescripts login/logout error logs

    Remove everything regarding nextUseStamina in these files. data/creaturescrips/scripts/login.lua data/creaturescrips/scripts/logout.lua should be like this: login.lua function onLogin(player) local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!" if...
  3. P

    TFS 1.X+ Pick for mining system

    At line 37 you have target:remove() but function miningCycle(playerID, toPosition) doesnt have target and there is no local variable inside the function that tells it what target is. Add below line 28: local target = Tile(toPosition):getItems()[1] (Not tested)
  4. P

    TFS 1.X+ Check time storage

    You want to check the duration left? This will give you seconds left until it ends: (player:getStorageValue(98546) - os.time()) Can you solve the rest yourself?
  5. P

    MoveEvent TFS 1.3 Waypoints

    Tag is MoveEvent because thats the mainpart of this function Activate waypoint by stepping on SQM with ActionID. Opens waypoint window when stepping on activated waypoint Can config that you require other storagevalues before you can activate, example needs to complete a quest before you can...
  6. P

    Action TFS 1.3 Tame Mount - Like RL

    tame_mount.lua local tameConfig = { [5907] = { tameMonster = "Bear", --Needs to be all lowercase mountId = 3, chances = { [1] = {name = "sucess", chance = 20, sendText = "You have successfully tamed a bear!!"}, --20% [2] = {name = "runAway"...
  7. P

    Lever teleport on use

    Change TALKTYPE to whatever suits you @grekftw local item_required = 1111 local item_count = 1 local destination = Position(1000,1000,7) function onUse(cid, item, fromPosition, itemEx, toPosition) -- check if lever is currently used if item.itemid == 1946 then player:say("Wait...
  8. P

    Linux Problem with ubuntu

    I would assume some library isn’t installed correctly or not at all. I would start over from start
  9. P

    Hoster I am looking for a person that is trusted in the OT world. [host]

    Don’s guide assumes that you know the basics of Ubuntu which might not be the case here. If you need help set things up, PM me and I’ll help you for free. Only thing I require is for you to use discord, I’ll send you my name on discord after you PM me. Why discord? Easier to communicate that way.
  10. P

    Linux Problem with ubuntu

    Did you compile it yourself? otland/forgottenserver (https://github.com/otland/forgottenserver/wiki/Compiling-on-Ubuntu)
  11. P

    Summon,Monsters

    What distro are you using?
  12. P

    [TFS 1.3] Exeta res lua spell error

    Post the code for exeta res And this should be posted over at support
  13. P

    SAS HDD or SSD disk while hosting a game server?

    The discussion isn’t about what people will, can and want to do. But I do agree, SSD is for 99.99% case-scenario the way to go, and what I would recommend to every normal person. You can load DBs to memory with GIS-data, which causes very heavy load. So I know this wouldn’t be a problem for TFS...
  14. P

    SAS HDD or SSD disk while hosting a game server?

    You can update the cache on logout and only on specific times, when you have downtime anyway for example at serversave you push to disc. Sure if a crash happens data is lost, but some information can continuously be pushed to disc to keep core data. But in the discussion of SSD or HDD it is...
  15. P

    peak and stone

    Assuming you transform the stone to the rubble after being picked, add this: addEvent(function() itemEx:transform(itemID of stone) end, 5000) set 5000 to time it should take for the stone to re-appear. 1000 = 1sec
  16. P

    SAS HDD or SSD disk while hosting a game server?

    ofcourse it’s written to disc at some point. This is usually 1. If Db size increase higher than available memory, it needs to dump to actual disc and load new stuff as needed. 2. When server save. will make server save/start up slower but you get memoryspeed on read/write, which is faster than...
  17. P

    SAS HDD or SSD disk while hosting a game server?

    why you cache in memory. Memory is faster than SSD and memory doesn’t care if the db is stored on SSD or HDD in the background. If db queries is slow on hdd there is something wrong with 1. The query 2. Indexes. HDD is fully functional for OT use
  18. P

    SAS HDD or SSD disk while hosting a game server?

    There is literally 1000 factors to take into account if SSD or HDD would be preferred. So to just say one or the other is hard to do based on nothing price, database size, available memory etc. Usually database read/write are done at startup, login/logout, and most can be stored in memory(why...
  19. P

    onAreaCombat events.xml

    Check ./scripts/creature.lua and you will see what the function Creature.onAreaCombat does. Default in TFS1.3 it looks like this function Creature:onAreaCombat(tile, isAggressive) return RETURNVALUE_NOERROR end But you can basically execute code when creature does onAreaCombat
  20. P

    skills id

    To get skill 10 -> 11 it takes 100hits by default Multiplier 1.5 and 10 -> 11 will take 150hits (100*1.5)
Back
Top