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

    TFS 1.X+ Spells onTargetCreature not found

    TFS 1.4.2/1.5 local combats = {} function onGetFormulaValues1(player, level, magicLevel) local min = (level / 5) + (magicLevel * 1.2) + 7 local max = (level / 5) + (magicLevel * 2) + 12 return -min, -max end function onGetFormulaValues2(player, level, magicLevel) local min =...
  2. Itutorial

    TFS 1.X+ TFS 1.5 setCustomAttribute crash

    Whenever I try to use the setCustomAttribute lua method the server crashes. I created a talkaction that works like /attr but will just set item rarity to whatever I want. local talkaction = TalkAction("/rarity") function talkaction.onSay(player, words, param) if player:getAccountType() <...
  3. Itutorial

    OTClient OTC UI tooltips

    Anyone know how to properly do this? It seems the LocalPlayer object does exist but for some reason I can't use the lua functions associated with it. !tooltip: tr('Increases maximum health by %d', LocalPlayer:getLevelStat(0))
  4. Itutorial

    TFS 1.X+ Storing item attributes system

    I am looking at the item attributes system. It seems we have to store values based on bit shift operations which obviously limits the amount of attributes that can be defined. Can someone who knows explain why this is and how the system works?
  5. Itutorial

    TFS 1.X+ Some items do not trigger onEquip/onDequip

    Hello everyone, I am trying to create an onEquip that will get the stats off all worn items and print them out. The script seems to work properly on some items but not on others. Do we know of any problem in tfs that might cause this? In the code I have registered two items. Demon shield and...
  6. Itutorial

    Solved otclient register new enum

    How do I register a newly created enum in otcv8? I added it in const.h under the otc:: namespace but I am unable to access it in the modules folder. I can access it throughout the source files but not in lua files. Thank you for any help guys! 1712220561 Nevermind I am tired and forgot about...
  7. Itutorial

    OTW - Python/React open tibia website & AAC

    Hello everyone, I am currently working for work as a full stack developer. While I am doing this I will be working on a project for the open tibia community. Using Python, Flask, JavaScript/TypeScript, and React. There is a lot of knowledge gap between someone new to these technologies and...
  8. Itutorial

    Webdesigner Javascript Python React Web developer

    If anyone is interested in using some of the most modern website development tools for their game/server I am open and looking for work. I can offer the latest tools for front-end and backend development. Including modern styles of database data encryption. CSRF protection and responsive...
  9. Itutorial

    TFS 1.X+ TFS crash

    This is a rough one. So I used TFS 1.4.2 and added any commits that would work for tibia 10.98 from the 1.5+ TFS commits. After I added everything I was able to start the server and I was working on figuring out a problem with the map being drawn correctly in the client. I woke up this morning...
  10. Itutorial

    OTClient Map draw problem

    ERROR: ProtocolGame parse message exception (2979 bytes, 2059 unread, last opcode is 0x64 (100), prev opcode is 0x0f (15)): invalid thing id (0) Packet has been saved to packet.log, you can use it to find what was wrong. (Protocol: 1098) OTCv8 and I added these changes...
  11. Itutorial

    OTClient Magiceffects and distance effects gifs

    I am working on a spell creator for 1.5. Kind of like the old one that was released. Does anyone have gifs for the spell effects?
  12. Itutorial

    Monster type files

    Why did we concat all the monsters into one file?
  13. Itutorial

    C++ Help me figure this out :D true A* algorithm

    Alright guys. As you know i've been working on the A* algorithm for TFS. I have most of the code ready. I am just having some trouble with the logic and algorithm. Hopefully, someone will be able to see something I cant. Right now the code works left/down. It doesn't work up/right. When the...
  14. Itutorial

    TFS A* Algorithm :D

    I spent way to long messing with this. A few hours. I am no pro but I learned how the code behaves and figured out a way IMO to make it better. It hasn't been tested to the limit but I have tested it with 50+ monsters following me and ran through a few obstacles. There is a lot of things that...
  15. Itutorial

    Feature Instance System

    It is not ready for production. It is missing a few critical things. I will come back to it at some point in the future when I have more time on my hands. This is my fix for my previous thread. Hopefully they will remove the old one. This system is critical for any server that has systems...
  16. Itutorial

    TFS 1.X+ TFS 1.4.2 Otcv8 opcode

    I am sending a packet with otcv8 to the server and getting info back. The packet itself is working as intended but in otcv8 I am getting and error. The error is causing other problems. Does anyone know how to fix it? ERROR: ProtocolGame parse message exception (9141 bytes, 5546 unread, last...
  17. Itutorial

    TFS 1.X+ [TFS 1.4.1] 1098 NPC's again...

    Tried a few different things with no luck. int NpcScriptInterface::luaNpcOpenShopWindow(lua_State* L) { // npc:openShopWindow(cid, items, buyCallback, sellCallback) if (!isTable(L, 3)) { reportErrorFunc(L, "item list is not a table."); pushBoolean(L, false)...
  18. Itutorial

    TFS 1.X+ TFS 1.4.1 1098

    It seems the CALLBACK_GREET doesn't work. The NPC just says the default message. This is the NPC file, I haven't modified anything in the npc lib or cpp files. I did check npchandler.lua and modles.lua and it looks correct to me. local keywordHandler = KeywordHandler:new() local npcHandler =...
  19. Itutorial

    C++ TFS [1.4.1] Adding new creature type

    Not sure what happened but it fixed itself....
  20. Itutorial

    Team Astoria - Into the Darkness

    Astoria - The Darkness Astoria the darkness is the first chapter of its history. Set in a medieval fantasy universe. Players begin their adventure in a small town ransacked by the evils that have plagued Astoria. Even your fate was sealed long ago while destiny awaits your return. General...
Back
Top