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, 02:12 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

That is the login username and password...

Default is.
Username: admin
password: admin

You can change it in the configuration.php file
Reply With Quote
  #2  
Old 07-02-2008, 03:31 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

This is going to be a huge help to me, thank you! Much thanks for writing it in PHP, as that's what I limited to using.
Reply With Quote
  #3  
Old 07-02-2008, 03:59 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

The Coin Wipe under the Maintenance section doesn't work....

This is the proper script for the coin_wipe.php under the scripts folder


PHP Code:
<?php
include("../includes/global.php");


$wipe = new mysql_db;
$wipe->sql "SELECT `id` FROM `character_`";
$wipe->query();

while(
$row $wipe->fetch_assoc()){
    
$profile = new eq;
    
$profile->LoadProfile($row['id']);
    
$profile->SetValue(0'platinum');
    
$profile->SetValue(0'gold');
    
$profile->SetValue(0'silver');
    
$profile->SetValue(0'copper');
    
$profile->SetValue(0'platinum_bank');
    
$profile->SetValue(0'gold_bank');
    
$profile->SetValue(0'silver_bank');
    
$profile->SetValue(0'copper_bank');
    
$profile->SetValue(0'platinum_cursor');
    
$profile->SetValue(0'gold_cursor');
    
$profile->SetValue(0'silver_cursor');
    
$profile->SetValue(0'copper_cursor');
    
$profile->SetValue(0'platinum_shared');
    
$profile->SaveProfile();
    
printf("%d | "$row['id']);
}
?>
Reply With Quote
  #4  
Old 07-02-2008, 04:05 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 387
Default

i did change the configuration.php file, like i said, and it still asks me for login/password.

i tried what i edited the .php to, and admin/admin just ooc and that didn't work either.
Reply With Quote
  #5  
Old 07-02-2008, 04:11 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

What OS/Web Server/PHP Version are you running?

If you want to disable the login information you can edit the header.php

Remove the following lines from header.php

PHP Code:
if(($_SERVER['PHP_AUTH_USER'] != $cfg['login']['username']) or ($_SERVER['PHP_AUTH_PW'] != $cfg['login']['password'])){
    
    
// Send Browser Authorization
    
header("WWW-Authenticate: Basic realm=\"EQ Editor\"");
    
header("HTTP/1.0 401 Unauthorized"); 
    die(
'You are not authorized to view this page');

Reply With Quote
  #6  
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
  #7  
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
  #8  
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
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 01:37 AM.


 

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