• 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. 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
  16. Aleada

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

    I'm sorry if this sounds very noobish to some but I honestly can not figure out how to add "+" and "-" to damage/healing effects. For example, if you get hit for 24 hitpoints it will say "-24"... Here's what I've written so far but it doesn't work :/ game.cpp ... TextMessagemessage...
  17. Aleada

    Compiling OTClient's latest source with Microsoft Visual Studio 2013.

    I've gotten past a lot of the errors but now I'm getting: Error 1 error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' C:\otclient-master\vc12\libboost_chrono-vc120-mt-1_55.lib(chrono.obj) otclient That's when I try to compile in 64bit (x64) but it...
  18. Aleada

    Lua Password in my database are wrote plaintext..

    I recommend using rev 3884 but that's just me :p Here's a link for it if you want: http://otland.net/threads/backup-of-some-old-sources.199436/
  19. Aleada

    Lua Password in my database are wrote plaintext..

    Couple questions that will help you get it answered faster: What distro are you using? Are you using a website? (If so, which?) The only time I've had a problem like that was when I was using a website that I didn't set up correctly the first time haha
  20. Aleada

    Linux Temple Position

    What about your map? Are the towns added (Mapeditor)
Back
Top