• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. gritness

    problem with import config.lua to znote (linux/tfs1.3)

    thanks a lot, now working I have 1 question more. Its possible to display server status (online/offline) in Znote or change header image if server is online/offline ?
  2. gritness

    problem with import config.lua to znote (linux/tfs1.3)

    Hey, when i paste my config lua to text are i got php parse error from nginx. Someone can help me ? Bellow is error : [error] 950#0: *216 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '{' in /var/www/html/serverinfo.php(172) : eval()'d code on line 1" while...
  3. gritness

    TFS 1.X+ how to get cap of all items from table

    Hi Guys, Im looking for code which check free slots from player backpack before take quest reward. I've done capacity checking, code is below, but need to add any code with slots checking local playerCap = player:getFreeCapacity() / 100 local weight = 0 local needed_cap =0 for i = 1...
  4. gritness

    How to setup offline training rate (tfs 1.3)

    Hey All , like in topic, how to setup offline training rate? On my server skill rate is x30. I want to change offline training rate for skill to x6 so 20% of normal value. What parametr can i setup for do this changes? Bellow You can see my offlinetraining.lua : function onLogin(player)...
  5. gritness

    Lua creaturescripts - what type of event should i use?

    Work perfectly thanks :) 1622529251 Thanks a lot, I found list of all events in my src directory and much much more :D Will be usefull in future :)
  6. gritness

    Lua creaturescripts - what type of event should i use?

    Hey I have a simple script made, but like in thema idk what type of event should i use? (event type in creaturescripts.xml) "<event type=" " name="ChcekPlayerLevel" script ="nowe/questlog25update.lua" />" Bellow u can see script which check player level (to 25 lvl) local storage_quest25...
  7. gritness

    TFS 1.X+ how to create a teleport?

    If u want to have any custom teleport You can make a new movements script for example : local tpDest = {x = 1265, y = 1125, z = 7} function onStepIn(creature, item, position, fromPosition) if creature:isPlayer() then creature:teleportTo(tpDest) -- HERE...
  8. gritness

    Lua how to make script which check player level?

    Thanks, that should be enough. You are awesome 1622470829 Got 1 more problem ( I think the last one in this thema ) I did script which work perfectly, but still have problem with run script automatically. Now idk whats type of event and name i have to write in creaturescripts.xml <event...
  9. gritness

    Lua how to make script which check player level?

    Thanks a lot. But i have 1 more question to it. where i have to put this script actions/events? (need to check players level everytime to 25lvl) 1622460104 or easier check player level on level up (but how :D ?)
  10. gritness

    Lua how to make script which check player level?

    When player reach level 25 (its for update questlog for claim reward on 25lvl) TFS 1.3
  11. gritness

    Lua how to make script which check player level?

    Hey, Im looking for functions, which check player level, need to set storage if player gain 25lvl. Someone can help me ? :)
  12. gritness

    push insted of teleport ?

    Thanks ! with true as second parametr it works much better :D
  13. gritness

    push insted of teleport ?

    Hey All, Someone knows how to push player into doors instead of teleportTo ?? exist any function for this? below is part of my code, it works but i want to push player - it looks better if player:getStorageValue(storage_id3) == 2 and item:getUniqueId() == unique_idDOOR3 then...
Back
Top