Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-24-2013, 12:17 PM
vkrr
Sarnak
 
Join Date: Mar 2013
Posts: 65
Default Common Tongue - Ogred/Trolls at 95

Hey, It appears that common tongue is set to default at 95 for ogres and trolls.

Using #setallskills x does not change this , and I havnt seen a skill list for langauges so I am missing something? Is there a way to set common tongue to 100 instead of 95?

-VKRR
Reply With Quote
  #2  
Old 03-24-2013, 11:34 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Client::SetRacialLanguages() in C++ to change hardcoded values as you like for new toons.

$client->SetLanguageSkill(id, value) in perl to change skills for existing toons.

IDs:
Code:
#define LANG_COMMON_TONGUE   0
#define LANG_BARBARIAN       1
#define LANG_ERUDIAN         2
#define LANG_ELVISH          3
#define LANG_DARK_ELVISH     4
#define LANG_DWARVISH        5
#define LANG_TROLL           6
#define LANG_OGRE            7
#define LANG_GNOMISH         8
#define LANG_HALFLING        9
#define LANG_THIEVES_CANT   10
#define LANG_OLD_ERUDIAN    11
#define LANG_ELDER_ELVISH   12
#define LANG_FROGLOK        13
#define LANG_GOBLIN         14
#define LANG_GNOLL          15
#define LANG_COMBINE_TONGUE 16
#define LANG_ELDER_TEIRDAL  17
#define LANG_LIZARDMAN      18
#define LANG_ORCISH         19
#define LANG_FAERIE         20
#define LANG_DRAGON         21
#define LANG_ELDER_DRAGON   22
#define LANG_DARK_SPEECH    23
#define LANG_VAH_SHIR       24
#define LANG_ALARAN         25
#define LANG_HADAL          26
#define LANG_UNKNOWN        27
Reply With Quote
  #3  
Old 03-25-2013, 12:04 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

I have my Global_player.pl do this

Code:
sub EVENT_CONNECT {
quest::setlanguage(0,100);
}
When a player connects to the server they have maxed common tongue.

Just a suggestion of where to use it at.
Reply With Quote
  #4  
Old 03-25-2013, 02:05 AM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

Here you go, for all the languages.
Code:
quest::setlanguage(0, 100);
quest::setlanguage(1, 100);
quest::setlanguage(2, 100);
quest::setlanguage(3, 100);
quest::setlanguage(4, 100);
quest::setlanguage(5, 100);
quest::setlanguage(6, 100);
quest::setlanguage(7, 100);
quest::setlanguage(8, 100);
quest::setlanguage(9, 100);
quest::setlanguage(10, 100);
quest::setlanguage(11, 100);
quest::setlanguage(12, 100);
quest::setlanguage(13, 100);
quest::setlanguage(14, 100);
quest::setlanguage(15, 100);
quest::setlanguage(16, 100);
quest::setlanguage(17, 100);
quest::setlanguage(18, 100);
quest::setlanguage(19, 100);
quest::setlanguage(20, 100);
quest::setlanguage(21, 100);
quest::setlanguage(22, 100);
quest::setlanguage(23, 100);
quest::setlanguage(24, 100);
quest::setlanguage(25, 100);
quest::setlanguage(26, 100);
quest::setlanguage(27, 100);
Reply With Quote
  #5  
Old 03-25-2013, 02:44 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Quote:
Originally Posted by Zamthos View Post
Here you go, for all the languages.
Loops, they're like magic. Look into them.
Reply With Quote
  #6  
Old 03-25-2013, 02:47 AM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

I do use loops, I didn't know if he wanted a loop or not.
Reply With Quote
  #7  
Old 03-25-2013, 07:38 AM
vkrr
Sarnak
 
Join Date: Mar 2013
Posts: 65
Default

haha thanks guys, you are all the best =)
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 01:41 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