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.

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 06-19-2009, 07:07 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

Wow, I'm dumb. I had forgotten I turned on gm on that char so I didn't get killed while testing.

With gm off it seems just fine (though still can't identify the language, that happens at higher skill levels, right?).
Reply With Quote
  #3  
Old 06-19-2009, 07:35 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

they way i remember it, once your skill in language got to a certain point - even very low - the text would stil be garbled cuase you have long way to go to understand it, BUT you would at least know what language is been spoken.
Reply With Quote
  #4  
Old 06-19-2009, 07:59 PM
realityincarnate
Developer
 
Join Date: Dec 2007
Posts: 122
Default

If it makes you feel any better, when I was working on the npc language stuff, I spent about four hours trying to figure out why one of my characters (the gm one, of course) could understand everything but it worked fine for everyone else.

And I think it's a skill of 25 that lets you identify the language.
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 02:33 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