Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2006, 09:51 AM
Hollissa
Fire Beetle
 
Join Date: Dec 2005
Posts: 8
Default Captain Hazran

Captain Hazran in west freeport does take the warrior tomes and gives the abilities. I tried to edit the warrior GMs in PoK to take the tomes as well but I don't understand the script and my copy/paste attempt ended with a client crash to desktop. :( I would appreciate it if anyone who knows what they are doing would post the script I need to paste into the Warrior GMs Quest .pl file.
Reply With Quote
  #2  
Old 05-26-2006, 11:16 AM
swish
Hill Giant
 
Join Date: Jan 2005
Posts: 120
Question I was wondering

hey guys, i was wondering if it is possible to set a quest to give all the discs at once ? cause i was trying to put merchants for all tomes/classes and i found out that there are too many tomes heh. like 400 i think
Reply With Quote
  #3  
Old 05-26-2006, 01:48 PM
ylosh
Sarnak
 
Join Date: Jan 2006
Posts: 39
Default

hollissa - here is the plugin FNW created for class gm's to take tomes and train the players. copy this into a file called guildmasters.pl and place this into your plugins folder.

Code:
    #looks through the items haded in for discipline tomes,
    #processing them as we find them.
    sub try_tome_handins {
    	my $itemcount = shift;
    	my $isclass = shift;
    	my $expectclass = shift;
    	
    	my @tomes = ();
    	foreach my $i(keys %{$itemcount}) {
    		if(quest::isdisctome($i)) {
    			push(@tomes, $i);
    			delete $itemcount->{$i};
    		}
    	}
    	if(@tomes > 0) {
    		if($isclass eq $expectclass) {
    			foreach my $i(@tomes) {
    				quest::traindisc($i);
    			}
    		} else {
    			quest::say('You are not a member of my guild. I will not train you!');
    			foreach my $i(@tomes) {
    				$itemcount->{$i} = 1;
    			}
    		}
    	}
    }
    
    1;
then put these few lines into the sub EVENT_ITEM section of the .pl file for the guildmasters you want to be able take tome handins. replace 'Ranger' with the name of the class being trained. also assumes you have the check_handin/return_items plugin but you can get that from cvs if you don't already.

Code:
   #do all other handins first with plugin, then let it do disciplines
   plugin::try_tome_handins(\%itemcount, $class, 'Ranger');
   plugin::return_items(\%itemcount);
Reply With Quote
  #4  
Old 05-27-2006, 03:34 AM
swish
Hill Giant
 
Join Date: Jan 2005
Posts: 120
Post Thanks =)

Thanks alot I will try it out.
Also I was wondering if there is a way to to make a quest that will train your disciplines for free up to a certain level like 65 for example.
Cause I was trying to put all the disc tomes on merchants and it requires alot of work. There are alot of tomes. Or maybe there are any merchants that already have all the class specific tomes ?

Thanks for helping =)
Reply With Quote
  #5  
Old 05-29-2006, 09:27 PM
faumadanu
Fire Beetle
 
Join Date: Aug 2004
Posts: 1
Default

wrong posted message ...

Cant delete it !
Reply With Quote
  #6  
Old 05-30-2006, 02:50 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

you can make a quest to call quest::traindisc(ITEMID) a bunch of time for each tome you want to act like they handed in.
Reply With Quote
Reply


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:59 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