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

    C++ Aggressive Summons?

    Cant you just register creature event on summon ? OnCreatureAppear and just check if its monster and setTarget on summon to that creature. Not sure just an idea
  2. J

    Is it possible to have free hosting?

    Try oracle free tier
  3. J

    speed problem

    In client speed is / 2 i think.
  4. J

    TFS 1.5 cannot start.

    Mysql related not tfs. Google the mysql error with ssl plenty of threads, even here it was discussed already.
  5. J

    TFS 1.X+ TextWindow bugging after adding tooltip

    I have it like this and works fine in 772 nekiro downgrade. void ProtocolGame::sendTextWindow(uint32_t windowTextId, uint32_t itemId, const std::string& text) { NetworkMessage msg; msg.addByte(0x96); msg.add<uint32_t>(windowTextId); msg.addItem(itemId, 1, otclientV8)...
  6. J

    TFS 1.X+ CreatureEvent crashing in Linux (working fine in windows)

    Bump. Still not resolved, update: local tpPosition = Position(56, 265, 7) local prepareDeath = CreatureEvent('PVP_prepareDeath') prepareDeath.type('preparedeath') function prepareDeath.onPrepareDeath(creature, killer) if creature:isPlayer() then if creature:isPlayer() then...
  7. J

    Help - Executable TFS

    Check if port is default 3306 on server. Not sure what server youre using but try mysql server from official site. It will run as a service. You have plenty db clients available like Dbeaver
  8. J

    [TFS 1.4.2][RME] Zone System

    So many use cases with this resources :D. Just working on different house prices per SQM depending on Zone Id. So if house is in certain zone eg. town square it will multiply the price by value in config.lua . Idea to share ;)
  9. J

    OTClient Help setting up server/website

    Lul you mean uniform server i was like WTF initially :D google it then you have to connect to mysql through root user. Maybe check .ini configuration https://www.uniformserver.com/ZeroXI_documentation/mysql.html
  10. J

    OTClient Help setting up server/website

    :D use mysql console or client to connect as root. Google it. I dont know what database server are u using. Mysql official windows server has his native client app in windows that you could use. I think during install maybe you can even enable native password with some checkbox not sure. Use...
  11. J

    OTClient Help setting up server/website

    That error is from MYSQL. Execute this on db: ALTER USER 'yourusername'@'localhost' IDENTIFIED WITH mysql_native_password BY 'youpassword';
  12. J

    OTClient Help setting up server/website

    Locally it should work either way. For website use gesior or myacc or any other app in “website applications” in downloads You didnt specify OS nor provided the config.lua so hard to tell. Try 127.0.0.1 in config.lua try to connect with client locally if you get invalid account/password right...
  13. J

    TFS 1.X+ Spell cooldown not working on monsters TFS 1.5 772 downgrade

    not a solution. more interested in resolving this or to know why the spell:cooldown() is not applied or if im using it wrong
  14. J

    TFS 1.X+ Item reference

    I dont fully understand your solution and i dont see storage values used there. (Is it like an autolooting to those bags) ? But since you're using getSlotItem that lootbag has to be in player's inventory slot ? If so you can use movement script for ID 1987 to define custom onEquip onDeEquip...
  15. J

    TFS 1.X+ Spell cooldown not working on monsters TFS 1.5 772 downgrade

    Hi, do you know how to add cooldown on spell so it would work for monsters aswell ? i have a monster revscript, example attacks: monster.attacks = { {name ="melee", interval = 1500, chance = 80, minDamage = -2100, maxDamage = -3000}, {name ="firestorm", cooldown = 9000, interval = 2000...
  16. J

    getMonstersInArea 1.3

    There is Game.getSpectators but that will return both players and monsters or just players. Maybe create similar function that will just return monsters. Or if you implement this resouce [TFS 1.4.2][RME] Zone System (https://otland.net/resources/tfs-1-4-2-rme-zone-system.30/) you can add Zone...
  17. J

    "Request for Help: Tibia 7.6-8.0 Client, OTS Engine, and Error-Free Map Editor"

    Use TFS 1.5 Downgrade 7.72 or 8.0. Latest OTAcademy otclientv8 + latest RME But you still need to have Database running, either in Windows or in Docker linux in order to start the server. XAMPP or similar program like nginx is required for website application like znote, myacc ... so you can...
  18. J

    TFS 1.X+ creaturescript onadvance exp issue

    Glad it worked. You’ll learn and get better ;). Always think then code, and good approach is to write comments inside code editor that contain steps that needs to be done to achieve the goal. So you dont forget loops :D. For Loops OP
  19. J

    TFS 1.X+ creaturescript onadvance exp issue

    Because when you gain a lot of exp oldLevel is for eg. 200 and newLevel is 205. And youre just getting config for a new level ONLY local reward = config.stages[newLevel] But you should do it for every new level Do a for loop -- Loop through each level gained to ensure no rewards are skipped...
Back
Top