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

    Clean map when it reaches 0 players online

    Does doBroadcastMessage return a table ?
  2. sailorv5

    c++ how create walkthrough summon ?

    You can add this to player.cpp to make the players able to walkthrough summons. one of them work u must try :) Player* thisPlayer222 = const_cast<Player*>(this); if ( creature->getMaster()->getPlayer() == thisPlayer222->getPlayer() ) { return...
  3. sailorv5

    Clean map when it reaches 0 players online

    cant give a 100% working script since u dont said what distro version blablabla u are using so i m giving general tips function onLogout(player) local i = -1 for _, cid in ipairs(getPlayersOnline()) do i = i +1 end if i < 1 then doCleanMap() //...
  4. sailorv5

    How to make a npc with out life bar ?

    UP --------------------------------- hidden creature hearth bar is possible, a bug or a intent code can make it. https://otland.net/threads/7-72-othire-0-0-1b-based-in-otserv-trunk-latest.212153/ change log ---- - Fixed a bug with players health bar not being shown due to a bad code behavior...
  5. sailorv5

    How to make a npc with out life bar ?

    thanks very much 1000 times : ) for the name i can just set no name or white spaces and it is fine. --------------------------------- if it is client side there is not much i can do, but the link u posted is a diffent issue he want to Show speech bubbles to others creature than NPC also hidden...
  6. sailorv5

    Solved Enable Shared Experience at any time

    this might work, else if it is related to the client ... bool Party::canEnableSharedExperience() { /** if (!canUseSharedExperience(leader)) { return false; } for (Player* member : memberList) { if (!canUseSharedExperience(member)) { return false...
  7. sailorv5

    How to make a npc with out life bar ?

    How to make a npc with out name/lifebar and walkable tought it? if you dont know how to do that, can u at least give me some direction, like u must change Something in some file.
  8. sailorv5

    Lua TFS 0.3.6 Actions freeze rune exhaust target use of item id

    i dont think it can be done with one line but ur script look a lot more of a spell or rune and i m sure it can be remake short and beauty IF you explain what you are trying to do ? it is a bit odd, and hard undestood, exp : * you created an item and want its target to not move ? * you created an...
  9. sailorv5

    Lua Walk trough everything With CTRL + key

    can i give u a better advice ? press CTRL + K chose one hotkey write /a 1 select automatic send press ok then u done isnt better then editing source ? ( sorry if i m wrong, i already saw an ot that i could move using Ctrl + dir key, but no clue how it was made )
  10. sailorv5

    Lua Mana max itens

    during the ice age ( 3 years ago ) i made a special ring that bursted players skills but that code may be deprecated for news version since there is no more mods folder. https://otland.net/threads/mods-special-vip-ring-2xhp-2xsp-2xspd-and-going-on.189272/
  11. sailorv5

    Lua Script Convertion from TFS 0.4 to TFS 1.2

    EDIT Sorry i just reloaded ur answer wasnt there. and how is that ? i posted 1 min before ur, and ur post is still 1ST. ---------------------------------------- function string.explode(inputstr, sep) if sep == nil then sep = "%s" end local t={} ; i=1...
  12. sailorv5

    Lua SPELLS + STORAGE (HELP)

    function onCastSpell(creature, variant, isHotkey) if getPlayerStorageValue(creature, [storage here] ) == [storage value] then return false else return combat:execute(creature, variant) end end
  13. sailorv5

    Lua onDeath set storage value to all who attacked TFS 1.2

    ur download is like all other i downloaded ;'( i cant get it to work or even start it. i said if ur ot support mod, but the file i download are all mixed up, i cant undestand. sorry. ----- EDIT ----- i m just back coding i m really pissed they removed the support for MODS but here, i tryed to...
  14. sailorv5

    Lua onDeath set storage value to all who attacked TFS 1.2

    it is looks like ur ot is missing the fuction getMonster some how it is returning null can u send me a link to download the same version as u are using, so i can check the files to FIND a conresponding function.
  15. sailorv5

    Lua onDeath set storage value to all who attacked TFS 1.2

    give me ur IP ? i ll go there :) not sure if this still work, bc i havent managed to download any working ot server ;'( link are all incomplete or missing a lot of things, If ur ot support mods u can use this one. <?xml version="1.0" encoding="UTF-8"?> <mod name="BossKiller" version="1.0"...
  16. sailorv5

    Lua onDeath set storage value to all who attacked TFS 1.2

    please Remember to NERVER limit your self with only one function to realise ur goals. local bosses = { ['rat'] = {status = 1, storage = 8005 } } function onKill(creature, target) local targetMonster = target:getMonster() local bossConfig = bosses[targetMonster:getName():lower()]...
  17. sailorv5

    Lua castle 24h

    i was about to make the code sad u did it ;) it doesnt change anything but i would return false. function onUse(cid, item, frompos, item2, topos) if getGlobalStorageValue(WAIT_TIME) >= os.time() then doPlayerSendCancel(cid, "Alavanca ja foi usada a pouco tempo, espere ela carregar!")...
  18. sailorv5

    Lua onDeath set storage value to all who attacked TFS 1.2

    here is the code ( not tested ) any help to improve or fix is welcome ! LIKE MOJ SAID YOU NEED TO UN/REGISTER THE EVENT INSIDE LOGIN AND LOGOUT.LUA ( using the event name ) sorry for caps. local bosses = { ['rat'] = {status = 1, storage = 8005}, } function onCombat(cid, target)...
  19. sailorv5

    Solved Blessing book Script ?

    that mens One who has one bless and never dead cant use it. So ur script should be ( just my View i may be wrong ) function onUse(player, item, fromPosition, target, toPosition, isHotkey) for i = 1, 5 do if not player:hasBlessing(i) then player:addBlessing(i)...
  20. sailorv5

    Solved Blessing book Script ?

    REMOVED already anwsered the time i was writing. ;S Printer Just remove the Return true from the for loop :) if he has one of the bless the script will stop. i deleted my script because i saw ur and mine was Too big ;'( here it is <!-- YouBlessScript ( Something) --> <action itemid="XXX"...
Back
Top