Kibor Bot Autoclicker » Kibor - Integrated development environment for bots » About Kibor » Version 3.32 Acceleration of the work of Kibor several times

Страниц (1): [1]
 

1. Kibor - 24 Июля, 2018 - 03:33:47 - перейти к сообщению
Finalization of the engine.
Kibor began to work at least five times faster.
This is especially noticeable on large scripts. The faster the work, the larger the size of the script.
But even such a small cycle
 Цитата:
int t=gettime ();
int u;
for (int y=0; y <10000; y ++)
{
u ++;
}
messagebox (gettime () - t);

runs several times faster than in previous versions ..

Also added manual control of the allocated memory for the broadcast.
If the script is large and Kibor broadcasts the script for a long time, it is possible to avoid this by constantly going into the settings - broadcasting and specifying the required amount in the field (allocating memory at startup) and restarting the Kibor.
Optimal allocation will be when the translation Kibor will not increase the consumed memory. You can see by going to the task manager. When working with small scripts, the forced allocation of memory can be reduced again.
This setting does not affect the assembled exe. In them, memory is allocated automatically the right size.

================================================== =====

Added the function dir
Displays the names of all the folders and / or files in the specified folder.

Output of all folders and files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0]);
for (int n=0; n {
messagebox (s [n]);
}


Output of all folders in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "folder");
for (int n=0; n {
messagebox (s [n]);

}



Output of all files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "file");
for (int n=0; n {
messagebox (s [n]);

}


Output of all .txt files in C
 Цитата:
string s [1000];
int a= dir ("c: \", #s [0], "file", "txt");
for (int n=0; n {
messagebox (s [n]);

}


Returns the number of found objects or -1 if the string array is less than the number of objects found

Powered by ExBB FM 1.0 Final