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

    Lua TFS add fishing skill to influence in fishing reward

    Nice man, thanks a lot. I have several script I gather over the years and I would be glad to share with you. The server I have is one in development for myself, only local usage, that I believe it's a better version of tibia RPG, it has mining elements, craft itens, mixed potions and other stuff.
  2. I

    Lua TFS add fishing skill to influence in fishing reward

    Hi guys, I use this script on my server for player that fish to catch monster and/or fishes. It all work fine, I just wanted for the fishing skill also matter in the fishing the player is getting. For example, if the player has 10 fishing skill, he will get 10 shirmp out of 8 tries. If the...
  3. I

    RevScripts TFS 1.3 Add atk and defence varying to craft system

    You're right, I wasn't paying attention. Just look for the then at this part I should ready the whole script. Thanks it's all working perfectly.
  4. I

    RevScripts TFS 1.3 Add atk and defence varying to craft system

    Lua Script Error: [Main Interface] data/global.lua data/lib/smith.lua:4788: 'then' expected near 'item' stack traceback: [C]: at 0x7ff622004cf0 [C]: in function 'dofile' data/global.lua:7: in main chunk [Warning - ScriptingManager::loadScriptSystems] Can not load...
  5. I

    RevScripts TFS 1.3 Add atk and defence varying to craft system

    @pips thanks, it's working. To add the same thing to defence should I add this? local item = self:addItem(recipes[Type[p]].options[Option[p]].id, recipes[Type[p]].options[Option[p]].count) if item then local def = ItemType(item:getId()):getDefence() if def and def > 0 then...
  6. I

    RevScripts TFS 1.3 Add atk and defence varying to craft system

    This error appear on TFS and the item still with the same damage.
  7. I

    RevScripts TFS 1.3 Add atk and defence varying to craft system

    Hi guys, I use this script on my custom server and I would like to add a varying number of atk to weapons and defence to equipments. I try to add this: local item = self:addItem(recipes[Type[p]].options[Option[p]].id, recipes[Type[p]].options[Option[p]].count) if...
  8. I

    Lua NPC tell story, give item and teleport TFS 1.3

    I talk to the npc again and he gave me the itens.
  9. I

    Lua NPC tell story, give item and teleport TFS 1.3

    It's working as fine as I intended, but everytime I talk to the npc I receive the item. How could I put it to receive just once?
  10. I

    Lua NPC tell story, give item and teleport TFS 1.3

    I tried the first opition and ain't working. No errors on TFS. npc.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="The Divine" script="The Divine.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="1138"/> <parameters> <parameter...
  11. I

    Lua NPC tell story, give item and teleport TFS 1.3

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

    Lua NPC tell story, give item and teleport TFS 1.3

    Hi guys, I would like a npc script that the player can talk to him, like: Player: Hi NPC: Hello |PLAYERNAME|. Do you wanna know about WAR? Or do you want me to tell the STORY of the city? Or maybe you want to learn where you can BUY potion? Player: war NPC: There's a war going on for x...
  13. I

    Lua TFS 1.3 Task System with points

    Thanks, that works perfectly.
  14. I

    Lua TFS 1.3 Task System with points

    It kinda works. So it seems that when I put 2 points to carrion worm, it add 3 points. local config = { -- Trolls ['troll'] = {name = 'Troll', amount = 100, points = 1, storage = 19000, startstorage = 5010, startvalue = 1}, ['swamp troll'] = {name = 'Troll', amount = 100, points =...
  15. I

    Lua TFS 1.3 Task System with points

    Hi guys, I would like for this task system to have points, for example: the player chooses to do rotworm tasks, so he needs to kill 100 rotworms, everytime the player kills 1 rotworm, it counts 1 point to the task, everytime the player kills a carrion worm it counts 2 points to the task...
  16. I

    Lua TFS 1.3 Modal window task not working

    Hi guys, I've come across this script here in the forum, install everything right, it shows up the modals windows, the task appear, but when I put "accept", nothing happens, no errors on TFS. Does anyone knows why? data/lib/init.lua TASK_TYPES = { TUKSONSURROUND_TASK = 1...
  17. I

    Compiling TFS 1.3 + Client with more effect than 255

    Should I also change : case COMBAT_PARAM_DISTANCEEFFECT: { params.distanceEffect = static_cast<uint8_t>(value); return true; to: case COMBAT_PARAM_DISTANCEEFFECT: { params.distanceEffect = static_cast<uint16_t>(value); return...
  18. I

    Compiling TFS 1.3 + Client with more effect than 255

    I've opened all the files you listed and replace all unit8_t to unit16_t. When I'm done compiling I'll let you know if I run into any issue, thanks. 1691342344 I followed a video on the youtube teaching how to compile TFS. () I used the TFS version on this Github (GitHub -...
  19. I

    Compiling TFS 1.3 + Client with more effect than 255

    I'm compiling it now, but where is this part? params.impactEffect = static_cast<uint8_t>(value); uint8_t impactEffect = CONST_ME_NONE; enum MagicEffectClasses : uint8_t { void Game::addMagicEffect(const Position& pos, uint8_t effect) void Game::addMagicEffect(const SpectatorVec& spectators...
Back
Top