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

    What "killed" RL Tibia for YOU?

    For me, the biggest thing that destroyed Tibia was Offline Training, I was a fan of skilling, in fact that was what I mostly did in the early days. I enjoyed it, and not afk training.. In those times, I was a paladin, spears fell to the ground and my cap wasn't high (as that character went to...
  2. Ramirow

    Tibia 7.1 Brainstorming thread

    Played a Paladin in those times, roughly to level 30 which took me months. It's not much, but I can guarantee you, spears did have 30atk and 20oz weight, xbow weight is accurate as well. I don't remember the other items.. Other things that come to mind are: Light Healing (exura) needed 25 mana...
  3. Ramirow

    Lua How to make a new currency

    It says the var "amount" has a nil value, it's because the function is actually "addEventPoints(storage, amount)". You need to pass an storage to the function before the amount parameter Like this: function onSay(player, words, param) local split = param:split(",") local target =...
  4. Ramirow

    Lua How to make a new currency

    Balance? You mean so that the npc will tell the player how many points they have right? You can do something like this I guess: local player = Player(cid) local myEvent = 1650 if msgcontains(msg, 'balance') then npcHandler:say('You have ' .. player:getEventPoints(myEvent) .. ' event...
  5. Ramirow

    Lua How to make a new currency

    I'm just gonna give you something quick I wrote, it doesn't include the npc or the talkaction, but will get you going on the right track. Paste this on player.lua function Player:getEventPoints(eventStorage) return self:getStorageValue(eventStorage) end function...
  6. Ramirow

    Feature [TFS 1.3] Adding New Skills

    Sorry it took me so long to reply, been really busy this year and I totally forgot about the forum until now. @rickgv and @grayn i'm so happy to hear that! I didn't think many people would even use this, feels amazing that you find it useful or fun to play around with n_n @Morineau Never tested...
  7. Ramirow

    Feature [TFS 1.3] Adding New Skills

    How is it not working? Got any errors?
  8. Ramirow

    Feature [TFS 1.3] Adding New Skills

    That bit you quoted doesn't require you to compile (it's an sql query to run on your existing database), needless to say, all the modifications ranging from tools.cpp to vocation.cpp require you to compile the server again
  9. Ramirow

    How to play OTs offline

    You can just download a server, a datapack (or build one) and open up the server (In your config.lua set your ip to 127.0.0.1). Login using that ip or localhost could work too. Ofc, you will need an AAC and uniform server too (for the website, acc creation, etc) even if you won't have it online.
  10. Ramirow

    Effect on the area

    You can use this: doSendMagicEffect(topos, CONST_ME_MAGIC_BLUE) That will send a blue sparkle to the position of the bush.
  11. Ramirow

    Healing proportional to missing HP

    Maybe try this? isPlayer(cid) local healthmax = getCreatureMaxHealth(cid) healing = math.floor((getCreatureHealth(cid) / healthmax) * 100) print(healthmax) print(healing) It should print on console when you cast it, the value it retrieved about the max health of the player plus the healing...
  12. Ramirow

    Action Herblore / Mining Skill [TFS 1.1]

    You can use something similar to this one I had when I tested commands: local function roundFunct(num, numDecimalPlaces) local mult = 10^(numDecimalPlaces or 0) return math.floor(num * mult + 0.5) / mult end function onSay(player, words, param) local skill = player:getStorageValue(15012)...
  13. Ramirow

    Feature [TFS 1.3] Adding New Skills

    Sorry for the delayed answer, been kinda busy these weeks. A) In order to add skill tries for a skill you use, for example in fishing: player:addSkillTries(SKILL_FISHING, 1) This adds 1 try or "exp" for the skill progress itself, it doesn't add a flat %. Replace SKILL_FISHING for any other...
  14. Ramirow

    User you miss from Otland

    I guess this will sound controversial, I know many people hated him but I learned a lot from him and his work.. I'm talking about CodexNG. Never really reed what happened with him or those things, I mainly looked at scripts and ignored everything chit-chat related.
  15. Ramirow

    UE spells make dmg to players without pk on ;/

    As I told you, in version 8.6 (don't know if newer ones share this functionality) you have those 2 pvp options. Optional PvP means you can only damage other characters while in pvp tiles (Such as arenas I believe), open-pvp is just to say it's pvp. Area spells worked like that in that version...
  16. Ramirow

    UE spells make dmg to players without pk on ;/

    As long as I recall, any area spell that hits a player will generate a skull regardless of player's pvp options. So, for example, I might need to turn pk on if I want to target a single target spell against another player, but if I throw a gfb on the ground and it connects with it, I will...
  17. Ramirow

    C++ Help with this debug error on Tibia Client

    From personal experience, it could be linked to Events, such as globalevents if something is executed after x seconds. Or in your case, could be events linked to creaturescripts on login.lua You should check for any events registered in that file, try removing (or commenting) all but these two...
  18. Ramirow

    C++ Help with this debug error on Tibia Client

    You can try this, open your config.lua and search for this line: maxPacketsPerSecond. It's default value should be 25, try with 50 or 75 and see if it happens again.
  19. Ramirow

    Weapons + spell damage increase 8.6 on 1.2

    Try this one, equip a weapon with a normal player and try hitting some monsters. local damageIncrease = 5 local rebirtStorage = 85987 function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if (Monster(attacker) ~= nil) then...
  20. Ramirow

    Weapons + spell damage increase 8.6 on 1.2

    Didn't work without any errors? As long as I recall, it doesn't really matter the formulas, as onStatsChange applies after all those things are calculated. Try using this script (It's the same one, but it will print messages to your server console to see what is going on) local damageIncrease =...
Back
Top