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

    ZNOTE reload clock (current time)

    Hey Guys, like in topic, how to reload current date adn time on znote website ?? restart php not working, i have 20:57 on server but 21:57 on website with znote php code from footer : <div class="pull-right"> <p><?php echo 'Server date and clock is: '. getClock(false...
  2. gritness

    TFS 1.X+ Problem with check player storage by npc

    Hey Guys, i got a problem with checking storage by npc, always when player send keywords run else option as if player has not required storage. little description about situation: i made quest when player can get access to speciall location (getPlayerStorageValue(cid,allow_to_elementaris) )...
  3. gritness

    Znote problem with permissions

    Hey Guys, bellow You can see part of error log from webserwer, what could have happened ?? 2021/10/24 20:27:01 [error] 99310#0: *50 FastCGI sent in stderr: "PHP message: PHP Warning: session_start(): open(/var/lib/php/session/sess_r8c5q874d52dhahtfoqpufmr3l, O_RDWR) failed: Permission denied...
  4. gritness

    TFS 1.X+ Where Are distance effects?

    Hey Guys ! I added some new ammo to my tfs, shoot types work great, but when i would to assign a script to new bolt i it's not working (is without shoot animation) I should to add new CONST_ANI to distance effects but idk where is it.. "combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT...
  5. gritness

    TFS 1.X+ Solution for PK when player use aoe spell in secure mode

    add in /events/scripts/creature.lua : --SECURE MODE AOE PROTECTION function Creature:eek:nTargetCombat(target) if self:isPlayer() and target:isPlayer() then if self:hasSecureMode()== true then return RETURNVALUE_YOUMAYNOTATTACKTHISPLAYER end end return true end...
  6. gritness

    [TFS 1.X] Secure mode with aoe spells

    Hey guys, Anyone have solution for aoe spells on tfs 1.3 ? I can't attack another players from weapons when secure mode is on, but when somebody use aoe spells (in secure mode) ... PK turns automatically. it's possible to set up secure mode with aoe spells ? Little part of code (creature.lua)...
  7. gritness

    How to set specialskills attributes TFS 1.X

    Hey guys, anyone has idea for set item specialskills attributes ? I'm trying to set it if player use some items on weapon (for example small ruby to get increased critical hit chance) all works with basic attributes but doesn't with special skills :/...
  8. gritness

    else option dont work in my script TFS 1.X

    Hey Guys, I have some problem with my script, else option does not work. "If condition" work well, but when player have not specific item in arrows slot (9742) its dont work Bellow is my script : local storage_id = 10006 local unique_id = 35056 function onUse(player, item, fromPosition...
  9. gritness

    Liczby po przecinku

    Cześć, szybkie pytanko, czy ktoś wie jak ustawić dokładność w tibijce ? (TFS 1.3/Tibia 10.98) Pewnie gdzieś w bazie danych albo w lua ?? W spellbooku wyświetlaja się czary an lvl np : "8.0" Tak samo jak account balance u bankiera pokazuje np : "10000.0"
  10. 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...
  11. 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...
  12. 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)...
  13. 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...
  14. 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 ? :)
  15. 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