|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc. |
03-24-2013, 12:17 PM
|
Sarnak
|
|
Join Date: Mar 2013
Posts: 65
|
|
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
|
03-24-2013, 11:34 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,742
|
|
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
|
03-25-2013, 12:04 AM
|
|
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
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.
|
03-25-2013, 02:05 AM
|
Discordant
|
|
Join Date: Jan 2013
Posts: 284
|
|
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);
|
03-25-2013, 02:44 AM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,742
|
|
Quote:
Originally Posted by Zamthos
Here you go, for all the languages.
|
Loops, they're like magic. Look into them.
|
03-25-2013, 02:47 AM
|
Discordant
|
|
Join Date: Jan 2013
Posts: 284
|
|
I do use loops, I didn't know if he wanted a loop or not.
|
03-25-2013, 07:38 AM
|
Sarnak
|
|
Join Date: Mar 2013
Posts: 65
|
|
haha thanks guys, you are all the best =)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 08:16 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|