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

    C++ scripting Item Attributes TFS 1.3

    Done, please close
  2. Lurk

    TFS 0.X Backpack bug

    I'm using tfs 0.4 rev 3777 and the problem is: when you have a backpack insed a backpack inside a backpack inside a backpack full of items like: bp(bp(bp(bp()))) all the subsequent items will drop on the ground, doesn't matter if you're buying from a npc, using /i or trading with a player I've...
  3. Lurk

    C++ gold limit

    I'm using TFS 0.4 rev 3777 and I'm trying to change the gold limit from init32_t to int64_t, I've been messing with some of my source files and i've already changed the Worth and moneyCount to int64_t and everything was fine when compiling but the gold limit was still in int32... Then I changed...
  4. B

    Learn C++ (PDF)

    Two useful pdf's if you want to learn about C++ You can also visit these 2 sites C++ Tutorial Learn C++
  5. M

    Lua Function creature:canChangeDirection(bool)

    Explanation: You can make any creature stop changing directions, usually via CTRL+ARROW KEY. My first C++ function, tested only with players and TFS 1.0 1. In game.cpp find: bool Game::internalCreatureTurn(Creature* creature, Direction dir) { if (creature->getDirection() == dir) {...
  6. Joriku

    Skill loss (exp only)

    Hello agin, I would like to request a script and an explaination on this below, ”You see Test (Level 100). He is a sorcerer. 17.35 Test loses 1000 hitpoints due to an attack by Svarta Ber. -Over to Test vision- 13.35 You are dead. —Dead Menu... Pressing ”Ok”— 13.36 You we’re killed by Svarta...
  7. Hunier

    Sprite Target circle

    ➤Hello, community, I'm breaking my head for a while, to get the target to stay round the target system of PxG, remembering I already have the round sprite, someone could give a light ?, or give a way?
  8. C

    C++ Adding random numbers to player name's problem

    Hello i made some change's for my war server. People are logging on same character like this: First guy logged with name Druid 87258 Second guy logged with name Druid 29778 Third guy logged with name Druid 77176 And only first guy see other guys number properly, the rest see other's with...
  9. K

    C++ I need to adapt system

    Can anyone help me adapt this to TFS 1.3? monsters.cpp monster.h monster.cpp map.cpp configmanager.h configmanager.cpp [/SPOILER]
  10. K

    C++ Adapt monster level system [TFS 0.3.6 to 1.3]

    Can anyone help me adapt this to TFS 1.3? monsters.cpp monster.h monster.cpp map.cpp configmanager.h configmanager.cpp [/SPOILER]
  11. War-Ots

    DeadBug tfs 1.2 client 8.6 Char Creation

    Hi guys, sorry for the question, I am building my old war server 8.6 with tfs 1.2. I dont have major bugs (at least as far as i know) but when I create a char with Knight Vocation when I first login in the game I get a deadbug! The second time I log in I don't get any deadbug or other problem...
  12. L

    C++ Error while compiling TFS, "asio.hpp"

    Hello, I encountered a problem compiling the TFS engine in Visual Studio 2017. The message says: "Can not open file, please add: 'boost / asio.hpp': No dry file or directory theforgottenserver g: \ programs - ot \ tfs \ forgottenserver-master \ src \ otpch.h 42 " What is asio.hpp? I'm not...
  13. metiu11

    Lua Spell Effect

    Hello, I wanna add new effect spell. So i add it in Object Builder - effects Imgur: The magic of the Internet So this number its 70. This is my spell code: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat...
  14. N

    C++ how to deal with chatted strings on server-side?

    Hello, I want to do some operations with the strings that are submitted to the chat. Basically, I need to know which is the function that is called when a player chat. I've made some tests and I think that's Creature:: onCreatureSay(,,), is it correct? If so, should I just override the method in...
  15. N

    C++ wanting to learn

    Hello, I'm a brazilian user, but, huh, my regional community sucks (there are only otadmins, aka kids, and the ones who've the knowledge don't wanna share it) I'm currently studying at learncpp.com —I'm on chapter 9, poo is freaking haahuha—, however idk either how TFS engine (internal classes...
  16. Z

    OTClient Unhandled Opcode

    So, I'm trying to use OTClient on my otserver, but every time I try to use a weapon or a spell that uses distance effects, I get this error on OTClient console: ERROR: ProtocolGame parse message exception (8 bytes unread, last opcode is 0, prev opcode is 133): unhandled opcode 0 Also, after...
  17. T

    Programmer payment more than 1K USD or 3K BRL /Month

    looking for someone who is really good at C ++ and Lua, needs to be good at otclient also, if you are from Brazil, it's even better, need to have a good time available, if someone is interested send me a private message..
  18. rafaking

    C++ Starting with TFS and understanding the sources

    Can someone please tell me the best path / way to start studying and understanding TFS sources? I want in the future to contribute. Thanks!
  19. JohnColner

    Slow Rune Help

    I'm trying to make a rune to slow down the player attacked by it for 3 seconds without utani hurting the effect, could someone help me? dry my test. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA) setCombatParam(combat...
  20. Verticos

    Looking for OTC UI/Developer/Source ($300 usd )

    Looking for OTC UI/Developer Must have experience in OTClient Ui/Client source edits/OpCode. TFS 1.2 Source edits. Also must provide screenshots of past work before offering a price on work we are looking to have done. This is a paid position in usd through paypal. My contact info Discord...
Back
Top