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

    C++ [LUA] Need help, info, orientation, runOnHealth flag

    There's a function on player.h (sources) that verifies if the nonster should run: bool isFleeing() const { return !isSummon() && getHealth() <= mType->info.runAwayHealth; } If I were you, I'd create a boolean flag like "forceFlee" on player.h, a setter, modify the content of...
  2. drakylucas

    Linux Need tutorial for Docker

    Hello everyone, I'd like to ask a tutorial for docker (not only related to otserv). I'd like to learn things such as How to create a docker; How to put my files in it; How to start a service automatically Etc... In the case of otserv, it can be like "how to start a docker that I can...
  3. drakylucas

    C++ A question about c ++ programming

    I guess he is asking which is faster: if (uniform_random(1, 10) <= 7) { if(!hasFollowPath) { updateLook = false; } } or if(!hasFollowPath) { if (uniform_random(1, 10) <= 7) { updateLook = false; } } In my personal opinion...
  4. drakylucas

    [Ranger's Arcani] - Custom RPG coming!

    Where is this going to be hosted? I mean, I live in Brazil, I've tried to play the beta past time, but the ping was huge :( unplayable with 400+ ping. Anyway, very good job. Your team deserves success! Good luck!!
  5. drakylucas

    How hard is it to start your own server?

    You may find some interesting content here https://docs.otland.net/ots-guide/ My tips: if you're going to pay a host for your server, try to learn the basic of Linux, otherwise you can run it on your personal windows system at home. I'd also recommend you to use up-to-date engines (a server...
  6. drakylucas

    TalkAction [TFS 1.3] !stamina n -- buy stamina for gold!

    Hello, nice script :) Just a small thing: player:setStamina(player:getStamina() - 1000) The player is losing 16.6h just for not typing the parameter. I believe you should remove it. Best regards
  7. drakylucas

    $25 reward. Looking for suggestions on a server name

    Hu3soft Islugakia Keyhonor Konklav Breath Ascending :)
  8. drakylucas

    Is there people that want free otclient design?

    Pretty good job.. I'm not currently playing tibia/making servers, but it surely will be appreciate by community!
  9. drakylucas

    Lua [onStatsChange] Monster Life Percent

    Yes, global storage is like an identifier for the whole server, but it doesn't have "cid" as parameter, only storage number (and, on set function, the value) (I think)
  10. drakylucas

    Lua [onStatsChange] Monster Life Percent

    Actually it shouldn't be the problem (I think).. What version of TFS are you using? I think there isn't a function called "getGlobalStorageValue" and "setGlobalStorageValue" that takes the creature (Cid) as parameter...
  11. drakylucas

    Drawing a looktype on a creature based on currently equipped headgear.

    I'm without my laptop, but looking on tfs 0.3.6 via github, I think what sends the outfit update to the client is this function inside game.cpp internalCreatureChangeOutfit Maybe, instead of adding a "hat uint16" on addCreatureOutfit, you could find on sources words like "lookLegs" and add...
  12. drakylucas

    Drawing a looktype on a creature based on currently equipped headgear.

    I'm not sure, but shouldn't it be the same as when a player changes outfit? You probably just need to send the same information when player equip/remove items to all spectators. Check how it's done to trigger the outfit change for you and your spectators, and how the ot client handles it, if the...
  13. drakylucas

    [Germany][Custom] Ruthless Chaos Season 4

    Will this server be opened again? Or it stopped being developed? If the second, would you mind to share the code/map of your beautiful world? I really liked playing it on season 4... I'm working and studying now, but I'm on vacation until February at university and it would be very nice to play...
  14. drakylucas

    Healing over time spell tfs 1.2

    You could check "utura" spell.
  15. drakylucas

    Feature Embedded proxy in your server.

    It's about tunneling into a better route (so users far away from the host can have lower latency and play smoothly) made inside the server.
  16. drakylucas

    Using mount in PZ?

    I think TFS 0.4 doesn't even has mount (without changes).. Post your source code, or at least a link to the original one (with mount), so we can check it.
  17. drakylucas

    TFS 1.X+ My source dont have preventDrop attribute

    This script checks if you are wearing amulet of loss and the blesses. You don't need the attribute preventdrop, but if you want to make another item works like amulet of loss, you'll need to edit this script.
  18. drakylucas

    TFS 1.X+ My source dont have preventDrop attribute

    It's now done by Lua. otland/forgottenserver If you want to add other items, you can just modify the first if (that checks if you have an amulet and if this amulet id is the same as AOL) ..
  19. drakylucas

    TFS 1.X+ My source dont have preventDrop attribute

    @Stanos, what @Slavi Dodo is asking is: what does it do? Like, if you die you cannot drop this item if equipped? What happens if it's inside the backpack? You cannot move it to the ground or trade it? Explain what this attribute should do.
  20. drakylucas

    Level for send Private Message

    Below this: player->sendTextMessage(MSG_STATUS_SMALL, "You must be level 50 to send private messages."); you should write "return false;", shouldn't you? :p (I'm not criticizing, just reporting a possibly mistake :p)
Back
Top