-
February 9th, 2014, 17:22 #61
Then for every untranslated language a GM wants to use they would have to /setlanguage for each individual one before they use it - suddenly it is a 2 step process to get untranslated language fonts working. Then the GM probably has to use a custom language name that they are familiar with (so they can remember it for next time), and so there is always the outside chance of a player guessing and putting a bunch of languages in their list, or the GM not knowing the a player has "demon" listed as a language. I try to eliminate any such chances in my code wherever possible - even if they are incredibly remote. /fc being scrambled allows the GM to know that if they type "/fc abyssal Hello there!" there is no chance of translation and players can't use the cheat method to find out what is being said.
There will be at some point.
FG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 10th, 2014, 05:01 #62
The extension is very nice, and I'm happy to see something like this in the works. I have two things in note, however; One is a suggestion, the other is a bug that I continually experience.
One, in regards to the Language Toggle in development, would it be possible to make it so that certain players or characters speak in a specific language until un-toggled? I ask because it would be very useful in cases where certain characters can only speak some languages, which are removed from the norm (For example, our whole party can speak Common, and makes an effort to communicate with it. Our rogue, however, can only speak Undercommon and Sylvan, due to his race and intelligence bonus, and thus relies on two other characters to translate for him)
Two, I get a strange error whenever I try to use any of the slash-handlers for custom languages. I attempted to use both /listlanguages and /setlanguage, but whenever I try, I get either of the following:
Script Error: [string "scripts/fontchat.lua"]:76: attempt to concatenate a nil valueScript Error: [string "scripts/fontchat.lua"]:143: bad argument #1 to 'lower' (string expected, got nil)
-
March 10th, 2014, 05:09 #63FG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 10th, 2014, 18:09 #64
I've gone through the code and I can see where these 2 errors could occur - it is when the /setlanguage command is used without the correct format.
I will work on making the extension more robust around this code at some point soon.
The fix is to close Fantasy Grounds, edit the db.xml file in your campaign folder and delete any blank <id-XXXXX> entries from the <language_extension> section.
Make a copy of your campaign db.xml file before modifying it! (Just in case).
For example, the following has a problem <id-00002> entry:
Delete <id-00002> and the closing tag </id-00002> to give:Code:<language_extension> <id-00001> <fontname type="string">osiriani</fontname> <languagename type="string">egyptian</languagename> </id-00001> <id-00002> </id-00002> </language_extension>
Save db.xml and load your campaign. You should be able to use /listlanguages and /setlanguage without errors now. But, make sure you use /setlanguage correctly (until I update the extension to stop this issue) otherwise this error may occur again.Code:<language_extension> <id-00001> <fontname type="string">osiriani</fontname> <languagename type="string">egyptian</languagename> </id-00001> </language_extension>
Last edited by Trenloe; March 10th, 2014 at 21:48.
FG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 10th, 2014, 21:44 #65
-
March 17th, 2014, 02:39 #66
This still work for 3.0.3?
I never claimed to be sane. Besides, it's more fun this way.
-
March 17th, 2014, 03:18 #67FG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
March 17th, 2014, 05:00 #68
No, I just naturally remove all extensions when a new update is put out until I hear they are compatible.
I never claimed to be sane. Besides, it's more fun this way.
-
March 24th, 2014, 02:05 #69
I kind of came across some issues with the plugin, lately.
It seems that if I set custom languages, they only seem to work for me, and players who attempt to use the languages just get a bunch of garbled words and numbers. For example, I have two custom languages in my campaign: Kerani, which uses the Druidic Font, and Solean, which uses the Osirian font. Both work when I use them, and players can see the font fine. But if the player uses them, there are no fonts, just a random collection of numbers and letters (eg m2m31ml2kmlebube1u2ej22).
-
March 24th, 2014, 03:46 #70FG Wiki: How to Compile the FG Logs
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


Reply With Quote

Bookmarks