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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 02-19-2013, 12:12 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

oops. i double posted as well. sheesh....
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #17  
Old 02-19-2013, 12:13 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

this should fix it.

Code:
my $return_count = ( ( scalar keys %itemcount ) - $knife_back );
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #18  
Old 02-19-2013, 02:08 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Just a comment: glancing at the work above, it seems it is getting way more complicated than it should be.
Reply With Quote
  #19  
Old 02-19-2013, 02:27 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

sure, he could very easily have chosen to use generic text (or none at all) when handing the unused items back, but that's pretty boring.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #20  
Old 02-20-2013, 04:40 PM
Disorder
Hill Giant
 
Join Date: Apr 2010
Location: USA
Posts: 133
Default

Sorry for delayed response. Been so busy. I'll take a look at this and let ya know.
__________________
Disorder
Reply With Quote
  #21  
Old 02-21-2013, 01:10 PM
Disorder
Hill Giant
 
Join Date: Apr 2010
Location: USA
Posts: 133
Default

Finally got to test it. I still get this response:

Quote:
[Thu Feb 21 11:09:25 2013] Ragged Jep whispers, 'Oh, Disorder, you already brought my knife back. Thank you though! You can have this one back.'
[Thu Feb 21 11:09:25 2013] Ragged Jep whispers, 'I don't want this. Here, take it back, Disorder.'
Any suggestions, mate?
__________________
Disorder
Reply With Quote
  #22  
Old 02-21-2013, 02:21 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

it's the superfluous 'my' before setting $knife_back to 1. that causes $knife_back to have a value of 1 only inside of that block (it's a completely separate instance of the variable, actually). total newbie mistake on my part.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
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 01:25 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3