[YSI] Inline + General
#20

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.
PHP Code:
        mysql_format(databasequerysizeof(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!= num_ranksk++)
            {
                
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"temporaryf_RankName[factionID][temporary], GetFactionName(factionID));
            }
        }
        
J::D("Faction \"%s\" (id: %i) loaded | Loading ranks 2.0"FactionInfo[j][fName], j);
        
mysql_pquery_inline(databasequeryusing inline OnRanksLoading"i"j); 
No errors, no warnings, nothing in the logs
Reply


Messages In This Thread
[YSI] Inline + General - by Dayrion - 27.09.2017, 13:22
Re: [YSI] Inline + General - by 10MIN - 27.09.2017, 13:48
Re: [YSI] Inline + General - by Misiur - 27.09.2017, 14:08
Re: [YSI] Inline + General - by Dayrion - 27.09.2017, 14:10
Re: [YSI] Inline + General - by Dayrion - 27.09.2017, 14:42
Re: [YSI] Inline + General - by Misiur - 27.09.2017, 16:04
Re: [YSI] Inline + General - by Dayrion - 27.09.2017, 17:11
Re: [YSI] Inline + General - by Dayrion - 28.09.2017, 16:04
Re: [YSI] Inline + General - by Misiur - 28.09.2017, 17:44
Re: [YSI] Inline + General - by Dayrion - 29.09.2017, 09:59
Re: [YSI] Inline + General - by Misiur - 29.09.2017, 12:13
Re: [YSI] Inline + General - by Dayrion - 29.09.2017, 13:33
Re: [YSI] Inline + General - by Misiur - 29.09.2017, 13:39
Re: [YSI] Inline + General - by Dayrion - 29.09.2017, 18:26
Re: [YSI] Inline + General - by Misiur - 29.09.2017, 21:26
Re: [YSI] Inline + General - by Dayrion - 29.09.2017, 21:51
Re: [YSI] Inline + General - by Dayrion - 30.09.2017, 15:25
Re: [YSI] Inline + General - by Dayrion - 30.09.2017, 17:46
Re: [YSI] Inline + General - by Dayrion - 01.10.2017, 20:01
Re: [YSI] Inline + General - by Dayrion - 03.10.2017, 08:42
Re: [YSI] Inline + General - by Dayrion - 04.10.2017, 12:33
Re: [YSI] Inline + General - by Dayrion - 04.10.2017, 19:17
Re: [YSI] Inline + General - by Dayrion - 20.10.2017, 21:32
Re: [YSI] Inline + General - by Y_Less - 06.11.2017, 21:49
Re: [YSI] Inline + General - by Dayrion - 06.11.2017, 22:29
Re: [YSI] Inline + General - by Y_Less - 06.11.2017, 22:40

Forum Jump:


Users browsing this thread: 2 Guest(s)