Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Tools

Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2002, 08:44 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default PHP Legends code

php script to begin a Legend system

code is in zip
Reply With Quote
  #2  
Old 04-25-2002, 08:45 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

Hmm here is the zip


use new zip see below
Reply With Quote
  #3  
Old 04-25-2002, 11:23 AM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default

- Cleaned up the ui some
- Refactored some code
Reply With Quote
  #4  
Old 04-25-2002, 11:26 AM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default

Oops. :-)

--MV
Reply With Quote
  #5  
Old 04-25-2002, 07:57 PM
Shortlived
Sarnak
 
Join Date: Apr 2002
Posts: 92
Default

umm what is this?
Reply With Quote
  #6  
Old 04-25-2002, 11:20 PM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

watch here (if I'm up)

http://stormgod.dyndns.org
Reply With Quote
  #7  
Old 04-25-2002, 11:33 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Very cool !

I had gotten about 60% of the way through my php database editor, very similar to this, cept it was geared at changing the database, not just displaying, but got sucked into other projects so I never did finish.. Glad to see someone's deciding to pick up and work on some web database integration tools, great work! (Those blobs are a pain to work with!)

I havent seen the legend code on EqLive, but I think the next cool thing would be to generate pop up windows with item stats when you right click on their items. Now that you are the master of the blob, shouldn't be too hard! LOL.. Really cool would be using php's built in image functions to produce a gif with a 'fill-in-the-blanks' format so you could display something that looked like when you examined an item on live (with the little scroll background)

If you dont mind Storm, I wouldnt mind playing with and adding on to your code some later.. It would give me the chance to start playing with some of the new 4.2.0 functions, and play with image functions a bit...
Reply With Quote
  #8  
Old 04-25-2002, 11:37 PM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

hee just do Trumpcard , The better it is .. you know . I want peeps to play with else I wouldnt have put it here ;o)
Reply With Quote
  #9  
Old 04-26-2002, 11:05 AM
Shortlived
Sarnak
 
Join Date: Apr 2002
Posts: 92
Default

Can't connect to Mysql databse :( I get the idea of it though, and I think it would rock to have a stats site for your server! Also a web bassed...or at least php based database front end would rock!
Reply With Quote
  #10  
Old 04-27-2002, 10:09 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Ok, here's my quick addition..

Items are now hyperlinks to an item.php page that will yank the basic item data and display it for you..

Yes, its ugly, but it works.. I'll beautify it later if I get the desire, Im not much on the flash side of stuff though..

Storm, I based it on your format , (which I like btw), just pulled all the different stats out into seperate fields to make additons/changes easier, and to make the sql update field a bit easier to manage..


Noticed a bug in yours though, no biggie, EAR1 is getting deciphered as WRIST item, think you have the item field for WRIST2 in display.php being set as EAR1 in the sql query.

Actually, it looks like the id is coming back correctly, its just showing the wrong name on the display page.. I'll see if I can fix it..

Update: Found the error, where you were creating the wrist2name, you must have copy and pasted and forgot to change 1 field, it was setting ear1name=substr($data2['wrist2name']

Putting a new att. in with this minor fix...
Reply With Quote
  #11  
Old 04-27-2002, 11:13 AM
Arcalyn
Hill Giant
 
Join Date: Apr 2002
Location: Columbus, Ohio
Posts: 143
Default Where is the php progy?

Link to DL php?

And/Or what is php?

Please & Tanks
__________________
RTFM? ----> Does it come in braille?
Reply With Quote
  #12  
Old 04-27-2002, 11:46 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

PHP stands for PHP Hypertext Preprocessor

PHP use to stand for Personal Home Page, it was a library a guy wrote to be able to build his homepage with better embedded functionality and it expanded from there..

If you dont know what it is, I wouldnt recommend you try to figure it out unless you are a programming/web enthusiast.

You can get it from

http://www.php.net

You need a webserver (Apache) to go along with it to use this stuff we're posting..
Reply With Quote
  #13  
Old 04-27-2002, 11:55 AM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

hehe nice trumpcards I will reuse your additions and release a new one with some changes ( possibility for visitors to leave some comments and a server info page ) will post it in a matter of minutes
Reply With Quote
  #14  
Old 04-27-2002, 12:11 PM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

here it is , please read the readme because a new table is used , you can use a new database to use it , its for the comments , this script part is using the db2.php to configure connect to the database .

CREATE TABLE `comments` (`id` SMALLINT (3) DEFAULT '0' NOT NULL, `title` VARCHAR (12 DEFAULT '0', `text` TEXT, PRIMARY KEY(`id`), UNIQUE(`id`), INDEX(`id`))

this is the query to create the table
dont forget to change the database name from legends to eq in db2.php if you want to use the comment in the same db
Reply With Quote
  #15  
Old 04-27-2002, 12:22 PM
stormgod
Discordant
 
Join Date: Apr 2002
Posts: 419
Default

corrected a little bug in your correction , you where poiting to the right item for ear1 and wrist2 but names were inverted its corrected too (its in the zip )
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:46 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3