Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-02-2010, 12:39 AM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default Help with implementing a Progression Server

I am trying to implement a progression style server. Problem is I can not seem to get it to work.
I started out setting zone flags but everytime I tried to enter a flagged zone it crashed that zone. Then I tried writing to the database itself with this

sub EVENT_Death {
my $dsn = 'dbi:mysql:peq:localhost:3306';
my $user = 'YYYYY';
my $pass = 'XXXXX';
my $dbh = DBI->connect($dsn, $user, $pass)
or die "Can’t connect to the DB: $DBI::errstr\n";
my $sth = $dbh->prepare('update variables set value = 32767 where value = 16384');
$sth->execute();
}

but that did not work either. I think I may have missed some information when trying that one. A direct db write changing the allowed expansions seemed like the quickest method for achieving this task but my method didn't work.

How should I go about setting this up?
Reply With Quote
  #2  
Old 10-02-2010, 06:17 PM
blackdragonsdg
Dragon
 
Join Date: Dec 2008
Location: Tennessee
Posts: 656
Default

Nevermind, I figured it out.
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 09:14 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