Comments (2)
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.
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:
- Install GMP extension at PHP
or - Convert using some tool and add to the folder
from ultimaphp.
Related Issues (20)
- Starting location doing wrong HOT 1
- .tele command HOT 2
- Sysmessage not sending unicode HOT 1
- Detect Z position from player when moving HOT 1
- Player won't render back after disappears HOT 1
- Item names HOT 3
- Implement EquipRequest and DropRequest HOT 1
- Detect top level item from map HOT 2
- Mac Os HOT 3
- Detect land tile Z when walking HOT 2
- 3D Client, problem opening the paperdoll HOT 1
- UltimaPHP sending remove object from view from distance players HOT 1
- Old Walkign packet issues HOT 1
- Render player/mobiles and objects around player after login
- Tooltips
- After log in packet 0x06 is called HOT 2
- Prioritize env var for ini configurations
- UOtiledata.mul failed HOT 3
- Problema no EquipRequest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ultimaphp.