POLServer CMS

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

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

POLServer CMS

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 Sun Jul 02, 2017 8:32 am, edited 14 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Harley
Forum Regular
Posts: 307
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: 261
Joined: Tue Oct 15, 2013 12:00 pm

Re: PHP UO reader concept

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

Last edited by boberski on Wed Jun 28, 2017 6:47 am, edited 5 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Yukiko
Distro Developer
Posts: 2139
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: 261
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: 261
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/POLServer-CMS

Here you have! :) feel free to fork, add something and send me pull request :)
Last edited by boberski on Sun Jul 02, 2017 8:32 am, edited 2 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Harley
Forum Regular
Posts: 307
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: 2139
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: 261
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
Forum Regular
Posts: 307
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: 261
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: 261
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 Wed Jun 28, 2017 6:47 am, edited 5 times in total.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

Yukiko
Distro Developer
Posts: 2139
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

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

Re: PHP UO reader concept

Post by boberski » Wed Jun 28, 2017 5:14 am

There is quite a few updates PHP wise on project repo. Feel free to chec it out. I am now working on CMS system for it. Results will be visible in couple of days at git :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

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

Re: PHP UO reader concept

Post by boberski » Wed Jun 28, 2017 6:55 am

I have pushed CMS based version, for now it only have same functionality as before. But it is builded around MVC (easy to add new modules), have subdomain support, admin panel and more. I will in future write proper readme file :)

Fo now if you wanna for some reason use this WIP version you only need to preapre config.ini with proper data, import database scheme to mysql, put POLScript inside POLl's pkg folder, edit settings.cfg and restart POL. Also you will need to upload mul files to uofoles dor on your webserver :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

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

Re: PHP UO reader concept

Post by boberski » Wed Jun 28, 2017 6:56 am

Any feedback will be appreciated! :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

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

Re: PHP UO reader concept

Post by Yukiko » Wed Jun 28, 2017 3:55 pm

Added the repo to my local repos directory so now I'll stay up-to-date with your commits.

I can see this becoming something much bigger and very useful for shards. It could be expanded to a general "info about the shard" section featuring things like the NPC types, special weapons featured, displays of maps especially for shards that use custom maps. NPC spawn locations overlayed on maps. It has great potential.
Sincerely,
Yukiko

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

Titus 2:13

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

Re: PHP UO reader concept

Post by Yukiko » Wed Jun 28, 2017 4:03 pm

I currently use Simple Machines forums as my forum software. Do you suggest I create a separate SQL database for this or can I just add the SQL info to my existing forum database? As I said before, when it comes to web design and implementation I am pretty much a newbie. You would think at 58 years of age I would know more about web design but somehow I never learned.
Sincerely,
Yukiko

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

Titus 2:13

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

Re: PHP UO reader concept

Post by boberski » Wed Jun 28, 2017 10:55 pm

You can add this to existing database no problem, script will autoinstall all model data to sql on first page run. For now you must also manualy import content of db.sql file, because I do not have models prepare for it yet :) But it will be also automated :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

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

Re: PHP UO reader concept

Post by boberski » Thu Jun 29, 2017 2:56 am

Kiko: on git you have version wit database schema autoinstaller. If you used my script before you need to delete cache/model.installed if you have that file (I do not know what commit you have on your hosting) and reenter main page, it will install all model schema to database.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

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

Re: PHP UO reader concept

Post by Yukiko » Sat Jul 01, 2017 12:26 am

Fortunately I am working on a POL related project right now that is keeping me busy so I haven't added your project to my website yet. Hopefully I can finish my project soon and have some time to actually play around with your PHP UO reader. Unfortunately don't expect me to come up with any enhancements to it because, as I've too often said, I don't do web programming but I can play with anything that gets added to it.
Sincerely,
Yukiko

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

Titus 2:13

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

Re: PHP UO reader concept

Post by boberski » Sun Jul 02, 2017 7:36 am

I renamed project on github so repo URl also change.
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

RusseL
Forum Regular
Posts: 329
Joined: Fri Feb 20, 2009 8:30 pm

Re: POLServer CMS

Post by RusseL » Mon Jul 03, 2017 2:38 am

Andenix already did something like you, at least reading of MULs with php

http://legendaryuo.xyz/megamul/megamul. ... 9&hue=1200
http://legendaryuo.xyz/megamul/megamul. ... 9&hue=1500

parameters:
int static
or
int tile
or
int mobile

int hue
bool transparent
double scale

i can ask for a github link if you interested

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

Re: POLServer CMS

Post by boberski » Mon Jul 03, 2017 9:56 am

That would be great! I would be happy to check mobile and multi reading :)
Cheers!
Boberski (http://pol.uo.hyeah.pl/)

RusseL
Forum Regular
Posts: 329
Joined: Fri Feb 20, 2009 8:30 pm

Re: POLServer CMS

Post by RusseL » Mon Jul 03, 2017 11:06 am

boberski wrote:
Mon Jul 03, 2017 9:56 am
That would be great! I would be happy to check mobile and multi reading :)
Here you go
https://bitbucket.org/ivanovar-08/megamul

But, no reader of multis there - tiles, items and mobiles only

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest