another thing for malevolent ( I may do it myself but .. )
for the global faction you should get the total number of faction existing else just by getting more bad faction your global faction may go up ( number is divided by more factions) |
I know your still working on getting everything functioning corectly. BUT... have you considered making the stats page look like the real items stats window? Frame with blank background and then throw the item text and icon on top.
|
actually.......
hm..... thats exactly what I'm doing at the moment but formating the window is goin to take a little time so except it for tomorow or monday (popup window with the info in, not displaying stats = 0) |
I was thinking the same thing for doing item stats.. Going to try and fool around with php's image manipulating functions to see if I can do it.. No promises as Ive never fooled around with them before, but I'll give it a shot..
Need to get a jpg/gif/pcx of a blank item scroll box first, after that, putting text on top of it shouldn't be too tough.. Another change I was thinking about making is make a lookup table for spell id's/names so this program could display the spell effect names. If you drop the spdat along with it, you could parse through it that way, but would be easier just to make a table for it. |
Ok, heres another quick update..
This one will allow you to use a layout.php file to determine a consistant color scheme for your backgrounds, and a common header.. To use, edit the layout.php file to define your background color, and table colors.. This is optional to use.. If you dont want all your pages looking the same, then just comment out the PrintHeader function call in each .php page that calls it. I like this because it gives your pages a more consistant feel. I also included a new .php called globalfunctions.php. Require 'ing it on each page gives you the ability to define your function once, and call it from any page. I left the header empty for the time being.. Just an empty table right now with a couple of borders.. I also included a dump of the sql requried to make the new comments table. To make the new table, just do a mysql create database legends; #or whatever you want to call it use legends; source legend.sql |
here is the server.php ( php page displaying info about the server ) its now able to connect to your world Telnet and tell you how many players are on your world using the who command
|
(forgot the zip...)
|
little bug .. the number of player is not the first line as I thought before having a player connected
so if you have no player on the server it will display 0 players , else it will display the first returned player info would be great if in next release the who number of player could be on the first line , else if someone can fix the code to keep searching line by line till it displays the number of player |
Ok, my newest update, not quite finished but will give you an idea of what im shooting for..
When you click on an item off the character profile page, it will take you to a new page that will display most of its stats, and an image box designed to look like when you do a right click in game.. (ala eqmaps) When Im finished, I hope to have it so when you click on an item link, you will get a popup window with just that view in it.. I've also included Storm's latest server.php change.. |
here is the web based broadcast to server
first page is a basic form to enter account name password and text to broadcast , second is where the connection to the world using accountname and password is done and the broadcasting is done is succesful |
Ok Last version including Trumpcard layout modification and item display
The number of player online is now working Added the broadcast command , lock unlock world command and worldservershutdown. for those ones you need an account 200+ on the server with a password ( you can use FQadmin to add a password to an account). Enjoy ;) |
Latest changes..
Fixed most off the item code.. well, alot of it.. put in so item page is a small javascript popup, with the pertinent data.. Most is displaying correctly.. Still have to fix a bug in weight calculation, and make a name lookup for spells. Right now it will show the Effect with the numeric spell value, when I make a lookup table I'll convert this to the spell name. Also, still need to add in Race/Class lookups.. I'll fix that up a bit later.. This version includes Storms last posted changes. Update: Ok, Races and Classes display are working (Thanks to Lyn and Ruz for the info on the weirds**t mod 2 remainder determination technique.) Last piece of any value is the Slot fields. Try to get to that tonight and have a finished copy. Oh, by the way, I say Lyenu's character display php last night, makes me want to quit bothering... LOL... Its fantastic! I want to snake that one..lol.. |
Error in mysql
I downloaded and setup the legends php stuff, and uploaded it to the webpage Im gonna use for my legends server. When i try to view the webpage, it has lines of php code with Mysql_error in several places... Im not too familiar with Php code, so if someone could help me out with this it would be great
Webpage is at http://eqemulegends.tripod.com/index.php if you want to see the errors... |
They don't support PHP
|
So if i want this to work right i have to be hosted on a server with a .com address?
|
All times are GMT -4. The time now is 04:51 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.