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

    TFS 1.X+ Skill Loss

    @ManuelOficial I've tested the source edit I made, it works. You just have to fix the SQL yourself. As what I got myself it changing all the players tables at once instead of just the players table. SO BE CAREFUL!!! Also making it able to turn it on and off worked as well :) Learned myself a...
  2. Ralumbi

    Add database Step4, not working

    @Thogora Try this guide for windows :) https://docs.otland.net/ots-guide/running-your-first-ot-server/setting-up-your-first-server
  3. Ralumbi

    TFS 1.X+ Skill Loss

    I put the for loop inside an if/else statement and created an extra config which can be used in the config.lua and set true/false. Inside your configmanager.h around line 71 you must write inside the array ON_DEATH_MINUS_SKILLS Inside the configmanager.cpp you must add the following line near...
  4. Ralumbi

    TFS 1.X+ Skill Loss

    Then make it hardcoded indeed. Do you want this to be permanent or be adjustable? I could help you if I know the exact idea of your action.
  5. Ralumbi

    TFS 1.X+ Problems on server restart

    I would suggest what @M0ustafa is suggesting, but use visual studio 20(17/19) and open the folder in visual studio and CTRL+F (make sure to select entire solution and have no files open, this will get you a complete list where all the "errors" are located). Sincerely, Ralumbi(Caleb)
  6. Ralumbi

    TFS 1.X+ Skill Loss

    Dear @ManuelOficial, I guess you are looking for this LUA line:target:addSkillTries(skillId, target:getVocation():getRequiredSkillTries(skillId, target:getSkillLevel(skillId) + 1) - target:getSkillTries(skillId)) I hope this was what you're looking for. Sincerely, Ralumbi(Caleb)
  7. Ralumbi

    What was your first OTserver that you play?

    MarksOT 7.1
  8. Ralumbi

    Lever boss script

    Dear Exedras, I am sure someone will be able to help you. Please tell us which source you're using. Sincerely, Ralumbi(Caleb)
  9. Ralumbi

    TFS 0.X TFS 0.4 ancient version Exori weapon type dmg

    @miguelshta which fork of tfs 0.4 are you using? (one which runs out of the box) so I can setup a test environment and get your script to work locally :)
  10. Ralumbi

    TFS 1.X+ Tfs 1.x High CPU usage (think is attack Speed)

    In my head this piece of extra code does exactly nothing. Specially since you only did the change only in the header file.
  11. Ralumbi

    TFS 1.2 Blessed

    You're welcome! Glad I could help! Wish I listened to your first own idea :oops:
  12. Ralumbi

    Help Npc System 0.4

    You're welcome :), I would suggest if you're using this project to use for an actual live server at some point better going with TFS 1.3 instead. It has was more functions and modules available out of the box. TFS 0.4 is out-dated. Much coding love, Ralumbi(Caleb)
  13. Ralumbi

    Help Npc System 0.4

    Then you should try to find the correct manafluid. You can do so to do /i 2006, 1, /i 2006, 2, /i 2006, 3, /i 2006, 4, /i 2006, 5 etc.... and see which is the correct number and change that in the script. In this case we used /i 2006, 7 for manafluid. I hope this will work for you, I am out of...
  14. Ralumbi

    TFS 1.2 Blessed

    Final thing I can check with you is check if you have this in your luascript.cpp registerMethod("Player", "hasBlessing", LuaScriptInterface::luaPlayerHasBlessing); registerMethod("Player", "addBlessing", LuaScriptInterface::luaPlayerAddBlessing); registerMethod("Player"...
  15. Ralumbi

    Help Npc System 0.4

    It was just a question if mine would work. I cannot believe it shouldn't work in first place. You should reverse back to your own Module.lua The edits I made now would be my final clue> local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  16. Ralumbi

    TFS 1.2 Blessed

    Could you try this script inside the Oyamo.xml instead of the current one and try the "first bless" and try the ankh. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid)...
  17. Ralumbi

    Help Npc System 0.4

    Feel free to try my old tfs 0.4 module.lua Module.lua
  18. Ralumbi

    TFS 1.2 Blessed

    Right click on an "ankh" item to check the blessings. Not sure how far you changed the names to Portuguese, but this always worked for me. 1587928231 Excuse me, use an Ceremonial Ankh to check your blessings.
  19. Ralumbi

    Help Npc System 0.4

    Not sure what you're doing wrong, maybe its how you named them. So here you go these are the lines I use: shopModule:addBuyableItem({'lifefluid'}, 2006, 45, 10, 'vial of lifefluid') shopModule:addBuyableItem({'manafluid'}, 2006, 50, 7, 'vial of manafluid') Sincerely, Ralumbi(Caleb)
  20. Ralumbi

    TFS 1.2 Blessed

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
Back
Top