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

Recent content by Aleada

  1. Aleada

    Compiling HP/MANA BAR %

    No idea if this'll work but you can try changing: msg->AddU16(player->getHealth()); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); to: msg->AddU16(player->getHealth() / player->getPlayerInfo(PLAYERINFO_MAXHEALTH) * 100); msg->AddU16(100); Not sure if this'll work though...
  2. Aleada

    Solved Lua Error

    Is there supposed to be 3 parameters for the doTransformItem function? If so try to add "toPosition" for the first one then... Still not sure... Haha I'm just trying to help :|
  3. Aleada

    Solved Lua Error

    Try changing the second doTransformItem to doTransformBack Not 100% sure though... Not on a computer so I can't test :/
  4. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    We are planning on using Otclient
  5. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Just started learning C++ this week so I definitely don't have the right knowledge :'/ haha Could you give me some hints though? :]
  6. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Lame lol Oh well though.. Thank you everyone for the help!
  7. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    "Well why the fuck not?" lol There's always a way :x
  8. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Rofl it worked :p Thank you but there has to be a way though for the "+" to work
  9. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Nope that's why you can't really convert it to string either... Unless you change wherever it's sending to to accept strings :/ 1 IntelliSense: a value of type "const char *" cannot be assigned to an entity of type "int32_t"
  10. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Unless if I completely messed it up, it doesn't work :( This is what I put: message.position=targetPos; std::ostringstreamtest; test<<realHealthChange; test.str(); message.primary.value="+"+test; message.primary.color=TEXTCOLOR_MAYABLUE; This is the error: 1 IntelliSense: no operator "+"...
  11. Aleada

    Lua LoginFake

    In your config.lua is it: "fakeAmmountPlayers = true"? I could be totally wrong though! haha
  12. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Nope :/ 1 IntelliSense: expression must be a modifiable lvalue I was trying this earlier: message.primary.value="+"+realHealthChange; But you can't combine a string/char with a int :/
  13. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    It shows how much you are healed for/damaged for but I just can't track down where it's coming from :/
  14. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Okay thank you very much @Evil Hero! I really appreciate it!
  15. Aleada

    Solved [C++ - TFS 1.0] Health/Mana Change

    Thanks Nikolai for tagging a well known person :) I'm just trying to learn C++ :p I would be grateful if someone would help lead me in the right direction.. whether I'm not even looking at the correct part in the sources or if I'm just completely messing it up lmfao
Back
Top