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

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2008, 04:24 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

Win Server 2003, Apache 2.0.63, PHP 5.2.5

Same thing happens when using IIS, and with Firefox and IE.

Looks like i needed to comment that out in SEARCH.PHP too....
Reply With Quote
  #2  
Old 07-02-2008, 04:55 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

i cant figure out why it isn't letting you log in that way but just comment those lines out. It wasn't supposed to be in search.php but I corrected it and i will replace what fixes I have already found so far.
Reply With Quote
  #3  
Old 07-02-2008, 05:34 PM
ndnet
Hill Giant
 
Join Date: Oct 2003
Posts: 105
Default

Spiffy looking tool I must say. I'm poking through it currently and encountered a problem with logging in, myself.

You see, I set the EQ Profile Editor up in a subdirectory of a folder that already has Apache basic authentication. When my browser hits the Profile Editor, it then passes the credentials for the previous authentication which don't match the editor.

I removed the auth check in search.php and modified the check in header.php to this simple login form that uses sessions:

Code:
<?php
include("includes/global.php"); // This already existed, to give an idea of where I added this..

session_start();

if( isset($_REQUEST["user"]) && isset($_REQUEST["pass"])){
	$_SESSION["username"] = $_REQUEST["user"];
	$_SESSION["password"] = $_REQUEST["pass"];
}

if( $_SESSION["username"] != $cfg['login']['username'] || $_SESSION["password"] != $cfg['login']['password']): ?>
<html>
<title>EQ Editor: Login</title>
<body>
<form action="" method="POST">
<label>Name:</label><input type="text" name="user" value="Username" onFocus="javascript:this.value=null;"><br/>
<label>Pass:</label><input type="text" name="pass" value="Password" onFocus="javascript:this.value=null;"><br/>
<input type="submit" value="Submit">
</form>
<?php die(); endif;
Works for me, feel free to take and modify for your needs.
Reply With Quote
  #4  
Old 07-02-2008, 05:39 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Wow, this tool looks really nice! Thanks for sharing it!

One thing I noticed is that all permanent items are showing up as having the TEMPORARY flag on them, so you probably have the Permanent and Temporary settings reversed. Pretty minor considering this is the initial release though!
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 07-02-2008, 06:09 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

Quote:
Originally Posted by trevius View Post
Wow, this tool looks really nice! Thanks for sharing it!

One thing I noticed is that all permanent items are showing up as having the TEMPORARY flag on them, so you probably have the Permanent and Temporary settings reversed. Pretty minor considering this is the initial release though!
I have seen the issue and have corrected the problem, also I have fixed couple other issues that I have seen since release.

The login system wasn't supposed to be grand or anything just something quick while I was working on the program its self.

Also I removed the unnecessary lines from search.php so it won't cause any errors in the event log.

Also the coin_wipe.php was missing a include at the start of the script in order for it to work, I have added this line. (Please be aware that this script takes several minutes so check your php.ini settings to make sure that 'max_execution_time = 3000' or higher, otherwise the script will timeout.)

I will include a 1.1 release later tonight or tomorrow.
Reply With Quote
  #6  
Old 07-02-2008, 11:38 PM
rojadruid
Discordant
 
Join Date: May 2005
Location: Smith Falls, Ontario, Canada
Posts: 283
Default

Any way that this tool could be added to the emu built in webserver?
__________________
Rojadruid

Innoruuk Server [legit]
Server Admin.
Server Status: UP
Reply With Quote
  #7  
Old 07-03-2008, 07:55 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

Got in once i commented out the login stuff! This tool is sweet! Well done man!
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:22 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3