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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-12-2005, 08:44 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default is Anyone else having a problem with the givecash command ?

Well the quest i have works.. the hand in, the exp reward... but the givecash command isn't working.

I know how to script so this is just a snippit. this is how you use it right?

quest::givecash(1,1,1,0);

That should give the player one copper one silver and one gold shouldn't it ?
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
Reply With Quote
  #2  
Old 03-13-2005, 03:16 AM
sysadmin
Hill Giant
 
Join Date: Feb 2005
Posts: 163
Default

try quest::givecash("1","1","1","0");
Reply With Quote
  #3  
Old 03-13-2005, 10:01 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

it is not a string...if does not work with no ", it's because it is broken. Anyways, I will have a look tomorrow.
Reply With Quote
  #4  
Old 03-13-2005, 12:42 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

i thought it was
Code:
quest::givecash(platinum,gold,silver,copper);
but i havent used that command in a while, i could be wrong.
__________________
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.
Reply With Quote
  #5  
Old 03-13-2005, 07:02 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default .

No cash is awarded to the quest doer. and no it does not nees Quotes as it is not a string.

Side note:
It's funny how once you have scripted in one language how everyother scripting language looks almost exactly the same. eq. "C / NWNScript / Perl / Etc"

Well anyways.. back to the point. I would really appreciate if you can find out if the command is broken in 6.0dr2.
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com
Reply With Quote
  #6  
Old 03-13-2005, 07:49 PM
killspree
Dragon
 
Join Date: Jun 2002
Posts: 776
Default

Just tested it with quotes and it works fine, so it must be messed up.
Reply With Quote
  #7  
Old 03-14-2005, 04:02 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by mwmdragon
Side note:
It's funny how once you have scripted in one language how everyother scripting language looks almost exactly the same. eq. "C / NWNScript / Perl / Etc"
Tis why I always make so many syntax errors.

Still cant get used to using 'eq' for strings.
__________________
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.
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 06:45 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