current Player Language

Development forum for the EQ2Emulator Database project.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

current Player Language

Post by Ememjr » Sun Mar 17, 2019 6:03 pm

digging through DB and code it does not appear that the current language of the player is saved anywhere

Code: Select all

ALTER TABLE `xxxxxxxx`.`characters`   
  ADD COLUMN `current_language` INT(10) UNSIGNED DEFAULT 0 NOT NULL AFTER `level`;
once this is added i will write the supporting code to load when character info loads, save with save character,
and as time permits start adding the support so

if i speak dwarven and you dont,

the hear say packet has a place for language when it is sent out, then when it is read back in on other characters the language will be there and checked if the recieving player speaks it or not, if not they will reveive a messge similar to Jab says something you dont understand

thanks

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: current Player Language

Post by Jabantiz » Sun Mar 17, 2019 11:55 pm

That was put up on the patcher, new minor version is 31, version.h has already been committed.

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: current Player Language

Post by Ememjr » Mon Mar 18, 2019 5:28 am

JAB, I made a mistake, this change should be removed as it is not needed
after i was writing my code and had to do a search for current_language i then found

the current language code and entry in DB already
its in character details

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: current Player Language

Post by Jabantiz » Mon Mar 18, 2019 4:40 pm

Ok I am just removing it from the patcher then, it will have to be manually deleted on the server side.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests