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 02-01-2009, 04:38 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default AA merchant

On my server, I tried to make a merchant that would sell someone 5 AAs for 2k. I also wanted it to be only level 70s that could talk to him or do the turn in. Everything works swimmingly until I turn in the 2k. At that point, I can about 2 AAs and then lose a random amount of levels. I went from 75 to 52, as well as 70 to 49.

Code:
sub EVENT_SAY{
if ($ulevel >=70){
 if ($text =~/hail/i){
 quest::say("Hello, I have heard that AA exp moves rather slowly on this server, so I am here to take advantage of that and sell level 70s [AA].");
 }
 if ($text =~/AA/i){
 quest::say("Yes, it is two-thousand platinum for 5 AAs. You must be level 70 and have AA experience turned on or it will not work!");
 }
} 
}

sub EVENT_ITEM{
 if ($ulevel >=70){
  if ($platinum ==2000){
  quest::exp(875000000);
  }
 }
}
Reply With Quote
  #2  
Old 02-01-2009, 06:07 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

wasn't there a comand just to give X number of AAs to a player?
Reply With Quote
  #3  
Old 02-01-2009, 06:13 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

I looked for a command like that, but I can not find it.
Reply With Quote
  #4  
Old 02-01-2009, 06:15 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

this perhaps coudl be a great feature request for our Devs:

quest command to give, remove or reset known AAs from a player (clean reset as well as reset with giving spent AAs as unspent) wihout dealing with the XP
Reply With Quote
  #5  
Old 02-01-2009, 06:18 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Yeah I would like that too. The experience thing works like 50/50. I mean, you do get AAs, but you lose up to 20 levels at the same time, so it's not the best option.
Reply With Quote
  #6  
Old 02-04-2009, 12:55 AM
banchicawawo
Fire Beetle
 
Join Date: Nov 2007
Posts: 15
Default

This might not be the best work around, but if this quest is only for lvl 70s, then you could set the character back to lvl 70 after giving out the AAs correct?
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 05:53 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