Kibor Bot Autoclicker » Kibor - Integrated development environment for bots » About Kibor » Version 5.05 Write data to the specified address.

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

1. Kibor - 24 Июля, 2018 - 03:36:22 - перейти к сообщению
writeaddress - writes data (int, double, string, char) to the specified address.

Syntax
CODE:
char h [512];
int adr=address (#h [27]);
writeaddress (353545, adr);

Will write number 353545 to adr.

CODE:
char h [512];
int adr=address (#h [127]);
writeaddress ('a', adr);

Write a to adr.

It is convenient to use for filling structures.
Filling the structure for transmission as a parameter in GetSaveFileNameA
CODE:
external (VOID, "GetSaveFile", "GetSaveFileNameA", "COMDLG32.DLL");
char b [100];
strcpy (#b [0], "All files of this type ..");

char a [76];
for (int n=0; n <76; n ++) a [n]=0;

writeaddress (76, address (#a [0]));
writeaddress (0, address (#a [4]));
writeaddress (0, address (#a [8]));
writeaddress (address (#b [0]), address (#a [12]));
writeaddress (0, address (#a [16])));
writeaddress (1634928, address (#a [20])));
writeaddress (1000, address (#a [24])));
writeaddress (0, address (#a [28])));
writeaddress (0, address (#a [32])));
writeaddress (0, address (#a [36]));
writeaddress (6148, address (#a [40])));

GetSaveFile (address (#a [0]));

Powered by ExBB FM 1.0 Final