Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2012, 08:08 PM
Vexyl
Hill Giant
 
Join Date: Oct 2009
Location: U.S.A.
Posts: 197
Default

The latest version of the quests can be found at:
http://code.google.com/p/projecteqqu...ource/checkout

You will need an svn client to checkout the repository.
TortoiseSVN is a good choice if you're using Windows.

The server may not have the check_handin plugin. Make sure that check_handin.pl is in your quests/plugins folder.
The svn repo does contain this file, so it would be best to checkout the latest revision.

If you decide to use TortoiseSVN then make a folder called quests and checkout on this link:
http://projecteqquests.googlecode.com/svn/trunk/
Reply With Quote
  #2  
Old 06-10-2012, 08:28 PM
GLGanjika
Hill Giant
 
Join Date: Feb 2011
Posts: 132
Default

Quote:
Originally Posted by Vexyl View Post
The latest version of the quests can be found at:
http://code.google.com/p/projecteqqu...ource/checkout

You will need an svn client to checkout the repository.
TortoiseSVN is a good choice if you're using Windows.

The server may not have the check_handin plugin. Make sure that check_handin.pl is in your quests/plugins folder.
The svn repo does contain this file, so it would be best to checkout the latest revision.

If you decide to use TortoiseSVN then make a folder called quests and checkout on this link:
http://projecteqquests.googlecode.com/svn/trunk/
Check_handin.pl is there,so is the quests folder (i know all the proper foldrs and stuff are there too but there may be a few things missing, if i resource will i have to do anything else to make it work (like copy any files anywhere) or is it pretty immediate?



Btw thanks for all your advice so far. =] i appreciate all feedback.
Code:
# plugin::check_handin($item1 => #required_amount,...);
# autoreturns extra unused items on success
sub check_handin {
    my $hashref = shift;
    my %required = @_;
    foreach my $req (keys %required) {
	if ((!defined $hashref->{$req}) || ($hashref->{$req} != $required{$req})) {
            return(0);
	}
    }
     foreach my $req (keys %required) {
         if ($required{$req} < $hashref->{$req}) {
             $hashref->{$req} -= $required{$req};
         } else {
             delete $hashref->{$req};
         }
     }
     return 1;
}

sub return_items {   
   my $hashref = shift;
   my $client = plugin::val('client');
   foreach my $k (keys(%{$hashref}))
   {
      next if($k == 0);
      my $r;
      for($r = 0; $r < $hashref->{$k}; $r++)
      {
         if ($client)
         {
            my $Attuneable = $client->GetItemStat($k, "attuneable");
            if ($Attuneable == 1)
            {
               # If the item is attuneable, return it as attuned
               $client->SummonItem($k, 0, 1);
            }
            else
            {
               quest::summonitem($k, 0);
            }
         }
         else
         {
            # This shouldn't be needed, but just in case
            quest::summonitem($k, 0);
         }
      }
      delete $hashref->{$k};
   }
} 

1;
__________________
"Be who you are and say what you feel because those who matter don't mind
and those who mind don't matter." - Theodore Seuss Geisel. [Dr. Seuss.]

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 12:09 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