Thread: Mys 1.3.4 Alchemy Mod
View Single Post
  #47  
Old 04-04-2015, 10:55 AM
cailynmae's Avatar
cailynmae cailynmae is offline
Explorer of Imaginea
 
Join Date: Mar 2015
Posts: 17
Gender: Unknown/Other
Credits: 5,579
cailynmae is on a distinguished road
Default

Okay, I did the whole super-manual thing, and it seemed to work. But then I went to the alchemy page, and got this:
Fatal error: Uncaught exception 'LanguageException' with message 'Language var alchemy_title does not exist.' in /home2/luteus/public_html/imaginea.net/caveofcrystals/classes/class_language.php:68 Stack trace: #0 /home2/luteus/public_html/imaginea.net/caveofcrystals/view/inventoryview.php(162): Language->__get('alchemy_title') #1 /home2/luteus/public_html/imaginea.net/caveofcrystals/classes/class_frontcontroller.php(100): InventoryView->alchemy() #2 /home2/luteus/public_html/imaginea.net/caveofcrystals/index.php(74): FrontController->render() #3 /home2/luteus/public_html/imaginea.net/caveofcrystals/index.php(78): IndexController::main() #4 {main} thrown in /home2/luteus/public_html/imaginea.net/caveofcrystals/classes/class_language.php on line 68

I then went in and added this to the bottom of /lang/lang_inventory.php:
Code:
$lang['alchemy_title'] = "Welcome to the Alchemy Service";
$lang['alchemy'] = "Here you can use the powerful alchemy system to merge two of your items to produce a new item, whether brand new or not. 
                    Fill in the form below to start using this service we offer, you may find plenty of surprises!";
$lang['alchemy_choose'] = "To begin with, select the first ingredient item from the list: ";
$lang['alchemy_choose2'] = "Now select the second ingredient item from the list: ";
$lang['alchemy_disabled'] = "Unfortunately the admin has disabled the Alchemy System for this site, you may send him/her a message for more information.";
$lang['alchemy_success'] = "Congratulations!";
$lang['alchemy_newitem'] = "You have successfully produced a new item "; 
$lang['alchemy_newitem2'] = " by using Alchemy, sweet isnt it? You may now manage it in your inventory, or continue to use the alchemy system.";
$lang['alchemy_invalid'] = "The specified item combination is invalid, it does not produce a new item...";
$lang['alchemy_empty'] = "You have not entered two valid items for doing alchemy.";
$lang['alchemy_insufficient'] = "You do not have the necessary items for producing a new item through alchemy.";
$lang['alchemy_chance'] = "The alchemy fails! How unfortunate, maybe you wanna try again with better effort?";
$lang['alchemy_cost'] = "Apparently you do not have enough money to afford the alchemy service, please come back later.";
$lang['alchemy_license'] = "You appear to lack the license required to perform alchemy, please make sure you have the license in your inventory first.";
$lang['alchemy_recipe'] = "It seems that you do not have the recipe to produce an item from the two selected items.";
$lang['alchemy_usergroup'] = "Unfortunately, the admin has specified that only certain users can perform alchemy, you may consult him/her by sending a message.";
There is something missing in the manual install thing, but I found a fix in case someone had this problem. Everything else seems to be working fine, thankfully.
Reply With Quote