POLServer CMS
Moderator: POL Developer
POLServer CMS
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?
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?
Last edited by boberski on Fri Sep 22, 2017 11:24 am, edited 15 times in total.
Re: PHP UO reader concept
boberski, this is fantastic!
Do you have version for .mul files?
I dream to realize this on my project!
Do you have version for .mul files?
I dream to realize this on my project!
Re: PHP UO reader concept
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://pol.uo.hyeah.pl/raw/paperdoll/id/1713700/
http://pol.uo.hyeah.pl/raw/gumpart/id/666/
http://pol.uo.hyeah.pl/raw/gumpart/id/666/hue/10/
http://pol.uo.hyeah.pl/raw/art/id/20/
EDIT
Several URL examples:
http://pol.uo.hyeah.pl/raw/paperdoll/id/1713700/
http://pol.uo.hyeah.pl/raw/gumpart/id/666/
http://pol.uo.hyeah.pl/raw/gumpart/id/666/hue/10/
http://pol.uo.hyeah.pl/raw/art/id/20/
Last edited by boberski on Fri Sep 22, 2017 11:25 am, edited 6 times in total.
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
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.
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
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
https://github.com/TorchwoodPL/POLServer-CMS
Here you have! feel free to fork, add something and send me pull request
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.
Re: PHP UO reader concept
boberski, awesome!
How did you do import into db?
Maybe you can share your script for all fields in db?
How did you do import into db?
Maybe you can share your script for all fields in db?
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
Thanks again Boberski.
I still bet you find more things to add
I still bet you find more things to add
Re: PHP UO reader concept
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
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.
If you already have a working script, I can try to modify it with some additional goals.
Re: PHP UO reader concept
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
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:
EDIT:
It is connected to Alt Distro Test Shard and export characters every 30 minutes. Kiko here is you:
Last edited by boberski on Fri Sep 22, 2017 11:25 am, edited 6 times in total.
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
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.
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
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
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
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
Any feedback will be appreciated!
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
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.
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.
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
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
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
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.
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: PHP UO reader concept
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
I renamed project on github so repo URl also change.
Re: POLServer CMS
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
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
That would be great! I would be happy to check mobile and multi reading
Re: POLServer CMS
Here you go
https://bitbucket.org/ivanovar-08/megamul
But, no reader of multis there - tiles, items and mobiles only