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

    Error when logging in

    I'm getting this also... did you find a fix?
  2. Z

    [Solved] Sending more tiles to client

    Sure, check out the first post :)
  3. Z

    [Solved] Sending more tiles to client

    Ah man, that did the trick.. we are in business now with the client drawing 22 by 18 tiles. Thanks for all the help Flatlander, it's been insightful ;) Thanks also to you Summ, just shows that I have alot to learn !
  4. Z

    [Solved] Sending more tiles to client

    I'll re-do the map, will be interesting how the tibia client draws it too.
  5. Z

    [Solved] Sending more tiles to client

    I'm starting to understand, thanks for that explanation ;) So, the error lies in the input for GetMapDescription, and I'm assuming that other things that are sent after this error will be bugged too perhaps other things that display numbers? The /t and /a commands are a good testing function...
  6. Z

    [Solved] Sending more tiles to client

    Here's something interesting: I logged into the tile just 1 square to the north west of where i'm standing (that's where the login animation appeared) but look at the number of tiles... 19 on the bottom row and 15 going down. This was just randomly entering in a value on the first line...
  7. Z

    [Solved] Sending more tiles to client

    Noted :) Here's the results Seems like it is taking the values from the first line
  8. Z

    [Solved] Sending more tiles to client

    Not a problem, seems oldPos is giving the same result :( Didn't expect this to be as troublesome as it is! Ah, good to know about put<char> :)
  9. Z

    [Solved] Sending more tiles to client

    I'm not sure, I've set the width and height in the gameinterface.lua for the client too.. so I'm pretty stumped I've tried to enter the above, I think my issue might be the version of TFS I'm using - Instead of ->put<char> I have addbyte... Here's the compile log
  10. Z

    [Solved] Sending more tiles to client

    I've changed the above and I get the standard 18 x 14, however when I move I can only move 1 square then my character is frozen. Another thing to note is my skills panel Weird!
  11. Z

    [Solved] Sending more tiles to client

    I've tried the above, here's the result! I've been removed from existence completely!
  12. Z

    [Solved] Sending more tiles to client

    Tried the first part and it just moved me to the top left of the map. I also tried second part, but it returned this error: >..\protocolgame.cpp(3359): error C2374: 'x' : redefinition; multiple initialization 1> ..\protocolgame.cpp(3355) : see declaration of 'x' 1>..\protocolgame.cpp(3359)...
  13. Z

    [Solved] Sending more tiles to client

    I've tried this void ProtocolGame::AddMapDescription(NetworkMessage_ptr msg, const Position& pos) { msg->AddByte(0x64); msg->AddPosition(player->getPosition()); int32_t x = (pos.x - 10), y = (pos.y - 9), z = (pos.z), width = 22, height = 20, offset = 0, skip = -1...
  14. Z

    [Solved] Sending more tiles to client

    Sure, edited last post :)
  15. Z

    [Solved] Sending more tiles to client

    I'm getting the following error - \protocolgame.cpp(3355): error C2664: 'ProtocolGame::GetFloorDescription' : cannot convert parameter 8 from 'int' to 'int32_t &'
  16. Z

    [Solved] Sending more tiles to client

    All tiles are on floor 7, have tried with a fresh map also just to be sure. I'm going to try with a fresh rebuild on a new download of the source - just changing the GetMapDescription(pos.x - 8, pos.y - 6, pos.z, 18, 14, msg); part. Edit ~ tried with fresh source, still no luck Very strange..
  17. Z

    [Solved] Sending more tiles to client

    Yup! It's just a huge testing area :) Heres - GetMapDescription(pos.x - 1, pos.y - 1, pos.z, 10, 10, msg);
  18. Z

    [Solved] Sending more tiles to client

    Currently on floor 7 (posx= 1068, posy= 1099, posz = 7)
  19. Z

    [Solved] Sending more tiles to client

    Sure, not a problem For GetMapDescription(pos.x - 4, pos.y - 3, pos.z, 10, 8, msg); We get this For GetMapDescription(pos.x - 6, pos.y - 5, pos.z, 14, 12, msg); We get and for GetMapDescription(pos.x - 9, pos.y - 7, pos.z, 20, 16, msg); We get For every change I've just logged in...
  20. Z

    [Solved] Sending more tiles to client

    This is what I have there void ProtocolGame::GetFloorDescription(NetworkMessage_ptr msg, int32_t x, int32_t y, int32_t z, int32_t width, int32_t height, int32_t offset, int32_t& skip) { Tile* tile; for(int32_t nx = 0; nx < width; nx++) { for(int32_t ny = 0; ny < height; ny++)...
Back
Top