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

    Making otclient more smooth??

    Hello, as we know tfs is now developed for otclient instead of regular client. I really want to use otclient in my server butt! there are still big issues that otclient has before it feels as good as normal client. For example the walking looks much worse in otclient than it does in regular...
  2. Y

    how to clean 1 speficiic item on map?

    hello i do want a /clean command that removes all items with action id 5555 and item id 5000 on the MAP. How Do I go about Adding this? Using TFS 1.2!!!!!!
  3. Y

    Lua primaryDamage * 2 doesn't work correctly with attacks?

    function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) primaryDamage = primaryDamage * 10 return primaryDamage, primaryType, secondaryDamage, secondaryType end I have this code, whenever I attack with a spell or a wand the damage...
  4. Y

    How update critical hit chance in skilll windows TFS 1.3 ?

    Ok,. I have aded custom crytical system to my server. Now my only question is, how can I update the "critical hit chance" in skillwindow? What function I need to use? networkMessage:addByte(number) Is it this? And how I USE HIM ? :eek:
  5. Y

    Taking a screenshot function? OTCLIENT!

    Hello. I was trying to make otclient automatically take screenshots when you level up, I managed to do everything and tested it, right now I just made it type "Level up" in default chat when the character levels up since there doesn't seem to be a function to take a screenshot of the whole...
  6. Y

    How to remove condition?

    Hello. I was wondering how to remove a condition like this one? local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local condition = Condition(CONDITION_ATTRIBUTES)...
  7. Y

    C++ Adjusting sources so that creatures don't add pz lock to players?

    Hello I was looking into the sources and trying to figure out how to make so that if a player has killed or attacked a player, he can still lose skull and pz lock even if there's creatures attackiing him, but still if a player attacks him his pz lock will stay.
  8. Y

    C++ Cast spell function for TFS 1.2?

    Hello, I was wondering how I could add a function like doPlayerCastSpell(cid, "exevo gran mas vis") for the current tfs version. I did find a old version for this but it did not work to implement into the current tfs version of tfs. Lua Function - doPlayerCastSpell(cid, spell) It's located...
  9. Y

    C++ I want to make TEXTCOLOR_WHITE_EXP into a random number, How do I achieve this?

    This is in const.h in the forgottenserver 1.2. enum TextColor_t : uint8_t { TEXTCOLOR_BLUE = 5, TEXTCOLOR_LIGHTGREEN = 30, TEXTCOLOR_LIGHTBLUE = 35, TEXTCOLOR_MAYABLUE = 95, TEXTCOLOR_DARKRED = 108, TEXTCOLOR_LIGHTGREY = 129, TEXTCOLOR_SKYBLUE = 143...
  10. Y

    C++ Removing exhaust on certian items only

    Hello, right now in my server using TFS 1.2 the exhaustion works like this: whenever you use an item it triggers the exhaust "timeBetweenExActions = 1000" in config.lua, so I want to fix that certain items do not trigger this exhaust at all. This means that I cannot use runes and potions at...
Back
Top