Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-19-2009, 07:01 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default Players Learning Languages from NPCs

I think I found a bug that occurs when a PC learns a language from an npc.

Basically it seems if a player learns a language from an npc, zones, and hears it again from an npc, the language isn't garbled at all.

It shows up in their skills list as well.

I'm not sure if this occurs only when the player can't learn the language (either due to level or class/race constraints), or with any language they haven't learned.

Here's the script for the mob:
Code:
#Orc chit-chat
#Revised Angelox 10-23-06
#zone: Crushbone

# Orcish
my $lang = 19;

sub EVENT_COMBAT
{
	$rand = rand();
	if(($rand < .3)&&($combat_state == 1))
	{
		quest::say("Death!!  Death to all who oppose the Crushbone orcs!!",$lang);
	} elsif(($rand > .67)&&($combat_state == 1))
	{
		quest::say("Hail, Emperor Crush!!",$lang);
	} elsif(($rand >= .3)  && ($rand <= .67)&&($combat_state == 1))
	{ 
		quest::say("Fall before the might of Clan Crushbone!!",$lang);
	}
}

sub EVENT_ATTACK
{
	quest::say("Centurions!!  Legionnaires!!  Come join the fight!",$lang);
}


sub EVENT_DEATH
{
	quest::say("You shall have all the Crushbone orc legions on your tail for my death!",$lang);
}
And what the player sees:

Code:
orc centurion says,in an unknown tongue, 'You shall have all the Crushbone orc legions on your tail for my death!'
The mob is speaking orcish and the player is a high elf mage with a skill of 3 in orcish, which he learned from the mobs, not a trainer.
Reply With Quote
 


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 07:08 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