• 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. Ascuas Funkeln

    C++ Force kick when client close

    if (noPongTime >= 60000 && canLogout()) { if (g_creatureEvents->playerLogout(this)) { if (client) { client->logout(true, true); } else { g_game.removeCreature(this, true); } } } Someone can explain me how...
  2. Ascuas Funkeln

    C++ Damage output with Separator

    Hello, I have problem in my goldfish knowledge in the field of C++, and its create big number separator on dmg dealing. message.primary.value = damage.primary.value; // int32, when change manually to any number visible output of damage is the same as manually entered, so this is...
  3. Ascuas Funkeln

    OTClient Script to assign Hotkey

    Hello, What i need is create in mod window button and when its pressed then script will assign (example: "F1 hotkey by text value") Already got this function TEST(value) currentHotkeyLabel.value = "Attack" currentHotkeyLabel.autoSend = true updateHotkeyLabel(currentHotkeyLabel)...
  4. Ascuas Funkeln

    Lua Help in script

    Hello, Someone can help me in this script? Im pretty retarded in tables xD What i need is: a = Trigger item, used on item b = old item c = new item which has item id (b+1) Item "a" can be used only on items from "ITEMS" list, then script should remove "a" and "b" item, then create "c" item...
  5. Ascuas Funkeln

    Lua Item Upgrade basic value[1.2]

    Hello, i need help with this script. What i want is, make this % upgrading every time from basic value, not from actual value. Example: Armor Value: 100 Upgrade per hit: 3% Result from 0% to 3% is 105 instead of 103, cuz they calcuate all 3 level, and take value of actual lvl instead of basic...
  6. Ascuas Funkeln

    Compiling Anyone can extract map to images?

    Hello Otlanders, I have little quest, can you extract this *.img files? :) ITS QUEST NOT REQUEST I know how to do that. Thread is, that anyone can extract it? And if you success jsut paste screenshoot of extracted files...
  7. Ascuas Funkeln

    Lua onThink Technical Question

    Hello, I have question about onThink in technical side. For example i have script contains 300 lines. 150 lines have information about 150 storages. 150 lines send msg of this storage values. And the question is... Better is making one 300 line script or divide it to multiple scripts? In which...
  8. Ascuas Funkeln

    Lua TFS[1.2] - Define player in condition

    Hello, Guys have you an a idea how i can define player here: local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) local condition = Condition(CONDITION_REGENERATION)...
  9. Ascuas Funkeln

    Trade Board

    I've thought about it for some time. It cannot be hidden that people are reluctant to share their own resources (In an open source environment 🤔), in a way it can be understood, on the other hand it hinders the development of the community. We have great scripters, mappers, spriters...
  10. Ascuas Funkeln

    [MOD]Big number separator by commas(Skill window)

    Hello Otlanders, Add in modules/gamelib/util.lua function comma_value(n) local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('(%d%d%d)','%1,'):reverse())..right end Change value of you modules/game_skills/skills.lua (if you have basic...
  11. Ascuas Funkeln

    [MOD] Developer Control Panel 2.0

    Hello i create next tool to make my job easier, I will share it with you. Step 1 Shutdown game client. Download file and paste it in "otclient/mods/" ENJOY :D UPDATE v. 2.0 Now panel is in miniWindow mode, No more impact on gameplay when press buttons. (Stop walking, executing actions)...
  12. Ascuas Funkeln

    [MOD]Container Button - Gold Stacking

    Hello, lets make some more things with our clients~! :D Let's start~! Step 1 Download this prepared icon, and paste it to otclient/data/images/ui/ Step 2 Now open container.otui and containers.lua in otclient/modules/game_containers/ Step 3 In container.otui After this UIButton id...
  13. Ascuas Funkeln

    [TUTORIAL MODS]- Creating Modules with Extended Opcode

    Hello, here is my little tutorial how create things in otclient to control server side actions. Im not super experienced in this case and my explain of it is pretty lame :D , anyway i will show how I came to how to do it and how I do it (something is wrong with that phrase xD) Ok, let's start...
  14. Ascuas Funkeln

    C++ Skill Tries, little problem

    Hello, need little help with understand some c++ lines. uint32_t Vocation::skillBase[SKILL_LAST + 1] = {50, 50, 50, 50, 30, 100, 20}; uint64_t Vocation::getReqSkillTries(uint8_t skill, uint16_t level) { if (skill > SKILL_LAST) { return 0; } auto it =...
  15. Ascuas Funkeln

    OTClient Change text colour in Skill TAB

    Hello Otlanders, Ok, im stuck now in changing colours in skill tab and need some tips and little help. This work in this way: Server send to client "extended opcode" and its not a number. player:sendExtendedOpcode(250, "Otland") Ofcourse its work perfect and there is 0 problems... In this...
  16. Ascuas Funkeln

    Fix/Patch Distance Attack/Potion Use - Fix for TFS 1.x

    Hello, this is my fix of this problem, its not super pro, but should be fine for use. When i test this problem i noticed that in TFS "ranged weapons" when attack are used like an "action". Before source edit, check if config.lua edit is enough (by Lessaire) Change this: To this: Change this...
  17. Ascuas Funkeln

    OTClient Dat/ObjectBuilder/Animation

    TFS 1.2, 10.98 Did anyone get the same problem with OTClient and ObjectBuilder for version 10.98 like this: "Original" animations, like Skull Staff etc. work "normal" pretty fast and smoothly, but when i add new item with animation it 2x slower! For example i copy skull staff and add it, and...
  18. Ascuas Funkeln

    OpenTibia [TFS 1.2 easy to make all] Excel Vocation Creator

    Hello, my next tool thats i using for faster working, and ofc excel xDXD Simple using, you complete the vocation fields and click button copy vocation, then paste in vocation.xml Should be usefull if you wanna make alot of vocations or if you are new one in creating :D Prepared for 1.2, but...
  19. Ascuas Funkeln

    Conclusion of Beta Tests.

    After than two months of testing, it was time for some conclusions. I tried to listen to the players and introduced changes, now i want to present to you the conclusions I came to. 1. (Vocation) Ultimate Vocation - People want a large selection of professions etc. But, after logging into the...
  20. Ascuas Funkeln

    TFS 1.X+ Strange House Bug

    TFS 1.2 If player sell house, items from ground move to depo. If player leave house, items from ground move to depo. But if player have no more money in bank, then rent is not payed and items from ground are "copied? lol?". They just dont move from ground and copy of them are send to depo. Any...
Top