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 06-26-2007, 05:22 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Quote:
Originally Posted by Budaworm View Post
The method above looks even more compact but you gotta write it as
Code:
    quest::say("$Phrases[int(rand($#Phrases+1))]");
}
to get it to work.
Just to prevent confusion, this is exactly what ChooseRandom was written to avoid... its just too ugly, and shouldent be nescesary.

Also, nothing changed about quests recently that I am aware of... maybe you upgraded perl versions?
Reply With Quote
  #17  
Old 06-26-2007, 11:26 PM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

Hrm. Nope. Only moved from 992 to 1002.

I'm out of town and pretty busy until at least after the 4th, so I haven't had a chance to delve into this any further. My main goal is just to go back to a method that works so that I can at least edit all the files that I dropped into the PEQ quest submission area. I was running trains of screaming frogloks before, so I know it worked at that point.
Reply With Quote
  #18  
Old 01-15-2008, 05:59 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I never did post back here, and figured I'd bump this in case anyone has any input to offer or issues they notice with it. The only issue that I'm concerned with is that it's quite a big block of text to be jamming every file with that I intend to do, but it's the best way I know of to get things working.

The final version that I've been working with looks like this below:

Code:
sub EVENT_AGGRO {
my $Phrase1 = "Your faithless devotion to a false god leaves me no choice.";
my $Phrase2 = "I shall rid the land of another infamous villain.";
my $Phrase3 = "Your foul deeds have earned my contempt.";
my $Phrase4 = "${class}s like you are better left dead than alive.";
my $Phrase5 = "It's ${races}s like you who have ruined your own lands, You'll not ruin mine!";
my $Phrase6 = "Heathen! Unbeliever! Norrath must be cleansed!";
my $Phrase7 = "Your beliefs are an insult to us all!";
my $Phrase8 = "Your actions and history are a personal affront to all I stand for.";
my $Phrase9 = "Your intolerable reputation insults all in this realm.";
my $Phrase10 = "It's time for you to take your blasphemy into the next realm.";
my $Phrase11 = "${race}s like you are better left dead than alive.";
my $Phrase = quest::ChooseRandom($Phrase1,$Phrase2,$Phrase3,$Phrase4,$Phrase5,$Phrase6,$Phrase7,$Phrase8,$Phrase9,$Phrase10,$Phrase11);
 quest::say("Areeeeewwwww");
my $Chance = quest::ChooseRandom(1,2,3,4);
 if ($Chance == '1') {
  quest::say("$Phrase");
 }
}

#Submitted by: Jim Mills
On aggro, a random phrase (from the 11 included) is chosen. The mob will say their default aggro /say, and 25% of the time will say one of the 11 random phrases. I know it wasn't every time on Live, and I put the chance at about what I figured it should be. If it were occurring every time, though it might bring back some nostalgia, I think it'd get a bit annoying :P

I have a whole list of old world says to go through. Just a sample:
Code:
Butcherblock:
Guard Haldin says 'For the glory of Kaladim, have at thee!!'
Guard Haldin says 'For the glory of Kaladim!!  You are no more.'

Greater Faydark:
Guard Highmoon says 'Time to die.'

Feerott:
a spectre says 'Areeeeewwwww'
a spectre says 'I really hate $classes like you.'
a spectre says '$classes like you always bring out the worst in me.'

Oggok:
Bouncer Wrok says 'Bouncer smash you!! 
Bouncer Wrok says 'Ha!! Bouncers best. I am victorioo.. Victer.. I win!! 

Guk:
a froglok shin knight says 'Frrroooaaakkk!'
a shin ghoul warrior says 'Rrrrrrrrooooaaakkk!'

Qeynos Guards:
Guard Weleth says 'Halt! Halt in the name of Antonius Bayle!'
Guard Gehnus says 'It's Shadowknights like you that insult all of Norrath.'
Guard Gehnus says 'Shadowknights like you always bring out the worst in me.'
Guard Hezlan says 'I really hate Shadowknights like you.'
Corporal Lancot says 'Halt!  You are an enemy of the people of Qeynos!  Stop in the name of Antonius Bayle and prepare for punishment!'

Qeynos Hills:
a gnoll pup says 'Half Elves like you are better left dead than alive.'
a gnoll pup says 'It's Half Elves like you who have ruined your own lands, You'll not ruin mine!'
a gnoll pup says 'Half Elves have no place in our realm!'
a gnoll pup says 'Filthy Half Elves like you must die!'
a gnoll pup says 'YAP!  YAP!  YAP!  In the way of my father, I claim your blood for the glory of Blackburrow!! WOOOOOOOF!!'

Fippy Darkpaw shouts 'BBBBBAAAARRRKKKK!!!!!  You humans will pay for ruining our homeland!!  GRRRRRRRR!!!!  Family Darkpaw of the Sabretooth Clan will slay you all!!  BARK! 

Oasis:
a dry bones skeleton says 'Areeeeewwwww 
a dry bones skeleton says 'It's Wizards like you that insult all of Norrath.'
a dry bones skeleton says 'Enchanters like you are an affront to my senses.'
a dry bones skeleton says 'I really hate Rogues like you.'
a Dervish Thug's corpse0 says 'My comrades will avenge my death'

Solusek B:
greater kobold says 'Grrrrr.  Bark.  Bark.  Grrrrr.'
greater kobold says 'Your foul deeds have earned my contempt.'
greater kobold shaman says 'Grrrrr.  Bark.  Bark.  Grrrrr.'
greater kobold shaman says 'Filthy Scumsuckers like you must die!'
lava guardian says 'I'll teach you to interfere with me $name'
lava guardian's corpse0 says 'My comrades will avenge my death'
Solusek kobold says 'Grrrrr.  Bark.  Bark.  Grrrrr.'
a fire goblin scout says 'Die by lava - Die by flame - Fire Peak goblins kill and maim.'

Qeynos:
Nixx Darkpaw shouts 'BBBBBAAAARRRKKKK!!!!!  You humans will pay for ruining our homeland!!  GRRRRRRRR!!!!  Family Darkpaw of the Sabretooth Clan will slay you all!!  BARK!'

Lashun Novashine shouts 'Cease this endless conflict and seek salvation in the Temple of Life!  The glory of Rodcet Nife awaits you!'

Sentinel Aegeo says 'Ogres have no place in our realm!'
Sentinel Aegeo says 'Prepare to die, infidel!!

Freeport:
Guard Jacsen says 'Let your death be a warning to all who dare oppose the Freeport Militia!
Sergeant J`Narus says 'Die, like the fool you are! 

Nektulos:
Corporal D`Abth says 'Die, like the fool you are!'
Sergeant C`Orm says 'Prepare to meet the skilled fury of a Neriak Dragoon.'
Guard D`Bious says 'Your guild must be destroyed!'
Sergeant C`Orm says 'Hardly a worthy adversary. A member of the Indigo Brotherhood deserves a much better opponent.'

Plane of Sky:
Sirran the Lunatic says 'These are the keys!  Use them well!  Hold them in your hand and touch them to the runed platforms!  Guide you they will!  Hah!  The last to go, must tell me so, or be in for a [hassle].  If there is a hassle I will go!!
Sirran the Lunatic says 'Ehem!  What? Oh, hello there! Sirran be my name.  Yes? So, come to the Plane of Sky, have you?  Killed all my fairies!  Hah!  So!  Do you wish to know how to traverse this plane? Or should I just go away?  I know much about this plane.  You would do well to listen!

Mistmoore:
a will pillager says 'Do not underestimate the might of Mistmoore!'
a shadowy sage says 'Do not underestimate the might of Mistmoore!'
a hemo enologist says 'Do not underestimate the might of Mistmoore!

a cyclops says 'Little man, little man, filled with red - I'll crunch your bones when you are dead.'
Poacher Willa says 'It's time for you to take your blasphemy into the next realm'
Poacher Willa says 'Time to die.'

orc centurion says 'Aaarrghh!! The Deathfist shall hunt you down. My death will not go unnoticed.'
Tabitha's corpse0 says 'My comrades will avenge my death'
Lorud's corpse0 says 'My comrades will avenge my death'
Tralinda's corpse0 says 'My comrades will avenge my death'
Tralinda says 'Dark Elves have no place in our realm!'
Tralinda says 'Time to die Dempi'

an orc warrior says 'Orc stomp, Orc kill - Orc weapons your blood will spill.'
orc pawn says 'You shall have all the Crushbone Orc Legions on your tail for my death. 
a lizard man warrior says 'Hssssssssssss.'
Just trying to liven up Norrath and make our critters a little more talkative
Reply With Quote
  #19  
Old 04-10-2009, 11:40 AM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

/casts rez really dead thread

Care to share the full list if you still have it 1337?
Reply With Quote
  #20  
Old 04-10-2009, 11:50 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I've had my EQ server down for about six months, and had a WoW server up in its place. All my EQ stuff is safe and sound, but stashed away on the server to where I can't really get at it for now =P (The main problem being that I chopped up all the log files I had into 10 meg chunks, so they're cumbersome to sort through, especially on a remote connection.)

I'll post back once I pull them again and can dig through them. I didn't even get to finish the ones I had posted here, truth be told. Still something on my list of things I'd like to code.
Reply With Quote
  #21  
Old 04-10-2009, 12:44 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

That would be awesome! Thanks!

Use jujuedit! Opened one of my 1.5 gig log files in about 2 seconds. Sadly, it was my freakin bank mules/bazaar mules log file ><. Need 3 years of Emarr auction data?!
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:12 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