• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Z

    [Solved] Sending more tiles to client

    It's strange, I've changed a few things but I always revert it after seeing no change Here's what I have in that part void ProtocolGame::GetMapDescription(int32_t x, int32_t y, int32_t z, int32_t width, int32_t height, NetworkMessage_ptr msg) { int32_t skip = -1; int32_t startz...
  2. Z

    [Solved] Sending more tiles to client

    Hi again, I've changed the following section void ProtocolGame::AddMapDescription(NetworkMessage_ptr msg, const Position& pos) { msg->AddByte(0x64); msg->AddPosition(player->getPosition()); GetMapDescription(pos.x - 10, pos.y - 8, pos.z, 22, 18, msg); } This is the output after...
  3. Z

    [Solved] Sending more tiles to client

    I can't seem to get this to change anything, does anyone know which function dictates how many tiles are sent to the client originally? 18 x 14 or 252 is the amount that is sent out when you login..
  4. Z

    Changing view distance

    Hi Flatlander, Thanks for taking time to respond :) In my version (2.014) the function is "sendMoveCreature" (I think!) Which is here void ProtocolGame::sendMoveCreature(const Creature* creature, const Tile* newTile, const Position& newPos, uint32_t newStackPos, const Tile* oldTile, const...
  5. Z

    Changing view distance

    Yes, that makes sense.. there are alot of things in the server source that seem to reference it - like the things you have mentioned before, but changing them doesn't seem to change the original area. Guess it's back to looking through the source code. :p
  6. Z

    Changing view distance

    I might be wrong about this but I think it's to do with the clients cache. For example, when I login to the game while the client is zoomed out. This shows However, after exploring a bit This shows If you log out and login again all the tiles you have previously walked on are no longer...
  7. Z

    Items.xml - VALUE

    You could check out the items.xml in the data/items folder for some examples. Brief examples would be: <attribute key="slotType" value="backpack"/> <attribute key="slotType" value="ammo"/> <attribute key="slotType" value="neck"/>
  8. Z

    Lua Gm Potion

    You should check out this thread http://otland.net/threads/god-book.47621/#post-482620 you just need to adapt it so it you are eating or drinking instead.
  9. Z

    Windows Sending more tiles to client

    Unfortunately google doesn't have any results..
  10. Z

    Solved Fire Walker Boots Repair By a Ruby help!

    You will need to make an action script for the small enchanted ruby (item id 7760) that executes transform item on itemid 9934 (Worn fireboots) add to actions.xml <action itemid="7760" script="tools/fireboots.lua"/> fireboots.lua function onUse(cid, item, fromPosition, itemEx, toPosition)...
  11. Z

    Windows Sending more tiles to client

    Does anyone have any ideas about this?
  12. Z

    Windows Sending more tiles to client

    Hello, I'm looking in the source files of 2.014 (protocol 9.6) for the function that deals with sending tiles to the client. I understand that the server already sends out 18 by 14 tiles to the client (that's 8 to the left, 9 to the right, 6 above and 7 below the player position.) .With the...
  13. Z

    [Solved] Sending more tiles to client

    Hello, I'd like to send more tiles from my server to the otclient. From what I can see the server sends out 18, 8 on -x(or west) and 9 on +x(or east), by 14 tiles to the client by default. So far I'm happy with the layout in the file below (Example 1) however, when walking to the west the...
Back
Top