GithubHelp home page GithubHelp logo

Comments (2)

joaoescribano avatar joaoescribano commented on May 22, 2024

So... I finally discovered how to read this files, I'll work more as soon I can, but now it seems that UOP has many small files inside, I've already got this "files" from the UOP and now I need to understand what is better:

Option 1: Read the UOP map files everytime the server starts (From 2-3 seconds of load time to 35+)

Option 2: Read only the UOP files offsets and everytime needed read the file

Option 3: Read one time and stores on the filesystem as an old "mul" file (data is stored sequentially on a grid of 8x8 tiles) so we will be able to easily read land tiles on the file on demand.

Reading UOP file is important because we need to read the landscape to determine which is the actual player Z position, it player is at the "LAND" or over a "STATIC" item. (This can be reached by the new walking packet, which is already implemented, but I cannot do since when i finished the packet coding)

from ultimaphp.

joaoescribano avatar joaoescribano commented on May 22, 2024

Finally, after a year... its solved!!!

Thanks to @fabiohvp we've been able to read correctly the UOP files and convert it to .mul files (since we can read it better and easily).

To convert the files, users will have 2 options:

  1. Install GMP extension at PHP
    or
  2. Convert using some tool and add to the folder

from ultimaphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.