Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2004, 05:16 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default 0.6.0DR2 PERL Scribespells issues

hello,

I've got a problem with scribespells on my server. The script if working fine on 0.6.0DR1 but not with the latest cvs releases.

Here is the script:
Code:
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Hello, I will scribe yours 20 first [spells] for free. To get the next ones, you will have to pay. You can only scribes spells of your level.");}
if ($text=~ /spells/i){quest::say("Scribing...");
quest::scribespells(20);}
}

Here is the error when someone says 'spells':
Code:
[Status] Script error: qst78::EVENT_SAY - Perl runtime error: Usage: scribespell
s() at (eval 249) line 5.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
Reply With Quote
  #2  
Old 11-07-2004, 05:33 AM
sotonin
Demi-God
 
Join Date: May 2004
Posts: 1,177
Default

this kind of belongs in the quests forum. That looks like a perl syntax error.
Reply With Quote
  #3  
Old 11-08-2004, 03:42 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

contrary to popular belief... scribespells does not in fact take any arguments... it scribes spells up to the current player's level. Granted this could easily be changed, but has not yet been changed.

The new perl system just properly checks arguments, that is why you are getting an error.
Reply With Quote
  #4  
Old 11-08-2004, 07:59 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

Working fine without argument, thanks.

Mag
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
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 03:22 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3