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

    Lua Random numbers

    Works fine! Thank you! :rolleyes:
  2. B

    Lua Random numbers

    I would like a loop in which random numbers from 1 to 10 are added so their sum is 100. I have no idea how to take it. Can anyone help?
  3. B

    Lua Stamina 0.4

    Same here. Bugged 0.4 :(
  4. B

    C++ Cast Description

    Works! But 1 problem. How to delete ":" ? @ bump
  5. B

    Lua First Ittems

    I'm using tfs 0.4. I added to my server this mod [MOD] First Items But when i login to server i have a problem: Items lie beneath me. I found a solution. This happens after adding this Feature - Perfect Autostacking Items 100,0% Stack All for 0.4 and 0.3.6pl1 What to do to work both?
  6. B

    C++ Cast Description

    Now: But it works for private msg too :/ @ BUMP @ bump
  7. B

    C++ Cast Description

    Source - TFS-0.4-DEV/protocolgame.cpp at master · laerciosant/TFS-0.4-DEV · GitHub Someone know how do it?
  8. B

    C++ Cast Description

    Error :/
  9. B

    C++ Cast Description

    I'm using tfs 0.4 How can i change this line to not see the nickname? sendCreatureSay(player, SPEAK_PRIVATE, (player->getCastDescription()) ); I mean:
  10. B

    C++ New item attributes

    Original client. I don't understand. Here is my folder. Where paste copied .dat?
  11. B

    C++ New item attributes

    Still the same. :( @ bump @ bump
  12. B

    C++ New item attributes

    Hi! I'm using tfs 0.4 and when i want add: Feature - Durability System Feature - Critical Chance Hit I have a problem.. Compiling is easy but when i start a server and log in my ots is bugged. I can't do anything. What is a problem? Screen:
  13. B

    Lua If players online X

    I solved, my bad, sorry. for i, pid in pairs(getPlayersOnline()) do amount = i end Its work.
  14. B

    Lua If players online X

    Still the same. No message if I add. Thanks for your help! <config name="exp_config"><![CDATA[tabela = { [2] = {x = 2} } amount = 0 ]]></config> <globalevent name="test" interval="1000" event="script"><![CDATA[ domodlib('exp_config') function onThink(interval, lastExecution) for _, pid in...
  15. B

    Lua If players online X

    Why it didn't work? How to do it? :( function onThink(interval, lastExecution) for i, pid in pairs(getPlayersOnline()) do if isPlayer(pid) then ppls = i end end for k, v in pairs(tabela) do if k == ppls then SCRIPT else...
  16. B

    Lua TFS 0.4 Players level

    In the variable x I want to have joined player levels which have storage 1234. Player1 = level 100, storage 1234 = 1 Player2 = level 123, storage 1234 = 1 Player10 = level 20, storage 1234 = 1 variable x = 100+123, ... , + 20 then variable x = 243
  17. B

    Lua TFS 0.4 Players level

    Yes, I know it should be 1. But I mean that all levels of these players add to the new variable. local x = getPlayerLevel(pid) + getPlayerLevel(pid)
  18. B

    Lua TFS 0.4 level beetwen

    I have script: local cfg = {[1] = {level = 1, level2 = 100}} function onSay(cid, words, param, channel) for v, k in pairs(cfg) do if getPlayerLevel(cid) >= k.level and getPlayerLevel(cid) <= k.level2 then SCRIPT end end end Is it possible to do something different than this? I tried: local...
  19. B

    Lua TFS 0.4 Players level

    How to get players level with storage = 1234. How to add these levels to yourself? function onSay(cid, words, param, channel) for _, pid in ipairs(getPlayersOnline()) do if getPlayerStorageValue(pid, 1234) == -1 then doPlayerPopupFYI(cid, getPlayerLevel(pid)) end end end
  20. B

    C++ Crates - Everyone sees different

    And forgot to say that this is tfs 0.4 :x How do it? I mean one person sees efect and others not. Ty for your help!
Back
Top