Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Plugins & Mods

Quests::Plugins & Mods Completed plugins for public use as well as modifications.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2014, 02:39 PM
Mortow's Avatar
Mortow
Hill Giant
 
Join Date: Apr 2013
Posts: 215
Default

I had issues with it parsing the info from my config file. I know this is because I have something wrong somewhere but I was able to get it to function by just commenting out the parser section like this:

Code:
    # CONFIG VARIABLES - Parsed from eqemu_config.xml
    #my $confile = "eqemu_config.xml"; #default
    #open(F, "<$confile") or die "Unable to open config: $confile\n";
    #my $indb = 0;
    #while(<f>) {
    #    s/\r//g;
    #    if(/<database>/i) { $indb = 1; }
    #    next unless($indb == 1);
    #    if(/<\/database>/i) { $indb = 0; last; }
    #    if(/<host>(.*)<\/host>/i) { $host = $1; } 
    #    elsif(/<username>(.*)<\/username>/i) { $user = $1; } 
    #    elsif(/<password>(.*)<\/password>/i) { $pass = $1; } 
    #    elsif(/<db>(.*)<\/db>/i) { $db = $1; }
    #}
Adding the # before a line comments it out.

Then I manually added my db username and password to lines 35 & 36, like this:

Code:
    if(!$connect){ $connect = DBI->connect($dsn, USERNAME, PASSWORD); }
    if(!$connect2){ $connect2 = DBI->connect($dsn, USERNAME, PASSWORD); }
Once that was done it worked for me.
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 02:52 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