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

    Solved [1.3] Spells hitEffect and hitColor

    That's compiling without any problem because you are creating a local variable of type CombatParams and all its attributes have default values. Here you can find what are the defaults: https://github.com/nekiro/forgottenserver/blob/8.6-downgrade/src/combat.h#L57 In the following lines there are...
  2. E

    BAAAAAAATS

    Completely forget that I disabled it long time ago, damn. :D Thanks for remind about that! There is an option to disable holiday styling at account settings -> preferences -> disable holiday styling. but actually i love these hats above avatars xD 1603818159 Or maybe it's not that good.. Hats...
  3. E

    Pokemon Sprites with Blender

    That's impressive and so on but... do you use them somewhere (pics)? Did you try to put them into the game keeping their graphic quality? Maybe prepare an example environment with a minimal set of graphics and present a few characters walking around, that would make more sense imho to present...
  4. E

    Medivia - discussion and announcement of a new world Unity

    Totally agree with @Ochman. It's cool but unfortunately, nothing interesting is presented in the clip. :/ I would like to see some real changes in-game. It actually looks like an old tibia in HD with some new content. It got a stable server, a good od community, and an RPG climate. But imho...
  5. E

    OTLand updated

    The show must go on :D
  6. E

    OTLand updated

    Thread solution is pinned right below first post.
  7. E

    Targetting - Attacking problem

    It looks rather like a problem with json structure instead of a library itself. Could you provide data you add instead of this library? If it is just a typo in JSON structure or some other more/less obvious issue then I think I can help you otherwise dunno. I didn't touch client for a long time.
  8. E

    TFS 0.X spell remove atk mode to everybody who is attacking me

    You can take a look at "masskick" script in sources you use: https://github.com/Fir3element/3777/blob/2a3447b6be9930c45340e9df726a66d686a225a3/data/talkactions/scripts/masskick.lua#L19
  9. E

    TFS 0.X spell remove atk mode to everybody who is attacking me

    Sorry i have changed variable name, but didn't update this line. It should be: lua_pushboolean(L, attackedCreatureChanged); And as I can see I missed the semicolon in this line: Player *player = creature->getPlayer() should be: Player *player = creature->getPlayer(); Unfortunately not...
  10. E

    TFS 0.X spell remove atk mode to everybody who is attacking me

    I think so. Maybe just red square suggesting that you are attacking a specific target (but you are not anymore) remains. try to add sendCancelTarget() to lua method if target is null and creature is player. Like this: int32_t LuaInterface::luaDoCreatureSetTarget(lua_State* L) {...
  11. E

    TFS 1.X+ Crash when player logout or die [tfs 1.3]

    @Seitron Good to hear :) Mark your post with the GitHub link to the commit as a solution to this topic then.
  12. E

    Lua Deathlist damage map

    modify this part: local i = 0 for pid, _ in pairs(damageMap) do i = i + 1 if (i == #damageMap) then str = str.." and " elseif (i ~= 1) then str = str..", " end if isPlayer(pid) then str =...
  13. E

    TFS 1.X+ Crash when player logout or die [tfs 1.3]

    At first glance I am not sure what might be causing the problem, but... It looks strange that Container's destructors are displayed twice in stack trace (I don't understand why it might happen, probably just a compiler artifact - meaningless). 2020-08-26 05:46:27 - #1 0x000055555564fe9c in...
  14. E

    TFS 1.X+ Crash when player logout or die [tfs 1.3]

    It would be easier if you'll provide the source code. The lines described in your gdb log does not match the newest TFS. Have you modified Container's code anyhow? Could you provide TFS version (commit hash) you use or Container class source code? Easiest solution: If it is possible, try to use...
  15. E

    C++ random crash backtrace full

    https://github.com/otland/forgottenserver/issues/2024#issuecomment-471744759
  16. E

    TFS 0.X spell remove atk mode to everybody who is attacking me

    You can use the following function to get all creatures able to see a specific position. getSpectators(centerPos, rangex, rangey[, multifloor = false]) https://github.com/Fir3element/3777/blob/master/src/luascript.cpp#L9593 Then iterate over each of these creatures and check if it is attacking...
  17. E

    How to use math.random with doCreateItem

    https://github.com/otland/forgottenserver/blob/4f5f0fb0837ae3ad814ae00a2ac751164cb4adc1/data/lib/compat/compat.lua#L1262 doCreateItem requires position parameter as well. doCreateItem(itemid, count, pos) Otherwise, it simply returns false.
  18. E

    Lua TFS 1.3 - Lever that requires few specific items on basin

    You can do that easily inside those loops commented as "remove items" & "remove walls": -- remove items for _, itemToRemove in ipairs(requiredItems) do itemToRemove:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) itemToRemove:remove(1) end -- remove walls for _, wallToRemove in...
  19. E

    Lua TFS 1.3 - Lever that requires few specific items on basin

    I cannot see any part of your requirements in this script. There is no code responsible for check whether items are in specified positions, no wall removing and no 1h delay. Unfortunately, being honest, I cannot find any modifications done to the code ;p. You can take a look into scripts like...
  20. E

    Lua TFS 1.3 - Lever that requires few specific items on basin

    According to your first sentence... Please upload your script. It is much better to help someone who puts an effort to find the solution instead of one who came to the forum with an empty request (I know that this is a subforum for requests but you said that you already made some attempts). And...
Back
Top