Page 1 of 2
POLServer CMS
Posted: Wed Jun 07, 2017 12:55 am
by boberski
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:
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:
ART
The same as with gump.
Example:

There is also need to add multi read on which I do not work yet.
Any ideas or thoughts about this?
Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 3:23 am
by Harley
boberski, this is fantastic!
Do you have version for .mul files?
I dream to realize this on my project!
Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 3:32 am
by boberski
Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 10:03 am
by Yukiko
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.

Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 10:55 am
by boberski
Yeah you are right, thats why I have list of things to fix before I will create git repository

There is only 1 or 2 things left

Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 12:58 pm
by boberski
https://github.com/TorchwoodPL/POLServer-CMS
Here you have!

feel free to fork, add something and send me pull request

Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 3:40 pm
by Harley
boberski, awesome!
How did you do import into db?
Maybe you can share your script for all fields in db?
Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 8:57 pm
by Yukiko
Thanks again Boberski.
I still bet you find more things to add

Re: PHP UO reader concept
Posted: Wed Jun 07, 2017 9:23 pm
by boberski
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.
Re: PHP UO reader concept
Posted: Thu Jun 08, 2017 12:46 am
by Harley
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.
Re: PHP UO reader concept
Posted: Thu Jun 08, 2017 2:24 am
by boberski
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.
Re: PHP UO reader concept
Posted: Wed Jun 14, 2017 2:01 pm
by boberski
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:

Re: PHP UO reader concept
Posted: Thu Jun 15, 2017 12:04 am
by Yukiko
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.

Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 5:14 am
by boberski
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

Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 6:55 am
by boberski
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

Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 6:56 am
by boberski
Any feedback will be appreciated!

Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 3:55 pm
by Yukiko
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.
Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 4:03 pm
by Yukiko
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.
Re: PHP UO reader concept
Posted: Wed Jun 28, 2017 10:55 pm
by boberski
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

Re: PHP UO reader concept
Posted: Thu Jun 29, 2017 2:56 am
by boberski
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.
Re: PHP UO reader concept
Posted: Sat Jul 01, 2017 12:26 am
by Yukiko
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.
Re: PHP UO reader concept
Posted: Sun Jul 02, 2017 7:36 am
by boberski
I renamed project on github so repo URl also change.
Re: POLServer CMS
Posted: Mon Jul 03, 2017 2:38 am
by RusseL
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
Re: POLServer CMS
Posted: Mon Jul 03, 2017 9:56 am
by boberski
That would be great! I would be happy to check mobile and multi reading

Re: POLServer CMS
Posted: Mon Jul 03, 2017 11:06 am
by RusseL
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