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

c++

  1. El Man

    Monsters disappearing

    monsters disappearing automatic when i make hunt and after it tibia get bugs ;/ how to fix this problem ? Version : OTX
  2. zbizu

    useful tricks in Visual Studio for beginners

    Introduction This thread purpose is to get more people into experimenting with TFS sources. Most beginners (and plenty of advanced users) prefer using Windows when it comes to running tfs locally. This is not a disadvantage - most of user friendly tools to build a decent game world are for...
  3. El Man

    Formula damage error

    This is my third post for formula and problem still not fixed .. need someone help me to fix it .. my problem is : damage formula is error in spells and in weapons too like i write this damage in weapons setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -14500000, 0, -15500000) and after...
  4. El Man

    formula bug

    Formula bugs! when add this damage in wand setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -9000, 0, -11500) and start server for test wand attack ( 200-900 ) -- dont give the damage i add in weapons combat.cpp max = (int32_t)((player->getLevel() * 2 + player->getMagicLevel() * 3) * 1. *...
  5. El Man

    Dead Message Request

    Error when player dead. should message is supposed to come after death sendTextMessage(MSG_EVENT_ADVANCE, "You are dead.");
  6. helviio

    C++ Addon/Outfit System | Nostalrius 7.7 TFS 1.2

    I Search For Help To Install Outfit / Addon System on Nostalrius 7.7 TSF 1.2 [ Member Based Image ... wizinx ] I tried to use the tfs 1.2 server from celohere/forgottenserver (https://github.com/celohere/forgottenserver) but I was not successful my map bugged the char was not walking bug...
  7. 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...
  8. Ovnyx

    TFS 1.X+ [TFS 1.3] New creatureevent not working

    Hi everyone, I was trying to add another creature event to allow me to handle with lua when a creature actually gets experience. I know there is already a onGainExperience function under the /events/player.lua file, but I'm trying to handle this even for summons and I was wondering if I could...
  9. War-Ots

    Solved Storage System explanation

    Helo guys, I hope is everyone doing well :) I have been studying TFS again recently and i am currenctly building a server (ending a project). I already have managed to implement some stuff based on study i have been making here in otland and also reading code, testing etc. I am currently...
  10. Snavy

    TFS 1.X+ Reading 2D table from lua in sources

    I have been trying to read a 2D lua-table in sources and I am not sure how to debug this. The error msg that shows up is "attemp to index a boolean value". What is going on here? myLuaFunction({ { a = 0, b = 123, c = "string", d = true, e = true, f = true }, { a = 0, b = 123, c =...
  11. Kuantikum

    Lua REGISTER on login.lua

    Hello guys, I have founded this codes that use the Fist fighiting skills to add attack speed bonus: Name: Fist Fighting / Attackspeed Type: C ++ Author: Oneshot I have already seen some requests in the forum about the skill Fist Fighting, where the more you trained it, the faster you would...
  12. Snavy

    Solved Send std::map to LUA as a table

    TFS: 1.3 I have the following std::map and I am trying to push this to lua. std::map<AccountType_t, std::vector<std::string>> finalMap; desired result & example usage: local result = resultFromMethod() -- finalMap for i=1, #result[ACCOUNT_TYPE_NORMAL] do local tableOfStrings =...
  13. Yan18

    C++ [TFS1.3] TFS.exe Closing Suddenly

    Hello folks! I need support with a problem. I had create a new Attribute on source and I compiled. But, when I executed the application, it close suddenly and before was normal. I unmade all changes and after that I can't run my application. There aren't errors. I search the problem at the...
  14. P

    Compiling Errors with OTclient 1.0

    Hey all, i have weird problem when compiling OTClient 1.0 in VS19 I tried VS 15/17 but this one needs v142 from VS 19... I have followed edubart tutorial with vcpkg for VS 17 and vcpkg package is in A:/vcpkg included and registred with .bat files (in ss) I can add that i can compile TFS engine...
  15. Alberto Cabrera

    Items are not stacked [OTX] 2.15

    Hi people, could someone help me, the items are not stacked, only the first one is stacked, why? Could someone tell me where I should compile that? first of all, thank you Bug Stack Item [OTX] 2.15
  16. kor

    Feature [DLL] Simple WSAD in C++

    Hello. At the beginning I wanted to ask a few questions how to approach the topic of DLL injection and hooking into functions in memory, but to be fair to this community, I am sharing with you a very very simple code that allows you to control your character using WSAD keys...
  17. Crx Molten

    C++ Autoloot TFS1.3

    Hi, I'm checking that a lot of servers 12.X have the auto loot system without the common talkaction(!autoloot). So how does this work: You just simple add the item on your container looter on the client, and it simple goes directly to your bag when monsters died. Does anyone has this script...
  18. Switch

    C++ Crash when reloading creaturescripts

    I'm trying to pass an "NetworkMessage" in creaturescripts, everything works perfect, but when I try to reaload the creaturescripts the server goes down Follow the code snippet I added void CreatureEvent::executeOpcode(Player* player, uint8_t recvbyte, NetworkMessage& msg) {...
  19. check

    C++ OllyDbg - PrintFPS info

    Hello. I need some help with OllyDbg - how to find pointer for PrintFPS function and how to reveal it's argument list? I know it was discovered in the past and those addresses are well known (ianobermiller/tibiaapi...
  20. diarmaint

    Skills increasing together

    can someone tell me, how do I change the source so that the skill ax, level up with the skill sword and club? when using club or sword, the skill ax go up together
Back
Top