• 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!

solved

  1. R

    C++ cmath or not? (TFS 1.2)

    Is this library included in the tfs 1.2 source? I ask because I need to use a round function... If this library is not included, then what kind of function can I use to round values to the nearest integer?
  2. R

    C++ "readXML" on TFS 1.2

    EDIT: SOLVED, solution can be found in the Best Answer by Xeraphus (Post #10) Guys, I am creating a new system based on: Feature - Random Attributes, but I want to make it for TFS 1.2 First post was a mess so I edited everything. Basically what I am trying to do is add new attributes on TFS...
  3. A

    Lua Burning Heart --> Fast healing

    Hello Guys, I have a problem with my BH script: Generally it works, I mean when I am clicking on it with right button of the mouse it heals the character without exhaustion but when I set it on elfbot it has like 500 ms of exhaustion and I totally don't know why. My elbot script is fine...
  4. A

    Lua Problem with isInArea script.

    Hello guys, I have the following script and it works perfectly: (I am using tfs 0.3.6, client 8.6) I wanted to remake it to works when the defined boss is inside area instead of x player online. But the console returns an error: @The solution: function onUse(cid, item, fromPosition...
  5. R

    Compiling Warning about db after compiling

    EDIT: I think the sqlite corrected the error by itself, as the second time I opened the .exe the error was gone. So I compiled a tfs 0.4 3884 rev, and everything i needed was there except a standard s3db file so I used one from a 3777 rev. I'm not sure if this is the cause of my issue but when...
  6. R

    Lua everything works perfectly, except...

    EDIT: Solved - The solution was simply adding a condition that checks if the player storage value is equal to 1 or 5 (because those do not have outfits in the transformation) and setting the outfit parameters inside those conditions. If you don't do this, the value for un_table.look will glitch...
  7. R

    Lua Tables (where to insert them)

    I am working on a transformation system and to make my scripts less visually poluted I decided to use tables. However, I don't know where I should create them so that I can access them via any .lua file. Should I create a separate .lua file in the data/libs folder or should I put the new table...
  8. R

    Lua Unused Storages

    Okay, I know this may be rare to happen, but I was practicing scripts with storageids and I think I accidentaly used a storage that was already in another script. Anyways, is there a list of storageids that are already used in TFS 0.4 3777 (8.6)? Thanks!
  9. R

    Compiling Stupid Question about compiling

    If I download a working server with a source and I modify the source, the changes will take effect immediately? Or do I have to compile the source again so that the .exe reads the new functions and not the old ones?
  10. R

    Best tfs version for tibia 8.6

    Hey folks, please read the entire post before posting an answer. I am creating a new ot server (still on the idea phase) and it will probably be based on the 8.6 client. I will create new vocations and replace the old ones, I will edit all the items and monsters a little, and I will also create...
  11. C

    Green stamina for pvp-enforced

    Should i find this script in source's? Problem solved player.cpp double Player::getGainedExperience(Creature* attacker) const { if(g_game.getWorldType() == WORLD_TYPE_HARDCORE_PVP && g_config.getNumber(ConfigManager::RATE_EXPERIENCE_PVP) > 0){ Player* attackerPlayer =...
  12. myalitth

    Store System Tfs 1.2

    I'm using store system (No OTX), and my store system is empty... So. when i tryied add some items at store.xml my ot client get Debug. My english is not very well at now, sorry! TFS 1.2 Version 10.90 Thank you!
  13. C

    My new build gaming pc wont start Help!

    I just build a new pc but the power wont start or anything! specs is Fractal Design Define R5 - Black Pearl MSI Z97-G45 GAMING Corsair CX750M MSI GeForce GTX 1050 2GB Kingston 120GB SSDNow V300 SATA3 2,5 ASUS DVD±RW Intel Celeron G1840 2.8 ghz I know is a bad cpu but my money is... here is a...
  14. Demon Overlord

    Spell Scroll Issues

    I've been trying to make a spell scroll that gives you a spell, depending on the item that's used. So far I'm using Tfs 1.x local spells = { [6087] = "Exori Hur", [6088] = "Exura Sio", [6089] = "Exori Con", [6090] = "Exori Flam", } function onUse(cid, item, frompos, itemEx...
  15. Joriku

    Solved Znote tfs1.2 shop error

    So, i've been trying to change the shop abit and now i get this error while selling mounts
  16. God Nixez

    Dicer script.How to add other pos

    Thats a part of the script -- Game table position userdata instances local table_left_pos = {x = 31922, y = 32234, z = 7} local table_middle_pos = {x = 31923, y = 32234, z = 7} Thats only for 1 npc ^_^ how to add other one? TFS 0.4 I want two dicers to work in 2 different places...
  17. Mister Budex

    Killing people,gain exp

    Hello everyone, I am making an WarOT TFS 0.3.6 8.60 TIBIA so start level is 130 and i want to make example when u kill someone u get exp maybe 30 percents to 150 and from 150 to 200 10 percents but i dont want like people from same ip killing and gain exp ! :) thanks ANYYYYYYY?
  18. Mike "riff"

    Sound project code question?

    Started sound project, know my plan where I'm going just can't get past this function call. Anyone who know c++ really well that cant give suggestions. #include <string> class CreatureSounds { public: CreatureSounds(); ~CreatureSounds(); char filePath[20] = "../data/sound"...
  19. Crixpx

    Lua [movement][help] telepor every 24 hours

    hola!! I would like to know if anyone can edit this script for me :D Is a war zone script But what I want is that it can only be used every 24 hours My idea is to make an area where you can only enter every 24 hours for vip players :D this is my base script I'm using OTX 3 for 10.90 ot...
  20. X

    Need a re-host of item editor for OTX 7.72 (by Kaiser)

    Does anyone still have the item editor that works with OTX? I searched for a while and I can only find these 2 links, http://speedy*****malware.localhost/ypBrp/otitemeditor-0.3.9-kaiser.rar and https://mega.co.nz/#!ZB4k3YyT!Y4-XXnNxY1ud5bvSswrzWXricJo07FOIgnBgzICJj0M, both are dead. If anyone still has this...
Back
Top