03.10.2017, 08:42
10 minuts to 10/20 seconds. What a very nice job you did there.
The last profiling I made without your update, it was without commands because the server freeze or crash when it load YSI.
Now I can and I have to wait only 10/20 seconds. Thanks a lot. Profiling file (the new one): http://www.mediafire.com/file/u3y7f9...e-profile.html
---------------------
I still have a warning which I don't know how to solve:
[10:27:55] *** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
What "memory corruption" means? What should I do?
---------------------
Finally, I have one query inline which doesn't work. It is never called. Other inline callback are called.
No errors, no warnings, nothing in the logs
The last profiling I made without your update, it was without commands because the server freeze or crash when it load YSI.
Now I can and I have to wait only 10/20 seconds. Thanks a lot. Profiling file (the new one): http://www.mediafire.com/file/u3y7f9...e-profile.html
---------------------
I still have a warning which I don't know how to solve:
[10:27:55] *** YSI Warning: y_malloc set up via "CallLocalFunction", memory corruption is a remote possibility
What "memory corruption" means? What should I do?
---------------------
Finally, I have one query inline which doesn't work. It is never called. Other inline callback are called.
PHP Code:
mysql_format(database, query, sizeof(query), "SELECT * FROM `gtrp_factions_ranks` WHERE `FactionSQLID` = %i ORDER BY `gtrp_factions_ranks`.`Rank` ASC", j);
inline OnRanksLoading(factionID)
{
J::D("Inside inline: %s", FactionInfo[j][fName], j);
new temporary,
num_ranks = cache_num_rows();
if(!num_ranks)
{
CreateRanksForFactions(factionID);
return J::D("No ranks loaded for %s. They have been created.", GetFactionName(factionID));
}
for(new k; k != num_ranks; k++)
{
cache_get_value_int(k, "Rank", temporary);
cache_get_value(k, "RankName", f_RankName[factionID][temporary], MAX_FAC_RANK_NAME);
J::D("Rank %i (%s) loaded for %s", temporary, f_RankName[factionID][temporary], GetFactionName(factionID));
}
}
J::D("Faction \"%s\" (id: %i) loaded | Loading ranks 2.0", FactionInfo[j][fName], j);
mysql_pquery_inline(database, query, using inline OnRanksLoading, "i", j);