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 08-10-2007, 11:36 AM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default setting coin on death

I'm trying to set coin on a mob as you would in the database normally but i want excessive amounts of copper and silver to drop. Here's my code, seems to be doing nothing.

I also want to make different amounts drop, is there an easy way to do that? I was thinking I would make a different amount drop for each minute of the hour on ingame time or something ^^.

sub EVENT_DEATH
{
quest::SetCash(115, 30, 1, 0);
}
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #2  
Old 08-10-2007, 02:05 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

There is certainly an explosion of "Opening Posts" going on here lately. Hungry little Emu'ers...

Where are you getting quest::SetCash(); as a valid command? I do not see that in the lexicon, though it is a little outdated.
Reply With Quote
  #3  
Old 08-10-2007, 04:08 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

I found it on this page http://www.eqemulator.net/wiki/wikka...a=QuestObjects
figured i'd give it a try although i wasn't sure if it actually was a command. I know i can use "quest::givecash ();" but that wasn't really what i wanted.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #4  
Old 08-10-2007, 04:42 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Holy crap! How did I never find that Wiki in a year of using the hell out of it? Thanks, man. I never even knew about all those questobjects (most I have done with quests really is fix things that were broken)

Wow, what a busy weekend you just created for me.
Reply With Quote
  #5  
Old 08-10-2007, 08:35 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

lol. Yeah i've just been doing the most basic things with quests so far, wasn't till now that i needed more. So should "quest::SetCash(115, 30, 1, 0);" work? b/c it doesn't...
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #6  
Old 08-11-2007, 05:20 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I'll see if I can look through the source today to see what's up. I am not very familiar with the whole perl/script part of the code though.
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 08:52 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