current Player Language
Posted: 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
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
Code: Select all
ALTER TABLE `xxxxxxxx`.`characters`
ADD COLUMN `current_language` INT(10) UNSIGNED DEFAULT 0 NOT NULL AFTER `level`;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