Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::need work

Quests::need work This is where quests that are outdated or still need work

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-19-2005, 12:19 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

The main thing im concerned about is ...
Code:
if($text=~/accessories/i && $class == 'ranger')
The accepted operator for strings in perl is 'eq' not '=='.. and is considered a syntax error if interchanged because it can hinder or break performance.

The other thing is the use of &&.. its usually better to have multiple if statements..but thats just the way I would do it

If you fix your string operators, Ill sticky it
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.

Last edited by Cisyouc; 06-20-2006 at 06:45 PM..
Reply With Quote
 


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