PHP UO reader concept

Here you can post about UO Tools not specific to POL, but to the UO Client. This includes map editors, custom clients, mul editors (except UOFiddler, use it's forum), and so on.

Moderator: POL Developer

Post Reply
boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

PHP UO reader concept

Post by boberski » Wed Jun 07, 2017 12:55 am

Howdy,

lately I was working on set of php classes to read mul files for website show. This is WIP but I want to share first results.

PAPERDOLL
This is a concept of showing players on website. It's not new but there was no such thing for POL. It has specific database for POL to export player data in const period of time. It is all generated in realtime base on what is in database.

Example:
Image
Image

I modified old php script to work with new TOL MUL files. It need to be fixed in some ways :)

GUMPS
We can also show specifc gump gfx with specific color we choose.

Example:
Image
Image
Image

ART
The same as with gump.

Example:
Image
Image
Image
There is also need to add multi read on which I do not work yet.

Any ideas or thoughts about this?
Last edited by boberski on Sat Jun 24, 2017 6:12 am, edited 12 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Harley
Grandmaster Poster
Posts: 297
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: PHP UO reader concept

Post by Harley » Wed Jun 07, 2017 3:23 am

boberski, this is fantastic!
Do you have version for .mul files?
I dream to realize this on my project!

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Wed Jun 07, 2017 3:32 am

This works only on mul files :) I will put it on some kind of repo when I finish several fixes.

EDIT
Several URL examples:

http://portal.pol.uo.hyeah.pl/paperdoll/id/1713700/
http://portal.pol.uo.hyeah.pl/gump/id/666/
http://portal.pol.uo.hyeah.pl/gump/id/666/hue/10/
http://portal.pol.uo.hyeah.pl/art/id/20/
Last edited by boberski on Sat Jun 24, 2017 6:08 am, edited 4 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Yukiko
Distro Developer
Posts: 2039
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: PHP UO reader concept

Post by Yukiko » Wed Jun 07, 2017 10:03 am

It looks great Boberski!

I look forward to the finished project. Well, projects never truly are finished are they? There's always one more thing to do. :)
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Wed Jun 07, 2017 10:55 am

Yeah you are right, thats why I have list of things to fix before I will create git repository :P There is only 1 or 2 things left :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Wed Jun 07, 2017 12:58 pm

https://github.com/TorchwoodPL/PHP-MUL-Reader

Here you have! :) feel free to fork, add something and send me pull request :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Harley
Grandmaster Poster
Posts: 297
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: PHP UO reader concept

Post by Harley » Wed Jun 07, 2017 3:40 pm

boberski, awesome!
How did you do import into db?
Maybe you can share your script for all fields in db?

Yukiko
Distro Developer
Posts: 2039
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: PHP UO reader concept

Post by Yukiko » Wed Jun 07, 2017 8:57 pm

Thanks again Boberski.

I still bet you find more things to add :D
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Wed Jun 07, 2017 9:23 pm

POL script is now WIP and will be added to repo as soon as I am done with it :) if you will to write something I will be more than happy to push it to git.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Harley
Grandmaster Poster
Posts: 297
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: PHP UO reader concept

Post by Harley » Thu Jun 08, 2017 12:46 am

I have an idea to make full char export with skills & stats.
If you already have a working script, I can try to modify it with some additional goals.

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Thu Jun 08, 2017 2:24 am

I was concentrating on php part for now so I was planning to work on pol script at the weekend. If you willing to write something on your own do it and maybe I will adjust it for rendering purpose.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

boberski
Grandmaster Poster
Posts: 229
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

Post by boberski » Wed Jun 14, 2017 2:01 pm

I pushed first working wersion of POLScript to github!

EDIT:
It is connected to Alt Distro Test Shard and export characters every 30 minutes. Kiko here is you: Image
Last edited by boberski on Sat Jun 24, 2017 6:12 am, edited 4 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Yukiko
Distro Developer
Posts: 2039
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: PHP UO reader concept

Post by Yukiko » Thu Jun 15, 2017 12:04 am

Looks good Boberski but I'm not sure you got my eyes right. I think they're a brighter shade of blue. Just kidding! :)

I only wish I was familiar with PHP and other web languages. I'm doing good being able to use BB Code on the forums. :P
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest