Log in

View Full Version : Magelo-like Clone for Eqemu - version 0.3


govtcheeze
05-22-2004, 07:58 PM
Requires mysql and php...this was developed in Redhat 9, your milage may vary.

Usage:

index.php?char=govtcheeze

Be sure to add your information into the php file, such as DB name, username, password, etc.

Steps to install:

1) Download the rar file here (http://peqserver.com/govtcheeze/v0.3_govtcheeze_magelo_clone.rar).
2) Unzip everything to your web server's directory
3) Set up your database information in the index.php file
4) Source in items.sql
5) Run profile.php (see above for syntax)

Plans for future releases:
- working coin figures (cannot figure it out, yet ...)
- AAs once working inside eqemu
- HP regen

Current limitations:
- AC not quite figured correctly...formulas I got from eqemu source not quite accurate
- resists need tweaking

Please report any questions / found bugs in this thread.

Please note that I only run a minilogin, and have no real use for this so its pretty plain...just something I thought would be fun to develop :) Someone in #npcmovdb was asking me how to work with the binary character_.profile column for this purpose, but I do not think they ever got around to finishing their project. Kudos to them for giving me the idea for this. Also note I use Zend for developing, so reading this in notepad or VI will likely produce madness.

v0.3 Screenshot:
http://govtcheeze.eqemulator.net/download/profileSS.jpg

Changelog:
2004.06.13 - Sotonin
-----------------------
-Converted govtcheeze's bank, faction and backpack windows to draggable format
-Fixed item stats window to scroll vertically if the data was too long for the window.

2004.06.08 - govtcheeze
-----------------------
* inventory and bank slots now show items and contents of bags
* added faction window

5.27.04 ~changes
---------------------
-Fixed name bug with mozilla that cause un-natural stretching of window. related to $firstName and
$lastName strings

-Converted skills panel to include a scrolling panel instead of stretching out when the player had many many skills

-Re-hauled the entire look of the program. Now windows are draggable and user can show/hide them at will

-Fixed a few peeves of mine, some off-text and other visual descrepencies.

sotonin
05-27-2004, 10:19 AM
Nice govt. I've made some "modifications" to this. I'm putting each screen in it's own draggable, hideable css element.

I got the inventory working properly, gonna do the skills panel then make a buttons bar across the top like on eqlive when you click the little buttons to show / hide the appropriate screens.

-Sotonin

govtcheeze
05-27-2004, 11:05 AM
Sounds like an awesome overhaul. Be sure to keep a changelog so you get the credit, and I can post the updated file when you are done...or if you want to take over this project and host the file, I will edit out my post and you can keep the thread updated. Let me know what you choose, I cant wait to see your code! :)

sotonin
05-27-2004, 01:24 PM
OK. i completed the system. both Inventory and Skills.

I found a pretty serious cosmetic bug with mozilla and corrected it. Pretty simple, just had to run $firstName and $lastName through a trim(); so they didnt go way across the screen stretching the table out uneccesarily.

Also, if the person didnt have a last name, the text would be off. i put in a simple check against the lastname variable if it was blank. to add a linebreak.

Also rehauled the way the skills panel worked. If you had used setallskills, there was just way too many skills to display and it tiled the background image, looking rather ugly. Now skills are displayed in a scrolling div so this isn't an issue.

*note: about the link to get to skills. its the "hotbuttons" icon from eqlive. until i figure a way to link to the skills panel from the inventory panel.

Ill let you see the demo if you would come in IRC. ) then ill send you the new revised code.

-Sotonin

Virus11
05-28-2004, 10:03 AM
I have a suggestion, have the skills pop-up in a new window in a seperate skills.php or something. Make a universal config.php also if you do that so you only have to configure one file.

sotonin
05-30-2004, 11:24 AM
myself, personally. I despise pop-ups. and these days with the large amount of pop-up blockers, it's not very logical to do them.

I think that allowing the user to hide/show windows at will and drag them wherever they wish on their screen should suffice.

govtcheeze
06-13-2004, 08:52 AM
updated to version 0.3