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

    Lua When Player Attack

    Rofl, i start doing changes, but from this otservbr to tfs, some functions are very different hard to understand where add it, players.lua looks different. Well. Did was the same doing this method onCast spell ( like doing exevo gran mas vis 2% chance to summon and get the bonus ? ), it was...
  2. alejandro762

    RevScripts Monsters Loot

    August 9 -> August 21. I think instead change some loot, enter on each file and change name/id you will do it 10x faster than Want a script to overpass the loot for X monsters and give another loot. If is not existing a solution,is different,but there is like i dont want to change some lines...
  3. alejandro762

    Lua When Player Attack

    Great! I test it after add the EventCallback, since we start the project on wrong tfs that doesn't have ec :) This are the full changes ? https://github.com/otland/forgottenserver/commit/fcd6b2d3a01c457753ee9461e3238494f0abb179
  4. alejandro762

    Lua When Player Attack

    Well i was not thinking it will need a Sources changes. When a player attacks, yeah i mean using weapon or using a spell. Is a simple example than Diablo Immortal, when you attack a monster and have a legendary gems, then you got 10% that the resonance gem it will make an explosion and hit all...
  5. alejandro762

    Lua When Player Attack

    Yes, for all vocations , on pvp or in pve aswell
  6. alejandro762

    Lua When Player Attack

    Hello, This script made by Sarah Wesker, i wish to know how to convert it 'when a player attacks, has 2% chance to create a summon for 20s and get the condition'. Since i made a mistake on the last thread saying i want it onEquip, but I was wrong, it was when the object is equipped and the...
  7. alejandro762

    Lua onEquip Create (summon) / get bonus

    Yes i forget, i am looking about "onPlayerAttack" to give this chance/bonus , each time a player attack has 2% chance to summon a rat and give a bonus of 2% skill crit, or maybe more easy onKill/onUseWeapon ? but i think i need to script the item on movements in this case. I can't find on visual...
  8. alejandro762

    Lua onEquip Create (summon) / get bonus

    Hello everyone, Im testing on TFS 1.3 to create onEquip and deEquip an item, getting for example 2% chance to create a summon who helps the player for 20 seconds, but also giving a bonus stat for 20 seconds. I start the script like this: local summonTest = MoveEvent() local config = {...
  9. alejandro762

    Lua Compendium System

    Uh, Nop. I just know html and css code, and a little bit lua, learning. I found how to force open blessings for example on login, and i check compendium isnt scripted so idk the bytes sended and how script it in order to use onLogin, Compendium.sendDialog(open.compendium) Same for store...
  10. alejandro762

    RevScripts 2nd Level System (no rebirth)

    Thanks is working perfect. I just wanna know, itemEx is Old function, but working on tfs 1.3 , then target:remove is the new one ? Is like, if i use cid, on function i can't use player or vice versa, that is ?
  11. alejandro762

    RevScripts 2nd Level System (no rebirth)

    Oh, well. Is giving also an error "attempt to call a number vale stack traceback C: at 0x7ff65ee52f50". I got an if thing:isCreature() then function. I try also add it on it, but giving same error. Thanks anyway, i will wait if anyone using tfs 1.3 know how to make it working
  12. alejandro762

    RevScripts 2nd Level System (no rebirth)

    Yes, about this ok, I mean like, Action - [1.3] Simple Mining System (https://otland.net/threads/1-3-simple-mining-system.276179/) Removing the stone system, with storage and save the level system. The action on this it will be on use item giving xp to this level like a minning system with...
  13. alejandro762

    Lua Npc Call DB Table to Sell

    Yeah i see on Npp source , and i know how to modify is similar as gold pouch easy to do It. But is ok like this because i was wondering to use a storage to be able to TRADE but in this case it will require the currency (just one) like a special item in order to Trade. It will not remove the...
  14. alejandro762

    RevScripts 2nd Level System (no rebirth)

    Small up. If anyone could make it, maybe without any experience from monsters. For example just using an item to get the experience on this level. For example taking a minning system , removing all functions about stones, loot, etc, and replacing the action to an item onUse...
  15. alejandro762

    Lua Npc Call DB Table to Sell

    Got it. Isn't working because trade table needs a Currency. Servers currency are Gold Coin as default. Without changing the code, under player:removeItem, adding playerRemoveCoins(player, 5) for example, it takes 1 gold coin, then it takes also 5 Tibia coins. Is the only solution i found to make...
  16. alejandro762

    Which server is the best Open Tibia server through history ?

    For me was, Exodus, i didnt remember the year, was like 15 years ago, i remember the Map, i never see that map anywhere only on this server, i think pas, exodus.com
  17. alejandro762

    Lua Npc Call DB Table to Sell

    There is the full script, Is not giving any error, Npc on buy=1, it doesn't give the opportunity to buy an item, it appears on 0, i cannot buy the 'helmet' for 1 tc. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  18. alejandro762

    Lua Npc Call DB Table to Sell

    Oh, so is using a different function, my Bad. Sorry im learning slowly, i will try to write the function when i come back at house. O will check also, because is reading currencyName = NPCs currency , and i wish remove that. Thanks for explain.
  19. alejandro762

    Lua Npc Call DB Table to Sell

    I Try like this, but get a boolean value, what we didn't know is the function for the player, if player:removeItem ? :/ The DB query works, but showing an error "out of range value for column 'coins'. But it works because from 1 coin now got 0 coins, but it doesnt give the item, local shop =...
  20. alejandro762

    Lua Npc Call DB Table to Sell

    Hello, I Wanted to know if is possible to call a table DB value (numbers) on a Npc in order to sell Items for this currency from Db. We want change if player:additem into calling DB table `account` WHERE `coins` , following amount* itemsTable[item].sell, amount* itemsTable[item].sell) then if...
Back
Top