Cannot Connect SQL Database
Posted: 06 Jan 2021, 03:21
I have successfully connected my new servers database to the Heidisql and updated it today. The problem is that when I attempt to connect the Feudal Tools it says it cannot connect to the database. I have checked everything I can think of and looked in forums here and with my provider. I cannot find a solution to the issue.
Also as second problem. I installed the Trade Post Mod on the server and within my client yet I still cannot use it. I tried another server that had it installed and I was able to use it so I know I at least installed it correctly on my machine. I will attach the correct files for your consideration.
Thanks.
Main.cs:
// Process command line arguments
exec("core/parseArgs.cs");
// Parse the executable arguments with the standard
// function from core/main.cs
defaultParseArgs();
function compileFiles(%pattern)
{
%path = filePath(%pattern);
%saveDSO = $Scripts::OverrideDSOPath;
%saveIgnore = $Scripts::ignoreDSOs;
$Scripts::OverrideDSOPath = %path;
$Scripts::ignoreDSOs = false;
%mainCsFile = "main.cs";//makeFullPath("main.cs");
%localConfigFile = "config_local.cs";
%ddctdConfigFile = "ddctd_config.cs";
for (%file = findFirstFileMultiExpr(%pattern); %file !$= ""; %file = findNextFileMultiExpr(%pattern))
{
// we don't want to try and compile the primary main.cs
if(%mainCsFile !$= %file && %localConfigFile !$= %file && %ddctdConfigFile !$= %file)
compile(%file, true);
}
$Scripts::OverrideDSOPath = %saveDSO;
$Scripts::ignoreDSOs = %saveIgnore;
}
if($compileAll)
{
echo(" --- Compiling all files ---");
compileFiles("*.cs");
compileFiles("*.gui");
compileFiles("*.ts");
echo(" --- Exiting after compile ---");
quit();
}
else
{
exec("scripts/root.cs");
}
exec("TTmod/init.cs");
Most Recent log: https://1drv.ms/u/s!AhIjHStc9l21g-hDeBU ... g?e=dZGco5
Also as second problem. I installed the Trade Post Mod on the server and within my client yet I still cannot use it. I tried another server that had it installed and I was able to use it so I know I at least installed it correctly on my machine. I will attach the correct files for your consideration.
Thanks.
Main.cs:
// Process command line arguments
exec("core/parseArgs.cs");
// Parse the executable arguments with the standard
// function from core/main.cs
defaultParseArgs();
function compileFiles(%pattern)
{
%path = filePath(%pattern);
%saveDSO = $Scripts::OverrideDSOPath;
%saveIgnore = $Scripts::ignoreDSOs;
$Scripts::OverrideDSOPath = %path;
$Scripts::ignoreDSOs = false;
%mainCsFile = "main.cs";//makeFullPath("main.cs");
%localConfigFile = "config_local.cs";
%ddctdConfigFile = "ddctd_config.cs";
for (%file = findFirstFileMultiExpr(%pattern); %file !$= ""; %file = findNextFileMultiExpr(%pattern))
{
// we don't want to try and compile the primary main.cs
if(%mainCsFile !$= %file && %localConfigFile !$= %file && %ddctdConfigFile !$= %file)
compile(%file, true);
}
$Scripts::OverrideDSOPath = %saveDSO;
$Scripts::ignoreDSOs = %saveIgnore;
}
if($compileAll)
{
echo(" --- Compiling all files ---");
compileFiles("*.cs");
compileFiles("*.gui");
compileFiles("*.ts");
echo(" --- Exiting after compile ---");
quit();
}
else
{
exec("scripts/root.cs");
}
exec("TTmod/init.cs");
Most Recent log: https://1drv.ms/u/s!AhIjHStc9l21g-hDeBU ... g?e=dZGco5