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

  1. Baxnie

    Feature Antirollback

    About the original post, here are some thoughts: That is a nice idea to save yourself from simple crashes. Case 1: player = nullptr; ... player->addItem(...); Here your memory is probably consistent and your server crashed by calling a nullptr. The fix is probably checking if the player is...
  2. Baxnie

    Map Generator

    After a long time I've resumed the map generator. As said on the first post, the goal here is to generate the path of a hunting cave. For that, I've chosen to study Cellular Automaton. Basically we create a simple set of rules to determine the state of a Tile over several iterations. Here, tile...
  3. Baxnie

    Map Generator

    Hello, There's been a while since I don't post here at OTLand. Last week I've decided to research a subject that has been my interest for years: pseudo-random map generation. This weekend I've made the first prototype: I've chosen Remere's Mapeditor as the base code because it already has...
  4. Baxnie

    Moving towards OTC

    Steps to reproduce it. And recheck if you properly added all lines from diff file.
  5. Baxnie

    Moving towards OTC

    Spr stores 32x32 images, however there're a lot of items that uses more pixels than that. When creating a texture from the spr data, it's not very interesting to create many 32x32 textures. Let's say a Demon, it has width 2 and height 2 (if I recall right), if we create simply 32x32 textures we...
  6. Baxnie

    Moving towards OTC

    FYI: When you load a thing, it's created one big texture for each animation phase including layers, x,y,z patterns, width, height. So, if you have a 2x2 creature with 4 directions and a mask layer, a texture of size 256x256 will be created (there's a function to calculate a power of 2 texture...
  7. Baxnie

    Moving towards OTC

    As a former OTC developer i'll first say that this discussion about code style is not relevant. There'll always be people saying that 4 spaces are better, or that tabs are better. The important thing is that after chosen, you must stick to the code style. There are probably a few inconsistencies...
  8. Baxnie

    OTClient Cavebot

    https://github.com/BenDol/otclient-candybot
  9. Baxnie

    Suggestion - WASD

    It's already implemented.
  10. Baxnie

    Compiling in Windows Lib Missing

    Someone once posted it at otclient's issues: https://www.dropbox.com/sh/se1okacemoqzjve/UAkRCiGXXR/otclient-libs_mingw32-dwarf2.zip
  11. Baxnie

    Some noob questions about effects/graphics

    Take a look at animatedtext.cpp Functions: drawText and merge
  12. Baxnie

    Some noob questions about effects/graphics

    That's a server side variable.
  13. Baxnie

    Some noob questions about effects/graphics

    You can edit src/client/effect.h There's a constant in miliseconds for delay.
  14. Baxnie

    Question about 'bot protection'

    This bot protection ensures that the function was called from an input event, such as mouse/keyboard. You can recompile client so it won't check if the function was called from input event.
  15. Baxnie

    New OTItemEditor

    You should make a proper fork before it becomes too big and then make pull requests. It wont be good to have 2 versions of the same application. Just now made a pull request: https://github.com/opentibia/item-editor/pull/8
Back
Top